Skip to content

6.0.0-alpha.1 tries to process configuration files in ignored directories #11724

@Standard8

Description

@Standard8

Tell us about your environment

  • ESLint Version: 6.0.0-alpha.1
  • Node Version: 8.16.0
  • npm Version: 6.4.1

What parser (default, Babel-ESLint, etc.) are you using?
default

Please show your full configuration:

Configuration

Top-level .eslintrc.js

module.exports = {
    "parserOptions": {
        "ecmaVersion": 2017
    },
};

Top-level .eslintignore

test/**

For test/.eslintrc.js

module.exports = {
  "extends": [
    "prettier",
  ]
};

What did you do? Please include the actual source code causing the issue, as well as the command that you used to run ESLint.

No source code necessary (I had an index.js that was commented out).

./node_modules/.bin/eslint .

What did you expect to happen?

No errors

What actually happened? Please include the actual, raw output from ESLint.

$ ./node_modules/.bin/eslint .

Oops! Something went wrong! :(

ESLint: 6.0.0-alpha.1.
ESLint couldn't find the config "prettier" to extend from. Please check that the name of the config is correct.

Normal files within ignored directories are correctly ignored, but it seems that the .eslintrc.js files are still processed.

Are you willing to submit a pull request to fix this bug?
No

Metadata

Metadata

Assignees

No one assigned

    Labels

    archived due to ageThis issue has been archived; please open a new issue for any further discussionauto closedThe bot closed this issuequestionThis issue asks a question about ESLint

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions