-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.eslintrc
42 lines (42 loc) · 1 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
{
"env": {
"browser": true,
"node": true,
"es6": true
},
"extends": [
"next/core-web-vitals",
"eslint:recommended",
"plugin:react/recommended",
"plugin:prettier/recommended", // disables conflicting rules (eslint vs prettier) and sets up eslint-plugin-prettier
"plugin:react/jsx-runtime"
],
"plugins": ["react"],
"rules": {
"react/prop-types": "off",
"prettier/prettier": [
"error",
{
"singleQuote": true,
"semi": true,
"endOfLine": "auto"
}
],
"spaced-comment": ["error", "always"],
"import/prefer-default-export": "off",
"react/function-component-definition": "off",
"react/jsx-filename-extension": "off",
// "react/prop-types": "off",
"import/no-unresolved": "off",
"import/extensions": [
"error",
"never",
{
"scss": "always"
}
],
"import/no-extraneous-dependencies": "off",
"no-underscore-dangle": "off",
"react/self-closing-comp": ["error"]
}
}