aboutsummaryrefslogtreecommitdiff
path: root/.eslintrc.js
diff options
context:
space:
mode:
authorFurkan Sahin <furkan-dev@proton.me>2021-04-04 00:14:44 -0500
committerFurkan Sahin <furkan-dev@proton.me>2021-04-04 00:14:44 -0500
commitea8dcfe3bf1ebe84ac483bb91e37ee4faa0d77ea (patch)
treea8d02558b3c1fe4dcc0c63712e81ec5f8a430699 /.eslintrc.js
init
Diffstat (limited to '.eslintrc.js')
-rw-r--r--.eslintrc.js17
1 files changed, 17 insertions, 0 deletions
diff --git a/.eslintrc.js b/.eslintrc.js
new file mode 100644
index 0000000..955dc9f
--- /dev/null
+++ b/.eslintrc.js
@@ -0,0 +1,17 @@
+module.exports = {
+ root: true,
+ env: {
+ node: true,
+ },
+ extends: [
+ 'plugin:vue/vue3-essential',
+ '@vue/airbnb',
+ ],
+ parserOptions: {
+ parser: 'babel-eslint',
+ },
+ rules: {
+ 'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
+ 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
+ },
+};