-
Notifications
You must be signed in to change notification settings - Fork 6
/
.eslintrc.json
35 lines (35 loc) · 964 Bytes
/
.eslintrc.json
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
{
"extends": [
"airbnb",
"prettier",
"plugin:prettier/recommended",
"prettier/flowtype",
"prettier/react",
"prettier/standard"
],
"parser": "babel-eslint",
"plugins": ["react-native", "jest", "prettier"],
"env": {
"jest": true
},
"rules": {
"react/jsx-no-bind": "off",
"react/no-string-refs": "off",
"no-underscore-dangle": "off",
"no-unused-vars": ["error", { "argsIgnorePattern": "(state|dispatch)" }],
"new-cap": ["error", { "capIsNewExceptions": ["Immutable"] }],
"import/no-extraneous-dependencies": "off",
"no-console": "off",
"react/jsx-filename-extension": "off",
"global-require": "off",
"no-alert": "off",
"react/forbid-prop-types": "off",
"class-methods-use-this": "off",
"react/no-unused-prop-types": "warn",
"react/prefer-stateless-function": [
"error",
{ "ignorePureComponents": true }
],
"react/require-default-props": "off"
}
}