-
Notifications
You must be signed in to change notification settings - Fork 160
/
.eslintrc
44 lines (44 loc) · 1.08 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
{
"parser": "babel-eslint",
"extends": ["eslint:recommended", "plugin:react/recommended", "airbnb-base"],
"settings": {
"react": {
"pragma": "React",
"version": "16.6.0"
}
},
"parserOptions": {
"ecmaVersion": 9,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"env": {
"browser": true,
"node": true,
"es6": true
},
"rules": {
"comma-dangle": 0,
"global-require": "off",
"prefer-spread": "off",
"no-console": "off",
"no-restricted-syntax": "off",
"no-param-reassign": "off",
"no-plusplus": "off",
"react/prop-types": ["error", { "ignore": ["navigation"] }],
"import/prefer-default-export": "off",
"import/no-extraneous-dependencies": "off",
"no-underscore-dangle": "off",
"no-use-before-define": "off",
"class-methods-use-this": "off",
"import/no-cycle": "off",
"no-nested-ternary": "off",
"consistent-return": "off",
"react/jsx-filename-extension": "off",
"guard-for-in": "off",
"import/no-unresolved": "off",
"no-return-assign": "off"
}
}