forked from Agontuk/react-native-geolocation-service
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
26 lines (26 loc) · 765 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
{
"extends": ["airbnb"],
"parser": "babel-eslint",
"plugins": ["react"],
"rules": {
"comma-dangle": ["error", "never"],
"import/no-extraneous-dependencies": "off",
"indent": ["error", 4, {
"VariableDeclarator": {
"var": 2,
"let": 2,
"const": 2
},
"SwitchCase": 1
}],
"jsx-a11y/href-no-hash": "off",
"jsx-quotes": ["error", "prefer-single"],
"no-use-before-define": "off",
"react/jsx-indent": ["error", 4],
"react/jsx-indent-props": ["error", 4],
"react/jsx-filename-extension": ["error", {
"extensions": [".js", ".jsx"]
}],
"react/sort-comp": "off"
}
}