forked from wix/react-native-ui-lib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
37 lines (37 loc) · 988 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
{
"parser": "babel-eslint",
"plugins": ["react-native", "uilib"],
"extends": ["airbnb"],
"rules": {
"arrow-body-style": "off",
"class-methods-use-this": "off",
"consistent-return": "off",
"global-require": "off",
"import/prefer-default-export": "off",
"no-nested-ternary": "off",
"no-plusplus": "off",
"no-return-assign": "off",
"no-use-before-define": "off",
"max-len": [2, 120, 4, {"ignoreUrls": true}],
"object-curly-spacing": "off",
"react/forbid-prop-types": "off",
"react/jsx-filename-extension": "off",
"react/jsx-space-before-closing": "off",
"react/jsx-tag-spacing": "off",
"react/prefer-stateless-function": "off",
"react/require-default-props": "off",
"uilib/no-hard-coded-font": "warn"
},
"env": {
"browser": true,
"node": true,
"jest": true
},
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".ios.js", ".android.js"]
}
}
}
}