Skip to content

Commit

Permalink
fix(eslint): rule
Browse files Browse the repository at this point in the history
  • Loading branch information
Giorgiosaud committed Mar 17, 2020
1 parent 0974739 commit f66d1c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module.exports = {
parser: 'babel-eslint',
},
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-console': [process.env.NODE_ENV === 'production' ? 'error' : 'off', { allow: ['warn', 'error'] }],
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
},
overrides: [
Expand Down

0 comments on commit f66d1c7

Please sign in to comment.