Colubrina/frontend/.eslintrc.js
2022-07-29 20:34:27 +10:00

19 lines
462 B
JavaScript

module.exports = {
root: true,
env: {
es2020: true,
node: true
},
extends: ["plugin:vue/essential", "eslint:recommended"],
parserOptions: {
parser: "babel-eslint"
},
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 }
]
}
}