Skip to content

Commit 6900d67

Browse files
committed
current versions of the VSCode plugin now default to enabling autofix
1 parent efacf5c commit 6900d67

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

INTEGRATIONS.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,22 +12,19 @@ Unless you're using `.html` for your Svelte components, you'll need to configure
1212
}
1313
```
1414

15-
Then, you'll need to tell the ESLint extension to also lint files with language `html` and to enable autofixing where possible. If you haven't adjusted the `eslint.validate` setting, it defaults to `[ "javascript", "javascriptreact" ]`, so put this in your `settings.json`:
15+
Then, you'll need to tell the ESLint extension to also lint files with language `html`. If you haven't adjusted the `eslint.validate` setting, it defaults to `[ "javascript", "javascriptreact" ]`, so put this in your `settings.json`:
1616

1717
```json
1818
{
1919
"eslint.validate": [
2020
"javascript",
2121
"javascriptreact",
22-
{
23-
"language": "html",
24-
"autoFix": true
25-
}
22+
"html"
2623
]
2724
}
2825
```
2926

30-
If you are using an extension that provides Svelte syntax highlighting, don't associate `*.svelte` files with the `html` language, and instead enable the ESLint extension on `"language": "svelte"`.
27+
If you are using an extension that provides Svelte syntax highlighting, don't associate `*.svelte` files with the `html` language, and instead enable the ESLint extension on `"svelte"`.
3128

3229
Reload VS Code and give it a go!
3330

0 commit comments

Comments
 (0)