Skip to content

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

@artptr

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

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