Skip to content
This repository has been archived by the owner on Nov 23, 2022. It is now read-only.

Commit

Permalink
fix(core): ignore objects for no-magic-numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
vuki656 committed Nov 10, 2022
1 parent 5b8b4e4 commit 3449bb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ module.exports = {
'@typescript-eslint/no-magic-numbers': [
'error',
{
detectObjects: true,
detectObjects: false,
ignore: [1, 0, -1],
ignoreArrayIndexes: true,
ignoreDefaultValues: true,
Expand Down

0 comments on commit 3449bb9

Please sign in to comment.