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",
|
2023-12-10 15:04:42 +11:00
|
|
|
"vue/multi-word-component-names": "off",
|
|
|
|
"vue/no-v-text-v-html-on-component": "off"
|
2022-06-05 22:58:18 +10:00
|
|
|
}
|
|
|
|
}
|