Skip to content

Commit

Permalink
fix(eslint-config): allow time magic numbers for ts
Browse files Browse the repository at this point in the history
  • Loading branch information
andrepolischuk committed Jan 24, 2024
1 parent 69a242f commit 213d69b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/eslint-config/ts.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ module.exports = {
'@typescript-eslint/no-magic-numbers': [
'error',
{
ignore: [0, 1, 2],
ignore: [0, 1, -1, 2, 24, 60, 1000],
enforceConst: true,
ignoreDefaultValues: true,
ignoreClassFieldInitialValues: true,
Expand Down

0 comments on commit 213d69b

Please sign in to comment.