forked from mikollo/react-native-technical-test
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
31 lines (31 loc) · 823 Bytes
/
.eslintrc.json
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
{
"parser": "babel-eslint",
"extends": ["airbnb", "prettier"],
"plugins": ["react", "react-native", "prettier"],
"rules": {
"react/jsx-filename-extension": [
1, { "extensions": [".js", ".jsx"] }
],
"react/prefer-stateless-function": [
2, { "ignorePureComponents": true }
],
"react/forbid-prop-types": [0, { "forbid": [] }],
"react/jsx-one-expression-per-line": 0,
"react/prop-types": 1,
"react/no-multi-comp": 0,
"react/destructuring-assignment": 0,
"import/extensions": [1, "never", { "svg": "always" }],
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": true,
"optionalDependencies": false,
"peerDependencies": false
}
],
"semi": ["error", "never"]
},
"env": {
"jest": true
}
}