forked from keybase/client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
32 lines (32 loc) · 936 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
{
"env": {
"es6": true
},
"parser": "babel-eslint",
"extends": ["standard", "standard-react"],
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"globals": {
"__DEV__": false
},
"plugins": [
"flow-vars", "mocha", "filenames"
],
"rules": {
"flow-vars/define-flow-type": 1,
"flow-vars/use-flow-type": 1,
"standard/object-curly-even-spacing": [2, "never"],
"standard/array-bracket-even-spacing": [2, "never"],
"standard/computed-property-even-spacing": [2, "never"],
"strict": [2, "global"],
"arrow-parens": [2, "as-needed"],
"react/jsx-no-bind": [2, {"allowArrowFunctions": true}],
"react/prop-types": [0],
"filenames/filenames": [2, "^[0-9a-z-.]+(\\.desktop|\\.native|\\.ios|\\.android)?$"]
}
}