forked from MohGovIL/hamagen-react-native
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
executable file
·54 lines (54 loc) · 1.51 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
{
"extends": "airbnb",
"parser": "babel-eslint",
"rules": {
"react/jsx-filename-extension": ["error", { "extensions": [".js", ".jsx", ".ts", ".tsx"] }],
"comma-dangle": 0,
"prefer-default-export": 0,
"import/prefer-default-export": 0,
"react/prop-types": 0,
"no-use-before-define": 0,
"arrow-body-style": 0,
"global-require": 0,
"no-trailing-spaces": 0,
"no-unused-expressions": 0,
"max-len": 0,
"class-methods-use-this": 0,
"no-underscore-dangle": 0,
"no-extraneous-dependencies": 0,
"no-shadow": 0,
"react/no-array-index-key": 0,
"react/forbid-prop-types": 0,
"no-useless-escape": 0,
"no-confusing-arrow": 0,
"import/no-named-as-default": 0,
"import/no-named-as-default-member": 0,
"no-plusplus": 0,
"no-nested-ternary": 0,
"array-callback-return": 0,
"no-param-reassign": 0,
"consistent-return": 0,
"eqeqeq": 0,
"newline-per-chained-call": 0,
"object-curly-newline": 0,
"camelcase": 0,
"react/sort-comp": 0,
"react/no-did-update-set-state": 0,
"react-hooks/rules-of-hooks": "error",
"import/no-mutable-exports": "warn",
"no-useless-rename": "warn",
"no-bitwise": 0,
"prefer-promise-reject-errors": "warn",
"no-restricted-globals": "warn"
},
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".jsx",".android.js", ".ios.js", ".ts", ".tsx", ".png", ".gif", ".json", ".native.js", ".d.ts"]
}
}
},
"plugins": [
"react-hooks"
]
}