-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.cjs
31 lines (31 loc) · 848 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
module.exports = {
root: true,
env: {
browser: true,
es2021: true,
node: true
},
extends: [
"plugin:vue/vue3-recommended",
"eslint:recommended",
"@vue/typescript/recommended"
],
parserOptions: {
ecmaVersion: 2021,
parser: "@typescript-eslint/parser"
},
plugins: [],
rules: {
"no-console": process.env.VITE_NODE_ENV === "production" ? "warn" : "off",
"no-debugger": process.env.VITE_NODE_ENV === "production" ? "warn" : "off",
"@typescript-eslint/no-var-requires": 0,
"@typescript-eslint/no-explicit-any": 0,
"vue/multi-word-component-names": 0
},
globals: {
defineProps: "readonly",
defineEmits: "readonly",
defineExpose: "readonly",
withDefaults: "readonly"
}
}