Skip to content

Commit 436f3f1

Browse files
committed
chore: Update ESLint runtime setting
1 parent 34266e9 commit 436f3f1

File tree

1 file changed

+21
-11
lines changed

1 file changed

+21
-11
lines changed

.vscode/settings.json

Lines changed: 21 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
// Enable the ESlint flat config support
3-
"eslint.experimental.useFlatConfig": true,
2+
// For VS Code ESLint works
3+
"eslint.runtime": "node",
44

55
// Disable the default formatter, use eslint instead
66
"prettier.enable": false,
@@ -12,13 +12,6 @@
1212
"source.organizeImports": "never"
1313
},
1414

15-
// Disable the MD033 rule
16-
"markdownlint.config": {
17-
"default": true,
18-
"MD033": false,
19-
"MD041": false
20-
},
21-
2215
// Silent the stylistic rules in you IDE, but still auto fix them
2316
"eslint.rules.customizations": [
2417
{ "rule": "style/*", "severity": "off" },
@@ -43,7 +36,17 @@
4336
"markdown",
4437
"json",
4538
"jsonc",
46-
"yaml"
39+
"yaml",
40+
"toml",
41+
"xml",
42+
"gql",
43+
"graphql",
44+
"astro",
45+
"css",
46+
"less",
47+
"scss",
48+
"pcss",
49+
"postcss"
4750
],
4851

4952
// Specify the UI library you need to prompt
@@ -58,5 +61,12 @@
5861
"i18n-ally.localesPaths": [
5962
"src/locales"
6063
],
61-
"i18n-ally.keystyle": "nested"
64+
"i18n-ally.keystyle": "nested",
65+
66+
// Markdownlint rules
67+
"markdownlint.config": {
68+
"default": true,
69+
"MD033": false,
70+
"MD041": false
71+
}
6272
}

0 commit comments

Comments
 (0)