forked from formatjs/formatjs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
45 lines (42 loc) · 1.04 KB
/
.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
45
{
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
"experimentalObjectRestSpread": true
}
},
"extends": "eslint:recommended",
"env": {
"es6": true,
"node": true,
"browser": true,
"mocha": true
},
"plugins": [
"react"
],
"rules": {
"no-console": 0,
"arrow-parens": [2, "always"],
"comma-dangle": [2, "always-multiline"],
"eqeqeq": 2,
"indent": [2, 4],
"linebreak-style": [2, "unix"],
"prefer-arrow-callback": 2,
"quotes": [2, "single", "avoid-escape"],
"semi": [2, "always"],
"strict": [2, "never"],
"yoda": [2, "never"],
"no-alert": 2,
"no-const-assign": 2,
"no-else-return": 2,
"no-this-before-super": 2,
"no-unexpected-multiline": 2,
"no-var": 2,
"no-warning-comments": 1,
"react/jsx-uses-react": 2,
"react/jsx-uses-vars": 2
}
}