forked from adobe/reactor-adobe-va-sample-player
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
63 lines (63 loc) · 1.69 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"plugins" : [
"import"
],
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
"experimentalObjectRestSpread": true
}
},
"extends": "airbnb",
"rules": {
"camelcase": [2, {"properties": "always"}],
"semi": [2, "always"],
"keyword-spacing": [2],
"space-before-function-paren": [2, "never"],
"space-before-blocks": [2, "always"],
"space-infix-ops": [2, {"int32Hint": false}],
"quotes": [1, "single", "avoid-escape"],
"max-len": [2, 130, 4, {"ignoreUrls": true, "ignorePattern": "^(\\s*(var|let|const)\\s.+=\\s*require\\s*\\()|(^\\s*import)"}],
"comma-dangle": ["error", "never"],
"eqeqeq": [2, "allow-null"],
"strict": [2, "global"],
"no-nested-ternary": [2],
"no-underscore-dangle": 0,
"class-methods-use-this": [0],
"no-unused-vars" : 2,
"no-undef" : 2,
"no-fallthrough" : 2,
"comma-style": [2],
"one-var": [2, "never"],
"brace-style": [2, "1tbs", { "allowSingleLine": true }],
"consistent-this": [0, "self"],
"spaced-comment": 0,
"import/no-unresolved" : 2,
"arrow-body-style": ["error", "as-needed"],
"no-script-url": 0,
"no-param-reassign": 0,
"default-case": 0,
"import/no-extraneous-dependencies": 0,
"import/no-named-as-default": 0,
"jsx-a11y/label-has-for": 0,
"no-plusplus": 0,
"prefer-const": ["error", {
"destructuring": "all"
}],
"react/prop-types": 0,
"react/jsx-no-bind": 0,
"react/jsx-curly-spacing": [2, "always"]
},
"env": {
"es6": true,
"jasmine": true
},
"globals": {
"turbine" : true,
"window" : true,
"document": true
}
}