Update .eslintrc.js

pull/2305/head
Tuğçe Küçükoğlu 2022-03-07 09:33:08 +03:00 committed by Tuğçe Küçükoğlu
parent b6eec4ded2
commit cba6de4f2a
1 changed files with 3 additions and 0 deletions

View File

@ -13,5 +13,8 @@ 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
} }
} }