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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: usage of ESLint class #190

Merged
merged 1 commit into from Sep 14, 2021
Merged

Conversation

theoludwig
Copy link
Member

What changes did you make? (Give an overview)

  • Usage of the ESLint class instead of the deprecated CLIEngine class.
  • Rename eslintrc.json to .eslintrc.json to be consistent with the others config files, also configFile is an invalid option for the ESLint class.
    Why using more configurations and CLI options, if we don't need them? Keep It, Simple Stupid. 馃槃

In the next major version of ESLint (v8), the CLIEngine class will be removed (see: https://github.com/eslint/eslint/blob/v8-migration-guide/docs/user-guide/migrating-to-8.0.0.md#remove-cliengine).

This allows a "smoother" update of eslint@8 when it will be released. 馃憤

Related: standard/standard-engine#234

@theoludwig theoludwig self-assigned this Aug 14, 2021
@theoludwig theoludwig merged commit 66d2a19 into master Sep 14, 2021
@theoludwig theoludwig deleted the test/usage-of-eslint-class branch September 14, 2021 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants