Skip to content

Commit

Permalink
fix(eslint-config): remove destructuring rule
Browse files Browse the repository at this point in the history
  • Loading branch information
andrepolischuk committed Jan 24, 2024
1 parent 7e01a3d commit 5a50fea
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
5 changes: 0 additions & 5 deletions packages/eslint-config/js.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,6 @@ module.exports = {
'prefer-template': 'error',
'prefer-rest-params': 'error',
'prefer-object-spread': 'error',
'prefer-destructuring': [
'error',
{array: true, object: true},
{enforceForRenamedProperties: true}
],
'prefer-arrow-callback': 'error',
'prefer-promise-reject-errors': 'error',
'object-shorthand': 'error',
Expand Down
9 changes: 0 additions & 9 deletions packages/eslint-config/ts.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,6 @@ module.exports = {
'error',
{argsIgnorePattern: '^_', varsIgnorePattern: '^_'}
],
'prefer-destructuring': 'off',
'@typescript-eslint/prefer-destructuring': [
'error',
{array: true, object: true},
{
enforceForRenamedProperties: true,
enforceForDeclarationWithTypeAnnotation: true
}
],
'no-magic-numbers': 'off',
'@typescript-eslint/no-magic-numbers': [
'error',
Expand Down

0 comments on commit 5a50fea

Please sign in to comment.