Skip to content

Commit ad055fb

Browse files
authored
Merge branch 'main' into email-newsletter
2 parents 8572c7a + 06f239e commit ad055fb

File tree

3 files changed

+470
-66
lines changed

3 files changed

+470
-66
lines changed

.eslintrc

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"overrides": [
3+
{
4+
"files": [
5+
"*.astro",
6+
"*.ts",
7+
"*.tsx"
8+
],
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",
15+
"parserOptions": {
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+
]
39+
}
40+
]
41+
}

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,7 @@
2727
},
2828
"devDependencies": {
2929
"@tailwindcss/typography": "^0.5.9"
30+
"eslint": "^8.41.0",
31+
"eslint-plugin-astro": "^0.27.0"
3032
}
3133
}

0 commit comments

Comments
 (0)