-
Notifications
You must be signed in to change notification settings - Fork 10
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
regexp/strict
and regexp/match-any
conflict with unicorn/better-regex
#445
Comments
regexp/strict
conflict with unicorn/better-regex
regexp/strict
amd regexp/match-any
conflicts with unicorn/better-regex
/{{([\S\s]+?)}}/g
/{{([\s\S]+?)}}/g
|
I think we should adapt https://github.com/SamVerschueren/clean-regexp and https://github.com/DmitrySoshnikov/regexp-tree like |
I don't know what the
https://ota-meshi.github.io/eslint-plugin-regexp/rules/strict.html Also, the reported regex will result in a syntax error when trying to use the |
The https://ota-meshi.github.io/eslint-plugin-regexp/rules/match-any.html |
regexp/strict
amd regexp/match-any
conflicts with unicorn/better-regex
regexp/strict
and regexp/match-any
conflict with unicorn/better-regex
Raised sindresorhus/eslint-plugin-unicorn#1852 to discuss. I hope these two plugins can work better together by default, some rules can be extracted from |
In my opinion, if you want to use
|
I think the default options should be best practices for most projects, so although these are two different plugins, but they can share why they choose different style, and what's the benefits and downsides, and then we can choose whether or not change the default behaviors. |
I don't know what the idea of |
That's why I raised the related issue for discussion with maintainers from |
While I do not follow the development of The
Looking at how painfully simple
Going into the implementation details of
My thoughts on this:
|
|
no... that's |
Information:
eslint-plugin-regexp
version: 1.7.0Description
/\[([^[\]]+)]/g
error from this plugin
After fixed:
/\[([^[\]]+)\]/g
error from
unicorn/better-regex
The text was updated successfully, but these errors were encountered: