Skip to content

Commit 844c445

Browse files
committed
fix: eslint maybe
1 parent 8ab250d commit 844c445

File tree

1 file changed

+14
-13
lines changed

1 file changed

+14
-13
lines changed

.eslintrc

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,22 @@
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",
28
"parserOptions": {
39
"project": "tsconfig.json"
410
},
511
"overrides": [
612
{
7-
"files": ["*.astro"],
8-
"extends": ["plugin:astro/recommended", "plugin:astro/jsx-a11y-strict"]
9-
},
10-
{
11-
"files": ["*.ts", "*.tsx"],
12-
"extends": [
13-
"plugin:@typescript-eslint/recommended-requiring-type-checking"
14-
]
15-
},
16-
{
17-
"files": ["*.mdx"],
18-
"extends": ["plugin:mdx/recommended"]
13+
"files": [
14+
"*.astro"
15+
],
16+
"parser": "astro-eslint-parser",
17+
"parserOptions": {
18+
"parser": "@typescript-eslint/parser"
19+
}
1920
}
2021
]
21-
}
22+
}

0 commit comments

Comments
 (0)