-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
34 lines (34 loc) · 991 Bytes
/
.eslintrc
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
{
"env": {
"browser": true,
"es2021": true
},
"extends": ["eslint:recommended", "plugin:react/recommended", "plugin:@typescript-eslint/recommended"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 12,
"sourceType": "module"
},
"ignorePatterns": ["node_modules/*", ".next/*", ".out/*"],
"plugins": ["react", "@typescript-eslint"],
"rules": {
"eqeqeq": 1,
"comma-dangle": 0,
"no-console": 0,
"no-debugger": 1,
"no-extra-semi": 2,
"no-extra-parens": 0,
"no-irregular-whitespace": 0,
"no-unused-vars": 1,
"@typescript-eslint/no-unused-vars": 1,
"semi": 0,
"semi-spacing": 1,
"react/prop-types": [2, { "skipUndeclared": true }],
"react/display-name": 2,
"react/jsx-boolean-value": 2,
"react/self-closing-comp": 1
}
}