git pull origin master
to ensure to update package.jsonnpm install
to install updates to eslint packages- In VS Code, install the ESLint (dbaeumer.vscode-eslint) extension.
- Open the command palette => Search for:
Preferences: Open Settings(JSON)
=> add the following options inside the settings object:
"eslint.workingDirectories": [
{
"mode": "auto"
}
],
"editor.codeActionsOnSave": {
"source.fixAll.eslint": false
},
"eslint.codeAction.showDocumentation": {
"enable": true
},
- Eslint errors/warnings should now show up in files.
*If you get to a step and something doesn't work, restart VS Code. *If that doesn't work look in the bottom right and click on 'ESLint' to see if it's giving any errors.
eslint: https://eslint.org/docs/rules/ eslint-plugin-vue: https://eslint.vuejs.org/