Colubrina/frontend/.eslintrc.js

20 lines
462 B
JavaScript
Raw Permalink Normal View History

2022-06-05 22:58:18 +10:00
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 }
]
}
}