Skip to content

Commit c3ce440

Browse files
committed
Fallback to disallowedConstructs for default value
Otherwise this will be a breaking change.
1 parent 537b6c7 commit c3ce440

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

rules.neon

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ parameters:
2222
uselessCast: %strictRules.allRules%
2323
requireParentConstructorCall: %strictRules.allRules%
2424
disallowedConstructs: %strictRules.allRules%
25-
disallowedBacktick: %strictRules.allRules%
26-
disallowedEmpty: %strictRules.allRules%
27-
disallowedImplicitArrayCreation: %strictRules.allRules%
28-
disallowedShortTernary: %strictRules.allRules%
25+
disallowedBacktick: %strictRules.disallowedConstructs%
26+
disallowedEmpty: %strictRules.disallowedConstructs%
27+
disallowedImplicitArrayCreation: %strictRules.disallowedConstructs%
28+
disallowedShortTernary: %strictRules.disallowedConstructs%
2929
overwriteVariablesWithLoop: %strictRules.allRules%
3030
closureUsesThis: %strictRules.allRules%
3131
matchingInheritedMethodNames: %strictRules.allRules%

0 commit comments

Comments
 (0)