From 12701dcbfa40072210fc90c90fef8bd8b6988f1e Mon Sep 17 00:00:00 2001 From: Andrey Polischuk Date: Thu, 14 Mar 2024 08:29:40 +0300 Subject: [PATCH] fix(eslint-config): add 100 as known magic numbers --- packages/eslint-config/js.js | 2 +- packages/eslint-config/ts.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/eslint-config/js.js b/packages/eslint-config/js.js index 9711881..7190b3b 100644 --- a/packages/eslint-config/js.js +++ b/packages/eslint-config/js.js @@ -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 diff --git a/packages/eslint-config/ts.js b/packages/eslint-config/ts.js index c114704..ee7e2f0 100644 --- a/packages/eslint-config/ts.js +++ b/packages/eslint-config/ts.js @@ -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,