aboutsummaryrefslogtreecommitdiff
path: root/node_modules/tslint/lib/rules/labelPositionRule.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/tslint/lib/rules/labelPositionRule.js')
-rw-r--r--node_modules/tslint/lib/rules/labelPositionRule.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/node_modules/tslint/lib/rules/labelPositionRule.js b/node_modules/tslint/lib/rules/labelPositionRule.js
index 165e6efd8..ae8fdb6b6 100644
--- a/node_modules/tslint/lib/rules/labelPositionRule.js
+++ b/node_modules/tslint/lib/rules/labelPositionRule.js
@@ -33,7 +33,7 @@ var Rule = /** @class */ (function (_super) {
ruleName: "label-position",
description: "Only allows labels in sensible locations.",
descriptionDetails: "This rule only allows labels to be on `do/for/while/switch` statements.",
- rationale: (_a = ["\n Labels in JavaScript only can be used in conjunction with `break` or `continue`,\n constructs meant to be used for loop flow control. While you can theoretically use\n labels on any block statement in JS, it is considered poor code structure to do so."], _a.raw = ["\n Labels in JavaScript only can be used in conjunction with \\`break\\` or \\`continue\\`,\n constructs meant to be used for loop flow control. While you can theoretically use\n labels on any block statement in JS, it is considered poor code structure to do so."], Lint.Utils.dedent(_a)),
+ rationale: Lint.Utils.dedent(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["\n Labels in JavaScript only can be used in conjunction with `break` or `continue`,\n constructs meant to be used for loop flow control. While you can theoretically use\n labels on any block statement in JS, it is considered poor code structure to do so."], ["\n Labels in JavaScript only can be used in conjunction with \\`break\\` or \\`continue\\`,\n constructs meant to be used for loop flow control. While you can theoretically use\n labels on any block statement in JS, it is considered poor code structure to do so."]))),
optionsDescription: "Not configurable.",
options: null,
optionExamples: [true],
@@ -66,4 +66,4 @@ function isLabelable(node) {
return false;
}
}
-var _a;
+var templateObject_1;