forked from adsabs/bumblebee
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.json
56 lines (56 loc) · 1.3 KB
/
.eslintrc.json
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
{
"extends": ["airbnb", "plugin:prettier/recommended", "prettier/react"],
"env": {
"browser": true,
"amd": true,
"es6": false,
"commonjs": false,
"jquery": true,
"mocha": true
},
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"sourceType": "module"
},
"plugins": ["requirejs", "prettier"],
"globals": {
"sinon": true,
"expect": true,
"normalizeSpace": true,
"_": true,
"d3": true,
"Backbone": true,
"grecaptcha": true,
"onRecaptchaLoad": true,
"assert": true,
"R": true
},
"rules": {
"import/no-amd": "off",
"vars-on-top": "off",
"no-var": "off",
"prefer-arrow-callback": "off",
"no-param-reassign": "off",
"function-paren-newline": "off",
"comma-dangle": "off",
"func-names": "off",
"padded-blocks": "off",
"object-shorthand": "off",
"no-shadow": "off",
"prefer-rest-params": "off",
"no-underscore-dangle": "off",
"prefer-template": "off",
"prefer-spread": "off",
"consistent-return": "warn",
"prefer-destructuring": "off",
"no-global-assign": "error",
"indent": "off",
"space-before-blocks": "off",
"quote-props": "off",
"react/jsx-filename-extension": "off",
"no-script-url": "off",
"jsx-a11y/anchor-is-valid": "off"
}
}