forked from internetarchive/openlibrary
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
43 lines (43 loc) · 1.07 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
{
"root": true,
"plugins": [
"eslint-plugin-no-jquery"
],
"extends": [
"plugin:vue/essential",
"plugin:no-jquery/deprecated"
],
"env": {
"browser": true,
"jquery": true
},
"parserOptions": {
"parser": "@babel/eslint-parser",
"sourceType": "module",
"ecmaVersion": 6
},
"globals": {},
"rules": {
"prefer-template": "error",
"eqeqeq": ["error", "always"],
"quotes": ["error", "single"],
"eol-last": ["error", "always"],
"indent": 2,
"no-console": "error",
"no-extra-semi": "error",
"no-mixed-spaces-and-tabs": "error",
"no-redeclare": "error",
"no-trailing-spaces": "error",
"no-undef": "error",
"no-unused-vars": "error",
"no-useless-escape": "error",
"space-in-parens": "error",
"vars-on-top": "error",
"prefer-const": "error",
"template-curly-spacing": "error",
"quote-props": ["error", "as-needed"],
"keyword-spacing": ["error", { "before": true, "after": true } ],
"key-spacing": ["error", { "mode": "strict" }],
"vue/no-mutating-props": "off"
}
}