We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
d
Regexp flag d was introduced in ES2022. It should not be considered valid with ecmaVersion: 2021, i.e.:
ecmaVersion: 2021
import { RegExpValidator } from "@eslint-community/regexpp"; const validator = new RegExpValidator({ ecmaVersion: 2021 }); validator.validateFlags("d");
The above code should throw an error. It did so with version 4.11.2, but in version 4.12.0, no error is thrown.
The text was updated successfully, but these errors were encountered:
🎉 This issue has been resolved in version 4.12.1 🎉
The release is available on:
Your semantic-release bot 📦🚀
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Regexp flag
d
was introduced in ES2022. It should not be considered valid withecmaVersion: 2021
, i.e.:The above code should throw an error. It did so with version 4.11.2, but in version 4.12.0, no error is thrown.
The text was updated successfully, but these errors were encountered: