|
1 | 1 | { |
2 | | - // Enable the ESlint flat config support |
3 | | - "eslint.experimental.useFlatConfig": true, |
4 | | - "eslint.runtime": null, |
5 | | - |
6 | | - // Disable the default formatter, use eslint instead |
7 | | - "prettier.enable": false, |
8 | | - "editor.formatOnSave": false, |
9 | | - |
10 | | - // Auto fix |
11 | | - "editor.codeActionsOnSave": { |
12 | | - "source.fixAll": "explicit", |
13 | | - "source.organizeImports": "never" |
14 | | - }, |
15 | | - |
16 | | - // Silent the stylistic rules in you IDE, but still auto fix them |
17 | | - "eslint.rules.customizations": [ |
18 | | - { "rule": "style/*", "severity": "off" }, |
19 | | - { "rule": "*-indent", "severity": "off" }, |
20 | | - { "rule": "*-spacing", "severity": "off" }, |
21 | | - { "rule": "*-spaces", "severity": "off" }, |
22 | | - { "rule": "*-order", "severity": "off" }, |
23 | | - { "rule": "*-dangle", "severity": "off" }, |
24 | | - { "rule": "*-newline", "severity": "off" }, |
25 | | - { "rule": "*quotes", "severity": "off" }, |
26 | | - { "rule": "*semi", "severity": "off" } |
27 | | - ], |
28 | | - |
29 | | - // Enable eslint for all supported languages |
30 | | - "eslint.validate": [ |
31 | | - "javascript", |
32 | | - "javascriptreact", |
33 | | - "typescript", |
34 | | - "typescriptreact", |
35 | | - "vue", |
36 | | - "html", |
37 | | - "markdown", |
38 | | - "json", |
39 | | - "jsonc", |
40 | | - "yaml" |
41 | | - ] |
| 2 | + "eslint.experimental.useFlatConfig": true |
42 | 3 | } |
0 commit comments