forked from dhis2/settings-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
30 lines (30 loc) · 817 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
{
"extends": [
"airbnb",
"prettier"
],
"env": { "browser": true },
"parser": "babel-eslint",
"rules": {
"complexity": [1, 5],
"import/no-extraneous-dependencies": [
"error", {
"optionalDependencies": false,
"peerDependencies": false
}
],
"no-prototype-builtins": "off",
"no-plusplus": ["error", { "allowForLoopAfterthoughts": true }],
"react/prefer-es6-class": [1, "always"],
"react/jsx-no-bind": [1, {
"ignoreRefs": false,
"allowArrowFunctions": false,
"allowBind": false
}],
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"react/no-unused-prop-types": [2, { "skipShapeProps": true }],
"react/forbid-prop-types": [0],
"react/jsx-indent": 0,
"react/jsx-indent-props": 0
}
}