-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.json
50 lines (47 loc) · 1.37 KB
/
settings.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
// Disable the default formatter, use eslint instead
"prettier.enable": false,
"editor.formatOnSave": false,
// Auto fix
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit",
"source.organizeImports": "never"
},
// Silent the stylistic rules in you IDE, but still auto fix them
// "eslint.rules.customizations": [
// { "rule": "style/*", "severity": "off", "fixable": true },
// { "rule": "format/*", "severity": "off", "fixable": true },
// { "rule": "*-indent", "severity": "off", "fixable": true },
// { "rule": "*-spacing", "severity": "off", "fixable": true },
// { "rule": "*-spaces", "severity": "off", "fixable": true },
// { "rule": "*-order", "severity": "off", "fixable": true },
// { "rule": "*-dangle", "severity": "off", "fixable": true },
// { "rule": "*-newline", "severity": "off", "fixable": true },
// { "rule": "*quotes", "severity": "off", "fixable": true },
// { "rule": "*semi", "severity": "off", "fixable": true }
// ],
// Enable eslint for all supported languages
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
"vue",
"html",
"markdown",
"json",
"jsonc",
"yaml",
"toml",
"xml",
"gql",
"graphql",
"astro",
"svelte",
"css",
"less",
"scss",
"pcss",
"postcss"
]
}