-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.json
More file actions
46 lines (46 loc) · 1.22 KB
/
.eslintrc.json
File metadata and controls
46 lines (46 loc) · 1.22 KB
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
{
"env": {
"browser": true,
"es2020": true
},
"plugins": ["@typescript-eslint", "jsx-a11y"],
"extends": ["plugin:@next/next/recommended", "plugin:jsx-a11y/recommended", "plugin:react-hooks/recommended"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 11,
"sourceType": "module"
},
"ignores": ["assets/**", "node_modules/**", "out/**", ".next/**"],
"rules": {
"arrow-body-style": ["off"],
"camelcase": ["off"],
"class-methods-use-this": ["off"],
"implicit-arrow-linebreak": ["off"],
"import/extensions": ["off"],
"import/prefer-default-export": ["off"],
"indent": ["off"],
"max-classes-per-file": ["off"],
"no-inner-declarations": ["off"],
"no-underscore-dangle": ["off"],
"no-confusing-arrow": ["off"],
"no-use-before-define": ["off"],
"object-curly-newline": ["off"],
"operator-linebreak": ["off"],
"@next/next/no-img-element": ["off"]
},
"overrides": [
{
"files": ["*.ts", "*.tsx"],
"rules": {
"@typescript-eslint/no-unused-vars": [2, { "args": "none" }]
}
}
],
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".jsx", ".ts", ".tsx"]
}
}
}
}