-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.cjs
32 lines (32 loc) · 861 Bytes
/
.eslintrc.cjs
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
module.exports = {
root: true,
env: {
node: true
},
extends: [
"plugin:vue/vue3-essential",
"eslint:recommended",
"@vue/typescript/recommended"
],
parserOptions: {
ecmaVersion: 2020,
project: ['tsconfig.json']
},
rules: {
"no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
"no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off",
"vue/no-deprecated-slot-attribute": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/ban-ts-comment": "off",
"eol-last": ["error", "always"],
"quotes": ["error", "double"],
"no-multiple-empty-lines": ["error", {
"max": 2,
"maxBOF": 0,
"maxEOF": 1
}],
"semi": ["error", "never"],
"vue/multi-word-component-names": "off",
"vue/no-v-text-v-html-on-component": "off"
}
}