ESLint Rules
"lint": "eslint .", // Lint project
"lint:fix": "eslint . --fix" // Lint project and fix auto-fixable issues{
// Auto-fix problems on file save
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
// Make sure it's looking at the correct directory
"eslint.workingDirectories": ["./templates"],
}Last updated
Was this helpful?

