when using latest version of eslint with latest version of eslint-config-airbnb is throwing the following error:
Oops! Something went wrong! :(
ESLint: 7.3.0
Error: .eslintrc.yml » eslint-config-airbnb » /blablabla/node_modules/eslint-config-airbnb-base/index.js » /blablabla/node_modules/eslint-config-airbnb-base/rules/imports.js:
Configuration for rule "import/no-cycle" is invalid:
Value null should be integer.
It seems that when parsing the rule configuration, eslint now receives:
[ 'error', { maxDepth: null, ignoreExternal: false } ]
Removing maxDepth from this line fixes the issue.
when using latest version of eslint with latest version of eslint-config-airbnb is throwing the following error:
It seems that when parsing the rule configuration, eslint now receives:
Removing
maxDepthfrom this line fixes the issue.