diff options
Diffstat (limited to '.eslintrc.js')
-rw-r--r-- | .eslintrc.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/.eslintrc.js b/.eslintrc.js new file mode 100644 index 0000000..2ac7400 --- /dev/null +++ b/.eslintrc.js | |||
@@ -0,0 +1,15 @@ | |||
1 | module.exports = { | ||
2 | root: true, | ||
3 | env: { | ||
4 | node: true, | ||
5 | }, | ||
6 | extends: ["plugin:vue/essential", "eslint:recommended", "@vue/prettier"], | ||
7 | parserOptions: { | ||
8 | parser: "babel-eslint", | ||
9 | }, | ||
10 | rules: { | ||
11 | "no-console": "off", | ||
12 | "no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off", | ||
13 | "vue/require-v-for-key": "off", | ||
14 | }, | ||
15 | }; | ||