townsquare/.eslintrc.js
2024-04-19 23:23:50 +00:00

16 lines
419 B
JavaScript

module.exports = {
root: true,
env: {
node: true,
},
extends: ["plugin:vue/essential", "eslint:recommended", "@vue/prettier"],
parserOptions: {
ecmaVersion: 2020,
},
rules: {
"no-console": process.env.NODE_ENV === "production" ? 1 : 0,
"no-debugger": process.env.NODE_ENV === "production" ? 1 : 0,
"vue/multi-word-component-names": 0,
"vue/no-reserved-component-names": 0,
},
};