cool-admin-vue/.eslintrc.js

22 lines
468 B
JavaScript
Raw Normal View History

2021-02-28 01:55:04 +08:00
module.exports = {
root: true,
env: {
node: true
},
2021-03-29 00:10:32 +08:00
extends: [
"plugin:vue/vue3-essential",
"eslint:recommended",
"@vue/typescript/recommended",
"@vue/prettier",
"@vue/prettier/@typescript-eslint"
],
2021-02-28 01:55:04 +08:00
parserOptions: {
2021-03-29 00:10:32 +08:00
ecmaVersion: 2020
},
rules: {
"no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
"no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off",
"@typescript-eslint/no-explicit-any": ["off"]
2021-02-28 01:55:04 +08:00
}
};