diff options
Diffstat (limited to 'iridescence/.eslintrc.js')
-rw-r--r-- | iridescence/.eslintrc.js | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/iridescence/.eslintrc.js b/iridescence/.eslintrc.js new file mode 100644 index 0000000..07ec69a --- /dev/null +++ b/iridescence/.eslintrc.js @@ -0,0 +1,20 @@ +module.exports = { + root: true, + env: { + node: true + }, + extends: [ + "plugin:vue/essential", + "eslint:recommended", + "@vue/typescript/recommended", + "@vue/prettier", + "@vue/prettier/@typescript-eslint" + ], + parserOptions: { + ecmaVersion: 2020 + }, + rules: { + "no-console": process.env.NODE_ENV === "production" ? "warn" : "off", + "no-debugger": process.env.NODE_ENV === "production" ? "warn" : "off" + } +}; |