mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
refactor: Remove unused vars to fix build (no-changelog) (#4584)
* 🔥 Remove unused vars to fix build * 👕 Make unused vars severity conditional
This commit is contained in:
@@ -359,12 +359,10 @@ const config = (module.exports = {
|
||||
|
||||
/**
|
||||
* https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/no-unused-vars.md
|
||||
*
|
||||
* Disabled because eslint-plugin-diff fails to catch it. TODO: Revisit.
|
||||
*/
|
||||
'no-unused-vars': 'off',
|
||||
'@typescript-eslint/no-unused-vars': [
|
||||
'error',
|
||||
process.env.CI_LINT_MASTER ? 'warn' : 'error',
|
||||
{
|
||||
argsIgnorePattern: '^_',
|
||||
destructuredArrayIgnorePattern: '^_',
|
||||
|
||||
Reference in New Issue
Block a user