Vscode ESLint rule format is fixed automatically
1. Open vsCode extension Settings (file — Preferences — Settings)
"Eslint. AutoFixOnSave ": true, // Auto-fix when saved to true, default only supports.js files "editor.codeActionsOnSave": {" source.fixall.eslint ": "Source-fixall. stylelint": true // Verifies HTML with stylelint}Copy the code