-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
53 lines (47 loc) · 1.58 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
53
{
"extends": ["next/core-web-vitals", "airbnb", "airbnb-typescript", "airbnb/hooks", "prettier"],
"rules": {
"class-methods-use-this": "off",
"@typescript-eslint/naming-convention": "off",
"@typescript-eslint/no-use-before-define": "off",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-undef": "off",
"@typescript-eslint/no-param-reassign": "off",
"@typescript-eslint/no-underscore-dangle": "off",
"@typescript-eslint/no-nested-ternary": "off",
"@typescript-eslint/no-case-declarations": "off",
"no-undef": "off",
"no-unused-vars": "off",
"no-param-reassign": "off",
"no-underscore-dangle": "off",
"no-use-before-define": "off",
"no-nested-ternary": "off",
"no-case-declarations": "off",
"jsx-a11y/heading-has-content": "off",
"react/prop-types": "off",
"react/react-in-jsx-scope": "off",
"react/no-unknown-property": "off",
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx", ".ts", ".tsx"] }],
"react/jsx-props-no-spreading": "off",
"react/require-default-props": "off",
"react/function-component-definition": "off",
"react/no-unstable-nested-components": "off",
"react-hooks/exhaustive-deps": "off",
"import/no-cycle": "off",
"import/prefer-default-export": "off",
"import/no-extraneous-dependencies": "off",
"import/extensions": [
"error",
"ignorePackages",
{
"js": "never",
"jsx": "never",
"ts": "never",
"tsx": "never"
}
]
},
"parserOptions": {
"project": "./tsconfig.json"
}
}