-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc
More file actions
30 lines (30 loc) · 773 Bytes
/
Copy path.eslintrc
File metadata and controls
30 lines (30 loc) · 773 Bytes
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
{
"parser": "babel-eslint",
"extends": ["airbnb", "plugin:prettier/recommended", "plugin:flowtype/recommended"],
"plugins": ["flowtype"],
"rules": {
"prettier/prettier": "error",
"no-unused-vars": "warn",
"no-console": "off",
"func-names": "off",
"no-process-exit": "off",
"object-shorthand": "off",
"class-methods-use-this": "off",
"no-plusplus": "off",
"jsx-a11y/click-events-have-key-events": "off",
"no-continue": "off",
"no-underscore-dangle": "off",
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }]
},
"env": {
"browser": true
},
"settings": {
"import/resolver": {
"node": {
"paths": ["src"],
"extensions": [".js", ".jsx", ".scss"]
}
}
}
}