Skip to content

no-unused-vars rule don't work while extending the airbnb's config #773

Description

@artptr

This repo reproduces the bug in eslint-config-airbnb.
There is an error while checking the test.js:

  1:5  error  'Foo' is defined but never used  no-unused-vars

The error appears despite that the parent config contains appropriate no-unused-vars setting.
It disappears only if we remove the airbnb's config (default or legacy) from the extends property.

The error appears on the ESLint 1.10.3 and 2.2.0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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