Skip to content

Commit

Permalink
👕 Base severity on NODE_ENV
Browse files Browse the repository at this point in the history
  • Loading branch information
ivov committed Apr 24, 2023
1 parent da0ea18 commit 9121d5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@n8n_io/eslint-config/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ const config = (module.exports = {
/**
* https://github.com/sweepline/eslint-plugin-unused-imports/blob/master/docs/rules/no-unused-imports.md
*/
'unused-imports/no-unused-imports': 'error',
'unused-imports/no-unused-imports': process.env.NODE_ENV === 'development' ? 'warn' : 'error',
},

overrides: [
Expand Down

0 comments on commit 9121d5d

Please sign in to comment.