aboutsummaryrefslogtreecommitdiff
path: root/client/.eslintrc.js
diff options
context:
space:
mode:
Diffstat (limited to 'client/.eslintrc.js')
-rw-r--r--client/.eslintrc.js17
1 files changed, 17 insertions, 0 deletions
diff --git a/client/.eslintrc.js b/client/.eslintrc.js
new file mode 100644
index 0000000..3391da1
--- /dev/null
+++ b/client/.eslintrc.js
@@ -0,0 +1,17 @@
+module.exports = {
+ root: true,
+ env: {
+ node: true
+ },
+ 'extends': [
+ 'plugin:vue/vue3-essential',
+ 'eslint:recommended'
+ ],
+ parserOptions: {
+ parser: 'babel-eslint'
+ },
+ rules: {
+ 'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
+ 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off'
+ }
+}