Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix: rule deprecation warnings did not consider all rules #11044
What is the purpose of this pull request? (put an "X" next to item)
[x] Bug fix
Tell us about your environment
What parser (default, Babel-ESLint, etc.) are you using?
Please show your full configuration:
What did you do? Please include the actual source code causing the issue.
From within the ESLint repository:
const CLIEngine = require(".").CLIEngine; const cliEngine = new CLIEngine(); console.log(cliEngine.executeOnFiles(["Makefile.js"]));
What did you expect to happen?
I expected the output to contain a
What actually happened? Please include the actual, raw output from ESLint.
What changes did you make? (Give an overview)
This fixes a bug where rule deprecation warnings would only be generated for rules passed via the
Is there anything you'd like reviewers to focus on?
Nothing in particular