Skip to content
New issue

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

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

Already on GitHub? # to your account

fix: usage of ES2022 features #44

Merged
merged 2 commits into from
Feb 3, 2022
Merged

Conversation

theoludwig
Copy link
Contributor

@theoludwig theoludwig commented Feb 1, 2022

What is the purpose of this pull request? (put an "X" next to item)

[ ] Documentation update
[x] Bug fix
[ ] New feature
[ ] Other, please explain:

What changes did you make? (Give an overview)

set "parserOptions.ecmaVersion": 2022

Which issue (if any) does this pull request address?

Fixes #43

Is there anything you'd like reviewers to focus on?

The fix suggested that we remove completely paserOptions, but we should be more conservative, maybe there are people using this package alone without eslint-config-standard?

Also, it might be the last release of this package in favor of #21, which opened in 2017, I think it will be time to actually do this for the next iteration (not for standard@17 but probably for standard@18 next year).

I would say that removing parserOptions should be fine but as the current state of nearly EOL of this package, it makes sense to not break too much, of course, feel free to disagree and to discuss. 😄

Another small thing, I removed ESLint v7 testing in CI as tests were failing, and we already set our peerDependencies to only support ESLint "^8.8.0" anyway.

@theoludwig theoludwig requested a review from voxpelli February 1, 2022 18:26
@theoludwig theoludwig self-assigned this Feb 1, 2022
We already set our `peerDependencies` to use ESLint `^8.8.0` anyway.
@theoludwig theoludwig force-pushed the fix/usage-of-2022-features branch from 2be454c to 0e26adb Compare February 1, 2022 18:34
eslintrc.json Show resolved Hide resolved
@voxpelli voxpelli merged commit da388c6 into master Feb 3, 2022
@welcome
Copy link

welcome bot commented Feb 3, 2022

🎉 Congrats on getting your first pull request landed!

@voxpelli voxpelli deleted the fix/usage-of-2022-features branch February 3, 2022 17:32
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Remove parserOptions
2 participants