-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
37 lines (32 loc) · 996 Bytes
/
.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
module.exports = {
root: true,
env: {
node: true
},
extends: [
'plugin:vue/vue3-essential',
'@vue/standard'
],
parserOptions: {
parser: '@babel/eslint-parser'
},
rules: {
'no-console': 'off',
'no-debugger': 'off',
"no-multiple-template-roots": "off",
"no-multiple-empty-lines": ["error", { max: 6, maxBOF: 0, maxEOF: 0 }],
"eol-last": ["off", "always"],
"space-before-function-paren": ["off", "always"],
"comma-dangle": ["off", "always"],
indent: ["off", 6],
"no-trailing-spaces": ["off", { skipBlankLines: true }],
"object-curly-spacing": ["off", "always"],
quotes: ["off", "double"],
"dot-notation": ["off", { allowKeywords: true }],
"multi-word-component-names": [0, { componentName: "^[a-zA-Z]+$" }],
"vue/multi-word-component-names": ["off", { componentName: "^[a-zA-Z]+$" }],
"no-dupe-keys": ["off"]
// "linebreak-style": ["error", "windows"],
// "quotes": ["error", "single"],
},
}