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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add no-regexp-v-flag (and bump to ES2024) #31

Merged
merged 3 commits into from
Jul 24, 2024

Conversation

brettz9
Copy link
Collaborator

@brettz9 brettz9 commented Jul 23, 2024

feat: add no-regexp-v-flag (and bump to ES2024)

Also:

  • fix: ensures no-hashbang-comment rule is in TS 2023
  • docs: remove unneeded backticks in no-regexp-s-flag rule docs

Realized there was ES2024 and ES2025 too.

Also:
- fix: ensures no-hashbang-comment rule is in TS 2023
- docs: remove unneeded backticks in no-regexp-s-flag rule docs

let dotAll = `/[\0-\uFFFF]/`
let dotAll = /[\0-\uFFFF]/
```

If you are using it in combination with the `u` flag then you may adjust the pattern:
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we're coming back to this, it might be good to offer more detail on how workarounds function. This is a little unclear (I know it's not your writing but if you're happy to improve it that would be great!). Can be done here or in a follow up.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I'm not so clear on how to improve it.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's fine we can follow up on it later.

docs/no-regexp-v-flag.md Outdated Show resolved Hide resolved
docs/no-regexp-v-flag.md Outdated Show resolved Hide resolved
brettz9 and others added 2 commits July 24, 2024 17:46
Co-authored-by: Keith Cirkel <keithamus@users.noreply.github.com>
Co-authored-by: Keith Cirkel <keithamus@users.noreply.github.com>
@brettz9
Copy link
Collaborator Author

brettz9 commented Jul 24, 2024

Good doc suggestions. Applied...

@keithamus keithamus merged commit 58260bf into keithamus:main Jul 24, 2024
1 check passed
@brettz9 brettz9 deleted the es2024 branch July 24, 2024 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants