summaryrefslogtreecommitdiff
path: root/web-client/voll/.eslintrc.js
diff options
context:
space:
mode:
Diffstat (limited to 'web-client/voll/.eslintrc.js')
-rw-r--r--web-client/voll/.eslintrc.js19
1 files changed, 19 insertions, 0 deletions
diff --git a/web-client/voll/.eslintrc.js b/web-client/voll/.eslintrc.js
new file mode 100644
index 0000000..6f0d1af
--- /dev/null
+++ b/web-client/voll/.eslintrc.js
@@ -0,0 +1,19 @@
+module.exports = {
+ root: true,
+ env: {
+ node: true
+ },
+ 'extends': [
+ 'plugin:vue/vue3-essential',
+ 'eslint:recommended',
+ '@vue/typescript/recommended'
+ ],
+ parserOptions: {
+ ecmaVersion: 2020
+ },
+ rules: {
+ 'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
+ 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
+ 'vue/multi-word-component-names': 0
+ }
+}