profectus-template/.eslintrc.js
2022-01-13 22:25:47 -06:00

23 lines
630 B
JavaScript

module.exports = {
root: true,
env: {
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",
"no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off",
"vue/script-setup-uses-vars": "error",
"vue/no-mutating-props": "off"
}
};