forked from jplayer/react-jPlayer
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc
45 lines (45 loc) · 896 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
44
45
{
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
"modules": true
}
},
"env": {
"browser": true,
"node": true,
"mocha": true,
"es6": true
},
"extends": "airbnb",
"plugins": [
"react"
],
"rules": {
"react/destructuring-assignment": 0,
"react/button-has-type": 0,
"react/jsx-props-no-spreading": 1,
"max-len": 1,
"no-restricted-globals": 1,
"jsx-a11y/click-events-have-key-events": 0,
"jsx-a11y/control-has-associated-label": 0
},
"overrides": [
{
"files": [
"**/*.spec.*{js,jsx}"
],
"rules": {
"react/prop-types": "off",
"no-underscore-dangle": "off",
"react/prefer-stateless-function": [
1,
{ "ignorePureComponents": true }
]
}
}
]
}