forked from Hendrixer/production-grade-nextjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
46 lines (46 loc) · 1.5 KB
/
.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
35
36
37
38
39
40
41
42
43
44
45
46
{
"parser": "@typescript-eslint/parser",
"plugins": [
"import",
"jest"
],
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".jsx", ".ts", ".tsx"]
}
}
},
"rules": {
"semi": "off",
"react/jsx-filename-extension": "off",
"react/jsx-props-no-spreading": "off",
"react/destructuring-assignment": "off",
"react/forbid-prop-types": "off",
"react/prop-types": "off",
"react/no-unused-prop-types": "warn",
"import/extensions": "off",
"import/no-unresolved": "error",
"no-underscore-dangle": "off",
"import/prefer-default-export": "off",
"consistent-return": "off",
"no-param-reassign": "off",
"radix": "off",
"no-use-before-define": "off",
"react/prefer-stateless-function": "off",
"no-unused-vars": "warn",
"unicorn/no-null": "off",
// Place to specify ESLint rules. Can be used to overwrite rules specified from the extended configs
// e.g. "@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/camelcase": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-empty-function": "off",
"jsx-a11y/click-events-have-key-events": "off",
"jsx-a11y/no-static-element-interactions": "off",
"jsx-a11y/html-has-lang": "off",
"jsx-a11y/anchor-is-valid": "off"
}
}