-
Notifications
You must be signed in to change notification settings - Fork 71
/
.eslintrc
46 lines (46 loc) · 1003 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
37
38
39
40
41
42
43
44
45
46
{
"extends": ["airbnb", "prettier"],
"rules": {
"react/jsx-filename-extension": 0,
"react/prop-types": 0,
"react/destructuring-assignment": 0,
"react/no-access-state-in-setstate": 0,
"react/jsx-props-no-spreading": 0,
"no-useless-escape": 0,
"no-console": 2,
"prettier/prettier": [
"error",
{
"bracketSpacing": true,
"singleQuote": true,
"trailingComma": "all",
"printWidth": 120
}
]
},
"settings": {
"import/core-modules": [
"@carbon/icons-react",
"carbon-components-react",
"classnames",
"gatsby-link",
"prop-types",
"smooth-scroll",
"slugify"
]
},
"parser": "@babel/eslint-parser",
"parserOptions": {
"requireConfigFile": false,
"babelOptions": {
"presets": ["@babel/preset-react"]
}
},
"env": {
"browser": true,
"node": true,
"jquery": true,
"jest": true
},
"plugins": ["html", "prettier", "react-hooks"]
}