forked from photon-sdk/photon-lib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
44 lines (44 loc) · 928 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
38
39
40
41
42
43
44
{
"parser": "babel-eslint",
"plugins": [
"react-native", // for no-inline-styles rule
],
"extends": [
"standard",
"standard-react",
"plugin:react-hooks/recommended",
// "@react-native-community",
"plugin:prettier/recommended",
"prettier/react",
"prettier/standard",
],
"rules": {
"react/jsx-handler-names": "off", // activated by standard-react config
"react-native/no-inline-styles": "error",
"prettier/prettier": [
"warn",
{
"singleQuote": true,
"printWidth": 140,
"trailingComma": "all",
"arrowParens": "avoid"
}
]
},
"env":{
"es6": true
},
"ignorePatterns": ["src/bip38"],
"globals": {
"fetch": false,
"jest": true,
"jasmine": true,
"describe": true,
"it": true,
"beforeAll": true,
"afterAll": true,
"beforeEach": true,
"afterEach": true,
"expect": true
}
}