TMT-Demo/.eslintrc.js

24 lines
630 B
JavaScript
Raw Normal View History

module.exports = {
root: true,
env: {
2022-01-14 04:25:47 +00:00
node: true,
'vue/setup-compiler-macros': 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",
2022-01-14 04:25:47 +00:00
"no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off",
"vue/script-setup-uses-vars": "error",
"vue/no-mutating-props": "off"
}
};