-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
27 lines (27 loc) · 954 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
module.exports = {
root: true,
env: {
node: true,
},
extends: ["plugin:vue/vue3-essential", "eslint:recommended", "@vue/typescript/recommended", "@vue/prettier", "@vue/prettier/@typescript-eslint"],
parserOptions: {
ecmaVersion: 2020,
},
rules: {
"no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
"no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off",
"prettier/prettier": ["off", { endOfLine: "off" }],
"@typescript-eslint/no-explicit-any": "off",
"prefer-const": "off",
"no-useless-escape": "off",
"prefer-rest-params": "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"vue/no-mutating-props":"off",
"vue/no-unused-components":'off',
"no-unreachable":'warn',
"@typescript-eslint/no-empty-function":"off",
"no-var":"off",
"@typescript-eslint/no-unused-vars":"off"
},
};