Skip to content

Commit

Permalink
fix(eslint-config): add 100 as known magic numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
andrepolischuk committed Mar 14, 2024
1 parent 7f3b762 commit 12701dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/eslint-config/js.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ module.exports = {
'no-magic-numbers': [
'error',
{
ignore: [0, 1, -1, 2, 24, 60, 1000],
ignore: [0, 1, -1, 2, 24, 60, 100, 1000],
enforceConst: true,
ignoreDefaultValues: true,
ignoreClassFieldInitialValues: true
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config/ts.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ module.exports = {
'@typescript-eslint/no-magic-numbers': [
'error',
{
ignore: [0, 1, -1, 2, 24, 60, 1000],
ignore: [0, 1, -1, 2, 24, 60, 100, 1000],
enforceConst: true,
ignoreDefaultValues: true,
ignoreClassFieldInitialValues: true,
Expand Down

0 comments on commit 12701dc

Please sign in to comment.