Skip to content

Commit f8f8ac9

Browse files
darrenjenningsmichalsnik
authored andcommitted
docs(readme) fix vscode eslint settings (#487)
1 parent 8ea21c8 commit f8f8ac9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ The `vue-eslint-parser` uses the parser which is set by `parserOptions.parser` t
263263

264264
2. Make sure your tool is set to lint `.vue` files.
265265
- CLI targets only `.js` files by default. You have to specify additional extensions by `--ext` option or glob patterns. E.g. `eslint "src/**/*.{js,vue}"` or `eslint src --ext .vue`.
266-
- VSCode targets only JavaScript or HTML files by default. You have to add `{"autoFix": true, "language": "vue"}` into `eslint.validate` entry.
266+
- VSCode targets only JavaScript or HTML files by default. You have to add `"vue"` to the `"eslint.validate"` array in vscode settings. e.g. `"eslint.validate": [ "javascript", "javascriptreact", "vue" ]`
267267

268268
## :anchor: Semantic Versioning Policy
269269

0 commit comments

Comments
 (0)