Update .eslintrc.js

pull/2305/head
Tuğçe Küçükoğlu 2022-03-10 09:16:28 +03:00 committed by Tuğçe Küçükoğlu
parent cba6de4f2a
commit 89690bda7f
1 changed files with 2 additions and 4 deletions

View File

@ -1,7 +1,8 @@
module.exports = { module.exports = {
root: true, root: true,
env: { env: {
node: true node: true,
jest: true
}, },
'extends': [ 'extends': [
'plugin:vue/vue3-essential', 'plugin:vue/vue3-essential',
@ -13,8 +14,5 @@ module.exports = {
rules: { rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off', 'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off' 'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off'
},
"env": {
"jest": true
} }
} }