Colubrina/frontend/.eslintrc.js
2023-12-10 03:21:52 +11:00

21 lines
551 B
JavaScript

module.exports = {
root: true,
env: {
es2020: true,
node: true
},
extends: ["plugin:vue/essential", "eslint:recommended"],
parserOptions: {
parser: "@babel/eslint-parser"
},
rules: {
"no-console": process.env.NODE_ENV === "production" ? "warn" : "off",
"no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off",
"vue/no-parsing-error": [
"error",
{ "invalid-first-character-of-tag-name": false }
],
"vue/no-mutating-props": "off",
"vue/multi-word-component-names": "off"
}
}