Skip to content

latest version of eslint-config-airbnb is not compatible with eslint 7.3.0 #2245

@nescalante

Description

@nescalante

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions