forked from kirillmurashov/vue-drag-resize
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc.json
51 lines (51 loc) · 1.29 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
{
"ignorePatterns": ["dist", "node_modules"],
"rules": {
"prefer-template": "off",
"indent": ["error", 4, { "SwitchCase": 1 }],
"object-curly-spacing": ["error", "always"],
"no-multiple-empty-lines": [
"error",
{
"max": 1,
"maxEOF": 1
}
],
"no-var": "error",
"one-var": ["error", "never"],
"camelcase": "error",
"no-multi-assign": "error",
"quotes": ["error", "single"],
"no-array-constructor": "error",
"no-new-object": "error",
"no-new-wrappers": "error",
"no-mixed-spaces-and-tabs": "error",
"no-underscore-dangle": ["error", { "allowAfterThis": true }],
"no-console": [
"error",
{
"allow": ["error"]
}
],
"no-template-curly-in-string": "error",
"no-self-compare": "error",
"func-names": ["error", "as-needed"],
"semi": [2, "always"],
"import/no-extraneous-dependencies": ["off", { "devDependencies": false }]
},
"env": {
"browser": true,
"es6": true
},
"extends": ["eslint:recommended", "airbnb-base", "prettier"],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parserOptions": {
"ecmaVersion": 11,
"sourceType": "module"
},
"plugins": ["prettier"],
"settings": { "import/resolver": "webpack" }
}