mirror of
https://github.com/creativetimofficial/vue-material-kit.git
synced 2025-05-23 12:14:22 +08:00
refactor(eslintrc): rule add for double v-for and v-if to be OFF
This commit is contained in:
parent
976627b13b
commit
5476a9def1
@ -6,7 +6,8 @@ module.exports = {
|
|||||||
extends: ["plugin:vue/essential", "@vue/prettier"],
|
extends: ["plugin:vue/essential", "@vue/prettier"],
|
||||||
rules: {
|
rules: {
|
||||||
"no-console": process.env.NODE_ENV === "production" ? "error" : "off",
|
"no-console": process.env.NODE_ENV === "production" ? "error" : "off",
|
||||||
"no-debugger": process.env.NODE_ENV === "production" ? "error" : "off"
|
"no-debugger": process.env.NODE_ENV === "production" ? "error" : "off",
|
||||||
|
"vue/no-use-v-if-with-v-for": "off"
|
||||||
},
|
},
|
||||||
parserOptions: {
|
parserOptions: {
|
||||||
parser: "babel-eslint"
|
parser: "babel-eslint"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user