在vscode中配置eslint
ESLint最初是由Nicholas C. Zakas 于2013年6月创建的开源项目。它的目标是提供一个插件化的javascript代码检测工具。

"eslint.validate": [
"javascript",
"javascriptreact",
"html",
{
"language": "vue",
"autoFix": true
},
],
"eslint.autoFixOnSave": true,
"eslint.options": {
"extensions": [
".js",
".vue",
".jsx"
],
"plugins": [
"html"
]
},
"editor.tabSize": 2
国外资料eslint
- 配置
- 命令行
- 规则
- formatters
- 集成
- Auto Close Tag
- Auto Rename Tag
- Beautify css/sass/scss/less
- Bracket Pair Colorizer
- Brackets Light Pro
- Debugger for Chrome
- Document This
- ESLint
- File Peek
- filesize
- GitLens
- HTML CSS Support
- HTML Snippets
- htmlhint
- JetBrains IDE Keymap
- jQuery Code Snippets
- JS JSX Snippets
- language-stylus
- Npm Intellisense
- Path Intellisense
- Project Manager
- React Native Snippet
- stylus
- Turbo Console Log
- Vetur
- vscode-fileheader
- vscode-icons
- Vue VSCode Snippets
- VueHelper
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。