Closed karlhorky closed 6 months ago
Latest commit: 71e159abf51e23896ee8e6bb68deee19a40dffb1
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
@ota-meshi thanks for the feedback!
I've added a SeverityString
type and updated the files you mentioned in 7efd9e3d6ebc93043d0b8bb4a9114063e316e317
Thanks for the review, merge and publish in eslint-plugin-regexp@2.6.0
🙌
I can confirm that this fixed the type error mentioned above with typescript-eslint
types - no type error anymore 👍 :
Hi there, first of all thanks for this ESLint plugin, great to learn about regular expression antipatterns!
Using the
tseslint.config()
config helper function fromtypescript-eslint
leads to an error:Error message:
This is because the types for
typescript-eslint
require a string of'error'
,'off'
or'warn'
To avoid the type mismatch when using
typescript-eslint
, this PR aims to generate string literal config property values instead of the current property values ofstring