forked from ShadowAya/anchor-card
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.yml
41 lines (41 loc) · 959 Bytes
/
.eslintrc.yml
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
env:
browser: true
es2021: true
extends:
- plugin:react/recommended
- airbnb
- plugin:import/errors
- plugin:import/warnings
- plugin:import/typescript
parser: "@typescript-eslint/parser"
parserOptions:
ecmaFeatures:
jsx: true
ecmaVersion: latest
sourceType: module
plugins:
- react
- "@typescript-eslint"
rules:
{
"react/jsx-filename-extension":
[1, { "extensions": [".js", ".jsx", ".ts", ".tsx"] }],
"react/react-in-jsx-scope": 0,
"no-use-before-define": 0,
"react/function-component-definition": 0,
"react/no-unescaped-entities": 0,
"import/extensions": 0,
}
ignorePatterns:
- "dist/**/*"
- "node_modules/**/*"
settings:
{
"import/extensions": [".js", ".jsx", ".ts", ".tsx"],
"import/parsers": { "@typescript-eslint/parser": [".ts", ".tsx"] },
"import/resolver":
{
"typescript": {},
"node": { "extensions": [".js", ".jsx", ".ts", ".tsx"] },
},
}