generated from MileTwo/nextjs-typescript-material-ui-eslint-jest
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.eslintrc
36 lines (36 loc) · 928 Bytes
/
.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
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"project": "./tsconfig.json",
"ecmaVersion": 2020,
"sourceType": "module"
},
"extends": [
"prettier",
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"next/core-web-vitals"
],
"plugins": ["prettier", "@typescript-eslint"],
"rules": {
"react/react-in-jsx-scope": "off",
// all prettier file errors
"prettier/prettier": "error",
"@typescript-eslint/explicit-module-boundary-types": 0,
"@typescript-eslint/ban-ts-ignore": 0,
"@typescript-eslint/ban-ts-comment": 0,
"no-console": 1
},
"globals": {
"React": "writable"
},
"overrides": [
{
"files": ["*.js"],
"parser": "babel-eslint"
}
]
}