-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.json
55 lines (55 loc) · 1.89 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
54
55
// See https://github.com/torchbox/eslint-config-torchbox for rules.
{
"extends": ["torchbox/typescript", "next/core-web-vitals"],
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"jest": true,
"node": true
},
"rules": {
"@typescript-eslint/no-explicit-any": "off",
"no-underscore-dangle": [2, { "allow": ["__typename"] }],
// "@next/next/no-img-element": "off",
// "@next/next/google-font-display": "off",
// "@next/next/google-font-preconnect": "off",
// "@next/next/no-page-custom-font": "off",
"@typescript-eslint/ban-types": "off",
"@typescript-eslint/no-redeclare": "off",
"@typescript-eslint/no-shadow": "off",
"@typescript-eslint/no-var-requires": "off",
"arrow-body-style": "off",
"consistent-return": "off",
"default-case": "off",
"import/no-named-as-default": "off",
"jsx-a11y/anchor-is-valid": "off",
"jsx-a11y/click-events-have-key-events": "off",
"jsx-a11y/label-has-associated-control": "off",
"jsx-a11y/no-static-element-interactions": "off",
"no-lonely-if": "off",
"no-nested-ternary": "off",
"no-param-reassign": "off",
"no-promise-executor-return": "off",
"no-prototype-builtins": "off",
"no-restricted-exports": "off",
"no-restricted-syntax": "off",
"no-return-await": "off",
"no-warning-comments": "off",
"object-shorthand": "off",
"prefer-arrow-callback": "off",
"prefer-const": "off",
"prefer-destructuring": "off",
"prefer-template": "off",
"react/button-has-type": "off",
"react/destructuring-assignment": "off",
"react/jsx-curly-brace-presence": "off",
"react/jsx-no-useless-fragment": "off",
"react/jsx-props-no-spreading": "off",
"react/no-array-index-key": "off",
"react/no-danger": "off",
"react/no-unused-prop-types": "off",
"react/require-default-props": "off",
"react/self-closing-comp": "off"
}
}