Skip to content

Commit

Permalink
feat: add 2 to ignored numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
anantoghosh committed Sep 21, 2021
1 parent 79a2801 commit ae133f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules/typescript-rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ module.exports = {
'@typescript-eslint/no-magic-numbers': [
'error',
{
ignore: [0, 1, -1, 60, 1000],
ignore: [0, 1, -1, 2, 60, 1000],
ignoreEnums: true,
ignoreNumericLiteralTypes: true,
ignoreReadonlyClassProperties: true,
Expand Down

0 comments on commit ae133f0

Please sign in to comment.