/
.eslintrc
64 lines (64 loc) · 1.29 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
{
"extends": [
"plugin:instawork/recommended"
],
"plugins": [
"instawork"
],
"rules": {
"instawork/props-no-function": "error",
"import/no-extraneous-dependencies": [
"warn",
{
"devDependencies": [
"**/*.stories.js",
"**/stories/*.js",
"**/*.test.js",
"**/stories.js",
"**/scripts/*",
"**/scripts/*/*",
"**/scripts/*/*/*",
"**/storybook/*",
"**/test",
"**/test/*",
"**/test/**/*"
]
}
],
"import/no-internal-modules": [
"warn",
{
"allow": [
"hyperview/**",
"react-native/Libraries/StyleSheet/StyleSheetTypes"
]
}
],
"max-len": [
"warn",
{
"code": 100
}
],
"import/no-cycle": "off",
"lines-between-class-members": "off",
"no-else-return": "off",
"no-restricted-globals": "off",
"prefer-destructuring": "off",
"react/destructuring-assignment": "off",
"react/jsx-sort-props": "off",
"react/no-access-state-in-setstate": "off",
"sort-keys": "off"
},
"overrides": [
{
"files": [
"**/types.js"
],
"rules": {
"no-use-before-define": "off",
"max-len": "off"
}
}
]
}