-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy path.eslintrc.js
69 lines (69 loc) · 1.57 KB
/
.eslintrc.js
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
64
65
66
67
68
69
module.exports = {
env: {
browser: true,
node: true,
jasmine: true,
jquery: true,
qunit: true
},
extends: "airbnb",
parserOptions: {
ecmaVersion: 2017
},
rules: {
"new-cap": "off",
"no-undef": "off",
"import/no-unresolved": "off",
"prefer-reset-params": "off",
"no-multiple-empty-lines": "off",
"no-underscore-dangle": "off",
"max-len": "off",
"prefer-arrow-callback": "off",
"no-var": "off",
"quotes": "off",
"indent": 0,
"import/first": "off",
"no-trailing-spaces": "off",
"one-var": "off",
"no-shadow": "off",
"comma-dangle": "off",
"wrap-iife": "off",
"no-console": "off",
"prefer-rest-params": "off",
"arrow-body-style": "off",
"no-prototype-builtins": "off",
"no-param-reassign": "off",
"import/newline-after-import": "warn",
"no-plusplus": "warn",
"spaced-comment": "warn",
"class-methods-use-this": "warn",
"strict": "warn",
"no-unused-vars": "warn",
"operator-assignment": "warn",
"semi-spacing": "warn",
"space-infix-ops": "warn",
"no-nested-ternary": "warn",
"no-nested-ternary": "warn",
"import/no-webpack-loader-syntax": "warn",
"lines-around-directive": "warn",
"prefer-template": "warn",
"import/no-mutable-exports": "warn",
"import/extensions": ["warn", "never", {
"js": "never",
"json": "always",
}],
"import/no-extraneous-dependencies": [
"error", {"devDependencies": true}
],
},
plugins: [
"eslint-plugin-done-component",
"eslint-plugin-html",
"eslint-plugin-import",
"eslint-plugin-jsx-a11y",
"eslint-plugin-promise",
"eslint-plugin-react"
],
settings: {
}
};