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
... but if you change the config to "no-input-prefix": [true, "isc", "is"], it works.
In addition, I don't know if it is intentional, but this rule isn't checking if the alias is prefixed by a non-allowed prefix (it is useful in case where the no-input-rename rule isn't activated for some reason).
In fact, I think this rule should accept a regex rather than an array of strings... something like what I proposed in #576 (for @Output).
The text was updated successfully, but these errors were encountered:
rafaelss95
changed the title
[no-input-prefix] - Bug in competing prefixes
[no-input-prefix] - Bug in concurrent prefixes
Apr 30, 2018
If you have this config in your
tslint.json
:it won't report a failure for this:
@Input() iscHange = '';
... but if you change the config to
"no-input-prefix": [true, "isc", "is"]
, it works.In addition, I don't know if it is intentional, but this rule isn't checking if the alias is prefixed by a non-allowed prefix (it is useful in case where the
no-input-rename
rule isn't activated for some reason).In fact, I think this rule should accept a regex rather than an
array
ofstrings
... something like what I proposed in #576 (for@Output
).The text was updated successfully, but these errors were encountered: