forked from wonday/react-native-pdf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
35 lines (35 loc) · 911 Bytes
/
.eslintrc.js
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
module.exports = {
extends: ["standard", "prettier", "plugin:react/recommended"],
parser: "@typescript-eslint/parser",
env: {
"mocha": true,
"node": true,
"jest/globals": true
},
plugins: ["sql", "jest", "react"],
rules: {
"no-unexpected-multiline": ["warn"],
"max-len": ["error", { "code": 650 }],
"no-set-state": "off",
"react/prop-types": 0,
"no-unused-expressions": 0,
"no-return-assign": 0,
"new-cap": 0,
"dot-notation": 0,
"no-unused-vars": 2
},
globals: {
"isAndroid": "readonly",
"isIos": "readonly",
"isDev": "readonly",
"usePalette": "readonly",
"useTheme": "readonly",
"__DEV__": "readonly",
"isTablet": "readonly"
},
settings: {
"import/resolver": {
"babel-module": {}
}
}
}