Skip to content

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

Merged
keithamus merged 3 commits into
keithamus:mainfrom
brettz9:es2024
Jul 24, 2024
Merged

feat: add no-regexp-v-flag (and bump to ES2024)#31
keithamus merged 3 commits into
keithamus:mainfrom
brettz9:es2024

Conversation

@brettz9
Copy link
Copy Markdown
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
Comment thread docs/no-regexp-s-flag.md
let dotAll = /[\0-\uFFFF]/
```

If you are using it in combination with the `u` flag then you may adjust the pattern:
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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.

Comment thread docs/no-regexp-v-flag.md Outdated
Comment thread docs/no-regexp-v-flag.md Outdated
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
Copy Markdown
Collaborator Author

brettz9 commented Jul 24, 2024

Good doc suggestions. Applied...

@keithamus keithamus merged commit 58260bf into keithamus:main Jul 24, 2024
@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