mirror of
https://github.com/netbymatt/ws4kp.git
synced 2026-04-14 07:39:29 -07:00
Update VS Code settings
- "eslint.validate": [ "javascript" ] is no longer needed
(Modern versions of the ESLint VS Code extensions
automatically validate JavaScript files by default.)
- Configure editor to use tabs instead of spaces per ESLint rules
- Switch to VS Code's built-in HTML formatter
- Add EJS file associations for proper syntax highlighting
- Add recommended extensions for development workflow
This commit is contained in:
@@ -56,17 +56,29 @@
|
||||
"**/vendor/auto/**",
|
||||
],
|
||||
"editor.tabSize": 2,
|
||||
"editor.insertSpaces": false, // .eslintrc wants tabs instead of spaces
|
||||
"emmet.includeLanguages": {
|
||||
"ejs": "html",
|
||||
},
|
||||
"[html]": {
|
||||
"editor.defaultFormatter": "j69.ejs-beautify"
|
||||
// Use built-in VS Code HTML formatter instead of third-party EJS extension
|
||||
"editor.defaultFormatter": "vscode.html-language-features"
|
||||
},
|
||||
"files.exclude": {},
|
||||
"files.eol": "\n",
|
||||
"files.associations": {
|
||||
"*.ejs": "ejs"
|
||||
},
|
||||
"editor.formatOnSave": true,
|
||||
"editor.codeActionsOnSave": {
|
||||
"source.fixAll.eslint": "explicit"
|
||||
},
|
||||
}
|
||||
},
|
||||
}
|
||||
"extensions": {
|
||||
"recommendations": [
|
||||
"digitalbrainstem.javascript-ejs-support", // EJS (Embedded JavaScript) template language support
|
||||
"dbaeumer.vscode-eslint", // ESLint JavaScript linting integration
|
||||
"streetsidesoftware.code-spell-checker",
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user