From bdfc1c9442574e62f0e02271c3ece2c0a5f66a03 Mon Sep 17 00:00:00 2001 From: Andrey Polischuk Date: Wed, 24 Jan 2024 14:25:43 +0300 Subject: [PATCH] fix(eslint-config): allow time magic numbers --- packages/eslint-config/js.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/eslint-config/js.js b/packages/eslint-config/js.js index bcdfb44..7810f13 100644 --- a/packages/eslint-config/js.js +++ b/packages/eslint-config/js.js @@ -50,7 +50,7 @@ module.exports = { 'no-magic-numbers': [ 'error', { - ignore: [0, 1, 2], + ignore: [0, 1, -1, 2, 24, 60, 1000], enforceConst: true, ignoreDefaultValues: true, ignoreClassFieldInitialValues: true