-
-
Notifications
You must be signed in to change notification settings - Fork 481
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
📎 ImplementuseConsistentNewBuiltin
- unicorn/new-for-builtins
#2539
Comments
I will try to work on it myself. |
Note that Also, I propose a more consistent name with our existing rules: |
useNewForBuiltins
- unicorn/new-for-builtins
useConsistentNewBuiltin
- unicorn/new-for-builtins
Why "Consistent" @Conaclos ? I think |
Taking a closer look at the rule, the following constructors cannot be instantiated without
Since we have noInvalidNewBuiltin, we should certainly have something like Alternatively we could deprecate noInvalidNewBuiltin and create two rules: Any opinion?
Became I was thinking about |
I slightly prefer |
Description
Implement unicorn/new-for-builtins
The text was updated successfully, but these errors were encountered: