forked from Popmotion/popmotion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
43 lines (43 loc) · 790 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
33
34
35
36
37
38
39
40
41
42
43
{
"rules": {
"strict": 0,
"indent": [2, 2],
"quotes": [2, "single"],
"linebreak-style": [2, "unix"],
"semi": [2, "always"],
"no-unused-vars": [2, { "ignoreRestSiblings": true }],
"react/jsx-uses-react": 1,
"react/jsx-uses-vars": 1
},
"ecmaFeatures": {
"restParams": true,
"destructuring": true,
"modules": true,
"jsx": true
},
"env": {
"es6": true,
"browser": true,
"node": true,
"jest": true
},
"parser": "babel-eslint",
"extends": "eslint:recommended",
"plugins": [
"jsx-a11y",
"react",
"import",
"jasmine",
"flowtype"
],
"SublimeLinter": {
"linters": {
"eslint": {
"chdir": [
"${project}/site",
"${project}/src",
]
}
}
}
}