在vscode中配置eslint
ESLint最初是由Nicholas C. Zakas 於2013年6月建立的開源項目。它的目標是提供一個插件化的javascript代碼檢測工具。
![clipboard.png clipboard.png](http://static.javashuo.com/static/loading.gif)
"eslint.validate": [
"javascript",
"javascriptreact",
"html",
{
"language": "vue",
"autoFix": true
},
],
"eslint.autoFixOnSave": true,
"eslint.options": {
"extensions": [
".js",
".vue",
".jsx"
],
"plugins": [
"html"
]
},
"editor.tabSize": 2
國外資料eslintjavascript
- 配置
- 命令行
- 規則
- 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