-
Notifications
You must be signed in to change notification settings - Fork 21
/
.eslintrc
35 lines (35 loc) · 824 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
35
{
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],
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,
no-trailing-spaces: 0
}
}