Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify Ignoring Files From .eslintignore. #1013

Merged
merged 1 commit into from Sep 8, 2021
Merged

Simplify Ignoring Files From .eslintignore. #1013

merged 1 commit into from Sep 8, 2021

Commits on Sep 8, 2021

  1. Simplify Ignoring Files From .eslintignore.

    The README advised ESLint >= 7 users to install node-filter-async.
    Replace this suggestion with a simpler implementation requiring the same
    number of lines of code but no dependencies. Rename the variable
    eslintCli to eslint since it is an instance of the ESLint Node.js API as
    distinct from the ESLint CLI. Avoid instantiating the API when the files
    staged don't necessitate invocation of ESLint.
    Kurt-von-Laven committed Sep 8, 2021
    Copy the full SHA
    1a43c90 View commit details
    Browse the repository at this point in the history