forked from hrsetyono/edje-wp-library
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
45 lines (45 loc) · 943 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
{
"root": true,
"env": {
"node": true,
"browser": true,
"es6": true
},
"extends": [
"airbnb"
],
"parserOptions": {
"parser": "babel-eslint"
},
"plugins": [],
"rules": {
"max-len": 0,
"linebreak-style": 0,
"no-alert": "off",
"no-param-reassign": [2, { "props": false }],
"prefer-destructuring": [
"error",
{
"VariableDeclarator": {
"array": false,
"object": true
},
"AssignmentExpression": {
"array": false,
"object": false
}
},
{
"enforceForRenamedProperties": false
}
],
"arrow-body-style": 0,
"react/react-in-jsx-scope": 0,
"react/jsx-props-no-spreading": 0,
"react/prop-types": 0,
"react/destructuring-assignment": 0,
"jsx-a11y/click-events-have-key-events": 0,
"jsx-a11y/no-static-element-interactions": 0,
"jsx-a11y/alt-text": 0
}
}