You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Restrict some component names via a list of pattern.
What category should the rule belong to?
[ ] Enforces code style (layout)
[x] Warns about a potential error (problem)
[ ] Suggests an alternate way of doing something (suggestion)
[ ] Other (please specify:)
Provide 2-3 code examples that this rule should warn about:
I think there can be cases when we need more detailed options, for example, when the team has some convention for suggestions or a custom error message. What do you think about this?
As a variant:
string[]// or{pattern: "string or regex",suggestion: "string",// optionalmessage: "string"// optional}
Please describe what the rule should do:
Restrict some component names via a list of pattern.
What category should the rule belong to?
[ ] Enforces code style (layout)
[x] Warns about a potential error (problem)
[ ] Suggests an alternate way of doing something (suggestion)
[ ] Other (please specify:)
Provide 2-3 code examples that this rule should warn about:
Options:
Additional context
Related #2180 (comment).
The text was updated successfully, but these errors were encountered: