Skip to content

Commit 06f239e

Browse files
committed
fix: eslint again
1 parent 844c445 commit 06f239e

File tree

1 file changed

+32
-13
lines changed

1 file changed

+32
-13
lines changed

.eslintrc

Lines changed: 32 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,41 @@
11
{
2-
"extends": [
3-
"plugin:astro/recommended",
4-
"plugin:astro/jsx-a11y-strict",
5-
"plugin:@typescript-eslint/recommended-requiring-type-checking"
6-
],
7-
"parser": "@typescript-eslint/parser",
8-
"parserOptions": {
9-
"project": "tsconfig.json"
10-
},
112
"overrides": [
123
{
134
"files": [
14-
"*.astro"
5+
"*.astro",
6+
"*.ts",
7+
"*.tsx"
158
],
16-
"parser": "astro-eslint-parser",
9+
"extends": [
10+
"plugin:astro/recommended",
11+
"plugin:astro/jsx-a11y-strict",
12+
"plugin:@typescript-eslint/recommended-requiring-type-checking"
13+
],
14+
"parser": "@typescript-eslint/parser",
1715
"parserOptions": {
18-
"parser": "@typescript-eslint/parser"
19-
}
16+
"project": "tsconfig.json"
17+
},
18+
"rules": {},
19+
"overrides": [
20+
{
21+
"files": [
22+
"*.astro"
23+
],
24+
"parser": "astro-eslint-parser",
25+
"parserOptions": {
26+
"parser": "@typescript-eslint/parser"
27+
}
28+
}
29+
]
30+
},
31+
{
32+
"files": [
33+
"*.md",
34+
"*.mdx"
35+
],
36+
"extends": [
37+
"plugin:mdx/recommended"
38+
]
2039
}
2140
]
2241
}

0 commit comments

Comments
 (0)