-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
56 lines (56 loc) · 1.54 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
47
48
49
50
51
52
53
54
55
56
{
"extends": [
"eslint-config-airbnb"
],
"env": {
"browser": true,
"node": true,
"jest": true,
"es2020": true
},
"parserOptions": {
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"rules": {
"indent": ["error", 2],
"quotes": ["error", "single"],
"semi": ["error", "never"],
"max-len": 0,
"max-lines-per-function": 0,
"space-before-function-paren": ["error", {
"anonymous": "never",
"named": "never",
"asyncArrow": "always"
}],
"function-call-argument-newline": 0,
"prefer-const": "off",
"spaced-comment": "off",
"padded-blocks": 0,
"import/no-mutable-exports": "off",
"object-curly-spacing": ["error", "always"],
"one-var": ["error", "never"],
"quote-props": 0,
"react/jsx-indent": [2, 2],
"react/jsx-indent-props": [2, 2],
"react/jsx-filename-extension": 0,
"react/react-in-jsx-scope": 0,
"react/jsx-no-literals": 0,
"react/jsx-one-expression-per-line": 0,
"react/jsx-max-depth": 0,
"react/prop-types": "off",
"react/jsx-props-no-spreading": "off"
},
"ignorePatterns": ["node_modules/", ".next/"],
"settings": {
"import/resolver": {
"alias": [
["pages", "./pages"],
["components", "./components"],
["styles", "./styles"]
]
}
}
}