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

Add eslint-plugin-regexp and fix invalid regex #2707

Merged
merged 1 commit into from
Mar 22, 2024

Conversation

RunDevelopment
Copy link
Member

Since TS and ESLint didn't catch an invalid regex, I installed a plugin that can. eslint-plugin-regexp is an ESLint plugin that can detect many types of errors and mistakes in regexes, among them being invalid unicode properties.

Changes:

  • Updated ESLint to 8.57. This improved some rules, so I had to fix a small issue ESLint was now able to detect is global node state.
  • Installed eslint-plugin-regexp and fixed everything it found.

Disclaimer: I am co-maintainer of eslint-plugin-regexp, so I like the plugin of course.

@joeyballentine joeyballentine merged commit 6de5aa3 into chaiNNer-org:main Mar 22, 2024
7 checks passed
@RunDevelopment RunDevelopment deleted the regexp-fix branch March 22, 2024 14:15
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