Skip to content

Commit

Permalink
Changed from Number.MAX_VALUE to Number.MAX_SAFE_INTEGER
Browse files Browse the repository at this point in the history
  • Loading branch information
boeric committed Jun 23, 2020
1 parent 1b1a549 commit 9da160e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/eslint-config-airbnb-base/rules/imports.js
Expand Up @@ -233,7 +233,7 @@ module.exports = {

// Forbid cyclical dependencies between modules
// https://github.com/benmosher/eslint-plugin-import/blob/d81f48a2506182738409805f5272eff4d77c9348/docs/rules/no-cycle.md
'import/no-cycle': ['error', { maxDepth: Number.MAX_VALUE }],
'import/no-cycle': ['error', { maxDepth: Number.MAX_SAFE_INTEGER }],

// Ensures that there are no useless path segments
// https://github.com/benmosher/eslint-plugin-import/blob/ebafcbf59ec9f653b2ac2a0156ca3bcba0a7cf57/docs/rules/no-useless-path-segments.md
Expand Down

0 comments on commit 9da160e

Please sign in to comment.