-
Notifications
You must be signed in to change notification settings - Fork 95
/
.eslintrc
34 lines (34 loc) · 815 Bytes
/
.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
{
root: true,
parser: "babel-eslint",
parserOptions: {
ecmaVersion: 7,
sourceType: "module",
allowImportExportEverywhere: false,
ecmaFeatures: {
jsx: true,
modules: true
}
},
env: {
es6: true,
node: true,
browser: true
},
extends: "vue",
rules: {
indent: [2, 4, { "SwitchCase": 1 }],
quotes: [2, "single", { "allowTemplateLiterals": true }],
linebreak-style: [2, "unix"],
semi: [2, "always"],
eqeqeq: [2, "always"],
strict: [2, "global"],
key-spacing: [2, { "afterColon": true }],
no-console: 0,
no-debugger: 0,
no-empty: 0,
no-unused-vars: 0,
no-constant-condition: 0,
no-undef: 0,
}
}