Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc50bd4b

Browse files
authored
Merge pull request#58 from Glavin001/unibeautify/master/push
🎨 Fix formatting of 3 files for commit122e7cb
2 parents122e7cb +cf8f6f5 commitc50bd4b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

‎src/noComplexConditionalsRule.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export class Rule extends Lint.Rules.AbstractRule {
2525
};
2626

2727
publicstaticFAILURE_STRING:string='Conditional expression is too complex. '+
28-
'Consider moving expression to a variable or function with a meaningful name.';
28+
'Consider moving expression to a variable or function with a meaningful name.';
2929

3030
publicapply(sourceFile:ts.SourceFile):Lint.RuleFailure[]{
3131
returnthis.applyWithWalker(newNoComplexConditionalsRuleWalker(sourceFile,this.getOptions()));

‎src/noForEachPushRule.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export class Rule extends Lint.Rules.AbstractRule {
2929
}
3030

3131
publicstaticFAILURE_STRING:string='Do not use Array.prototype.push inside of Array.prototype.forEach. '+
32-
'Use Array.prototype.map instead to replace both.';
32+
'Use Array.prototype.map instead to replace both.';
3333
}
3434

3535
classNoForeachPushRuleWalkerextendsErrorTolerantWalker{

‎src/noMapWithoutUsageRule.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export class Rule extends Lint.Rules.AbstractRule {
2525
};
2626

2727
publicstaticFAILURE_STRING:string='Return value from Array.prototype.map should be assigned to a variable. '+
28-
'Consider using Array.prototype.forEach instead.';
28+
'Consider using Array.prototype.forEach instead.';
2929

3030
publicapply(sourceFile:ts.SourceFile):Lint.RuleFailure[]{
3131
returnthis.applyWithWalker(newNoMapWithoutAssignmentRuleWalker(sourceFile,this.getOptions()));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp