From ea8dcfe3bf1ebe84ac483bb91e37ee4faa0d77ea Mon Sep 17 00:00:00 2001 From: Furkan Sahin Date: Sun, 4 Apr 2021 00:14:44 -0500 Subject: init --- .eslintrc.js | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .eslintrc.js (limited to '.eslintrc.js') 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', + }, +}; -- cgit v1.2.3