-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
52 lines (52 loc) · 1.24 KB
/
.eslintrc.json
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
42
43
44
45
46
47
48
49
50
51
52
{
"env": {
"browser": true,
"es2021": true,
"node": true,
"jest": true
},
"extends": [
"plugin:@next/next/recommended",
"plugin:react/recommended",
"airbnb",
"prettier"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 12,
"sourceType": "module"
},
"plugins": [
"react",
"@typescript-eslint",
"prettier"
],
"rules": {
"prettier/prettier": "error",
"react/prop-types": "off",
"space-before-function-paren": "off",
"vars-on-top":"off",
"func-names":"off",
"no-unused-vars":"off",
"import/extensions":"off",
"import/no-unresolved":"off",
"no-use-before-define":"off",
"react/jsx-filename-extension":"off",
"no-param-reassign":"off",
"import/prefer-default-export":"off",
"no-console":"off",
"camelcase":"off",
"no-shadow":"off",
"no-nested-ternary":"off",
"no-plusplus":"off",
"react/require-default-props":"off",
"react/function-component-definition":"off",
"react/no-unstable-nested-components":"off",
"react/jsx-props-no-spreading":"off",
"react/jsx-no-useless-fragment":"off",
"no-underscore-dangle":"off"
}
}