Colubrina/frontend/.eslintrc.js

23 lines
599 B
JavaScript
Raw Normal View History

2022-06-05 22:58:18 +10:00
module.exports = {
root: true,
env: {
es2020: true,
node: true
},
2023-12-10 14:14:30 +11:00
extends: ["plugin:vue/recommended", "eslint:recommended"],
2022-06-05 22:58:18 +10:00
parserOptions: {
2023-12-10 03:21:52 +11:00
parser: "@babel/eslint-parser"
2022-06-05 22:58:18 +10:00
},
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 }
2023-12-10 03:21:52 +11:00
],
2023-12-10 14:14:30 +11:00
"vue/no-reserved-component-names": "off",
2023-12-10 03:21:52 +11:00
"vue/no-mutating-props": "off",
"vue/multi-word-component-names": "off"
2022-06-05 22:58:18 +10:00
}
}