tslint-eslint-rules
Advanced tools
Comparing version 3.1.0 to 3.2.0
# Change Log | ||
## [v3.2.0] - 2016/12/14 00:50 GMT-0600 | ||
#### Rules Added | ||
- [ter-arrow-body-style](https://github.com/buzinas/tslint-eslint-rules/blob/master/src/docs/rules/terArrowBodyStyleRule.md) | ||
- [ter-arrow-parens](https://github.com/buzinas/tslint-eslint-rules/blob/master/src/docs/rules/terArrowParensRule.md) | ||
- [ter-arrow-spacing](https://github.com/buzinas/tslint-eslint-rules/blob/master/src/docs/rules/terArrowSpacingRule.md) | ||
#### Fixes | ||
- handle-callback-err: [Issue 146](https://github.com/buzinas/tslint-eslint-rules/issues/146) | ||
#### Changes | ||
- Added contributing file detailing how to use the current gulp tasks | ||
- Added links to the rule and test source in each of the rule documentation | ||
## [v3.1.0] - 2016/11/29 23:20 GTM-0600 | ||
@@ -183,2 +196,3 @@ #### Rules Added | ||
[v3.2.0]: https://github.com/buzinas/tslint-eslint-rules/compare/v3.1.0...v3.2.0 | ||
[v3.1.0]: https://github.com/buzinas/tslint-eslint-rules/compare/v3.0.0...v3.1.0 | ||
@@ -185,0 +199,0 @@ [v3.0.0]: https://github.com/buzinas/tslint-eslint-rules/compare/v2.2.1...v3.0.0 |
@@ -7,4 +7,4 @@ "use strict"; | ||
}; | ||
var ts = require('typescript'); | ||
var Lint = require('tslint'); | ||
var ts = require("typescript"); | ||
var Lint = require("tslint"); | ||
var OPTION_ALWAYS = 'always'; | ||
@@ -14,3 +14,3 @@ var Rule = (function (_super) { | ||
function Rule() { | ||
_super.apply(this, arguments); | ||
return _super.apply(this, arguments) || this; | ||
} | ||
@@ -21,10 +21,10 @@ Rule.prototype.apply = function (sourceFile) { | ||
}; | ||
Rule.FAILURE_STRING = { | ||
noBeginningSpace: 'There should be no space after "["', | ||
noEndingSpace: 'There should be no space before "]"', | ||
requiredBeginningSpace: 'A space is required after "["', | ||
requiredEndingSpace: 'A space is required before "]"' | ||
}; | ||
return Rule; | ||
}(Lint.Rules.AbstractRule)); | ||
Rule.FAILURE_STRING = { | ||
noBeginningSpace: 'There should be no space after "["', | ||
noEndingSpace: 'There should be no space before "]"', | ||
requiredBeginningSpace: 'A space is required after "["', | ||
requiredEndingSpace: 'A space is required before "]"' | ||
}; | ||
exports.Rule = Rule; | ||
@@ -34,13 +34,14 @@ var ArrayBracketSpacingWalker = (function (_super) { | ||
function ArrayBracketSpacingWalker(sourceFile, options) { | ||
_super.call(this, sourceFile, options); | ||
this.singleValueException = false; | ||
this.objectsInArraysException = false; | ||
this.arraysInArraysException = false; | ||
var ruleOptions = this.getOptions(); | ||
this.spaced = this.hasOption(OPTION_ALWAYS) || (ruleOptions && ruleOptions.length === 0); | ||
var _this = _super.call(this, sourceFile, options) || this; | ||
_this.singleValueException = false; | ||
_this.objectsInArraysException = false; | ||
_this.arraysInArraysException = false; | ||
var ruleOptions = _this.getOptions(); | ||
_this.spaced = _this.hasOption(OPTION_ALWAYS) || (ruleOptions && ruleOptions.length === 0); | ||
if (ruleOptions[1]) { | ||
this.singleValueException = typeof ruleOptions[1].singleValue !== 'undefined' && ruleOptions[1].singleValue !== this.spaced; | ||
this.objectsInArraysException = typeof ruleOptions[1].objectsInArrays !== 'undefined' && ruleOptions[1].objectsInArrays !== this.spaced; | ||
this.arraysInArraysException = typeof ruleOptions[1].arraysInArrays !== 'undefined' && ruleOptions[1].arraysInArrays !== this.spaced; | ||
_this.singleValueException = typeof ruleOptions[1].singleValue !== 'undefined' && ruleOptions[1].singleValue !== _this.spaced; | ||
_this.objectsInArraysException = typeof ruleOptions[1].objectsInArrays !== 'undefined' && ruleOptions[1].objectsInArrays !== _this.spaced; | ||
_this.arraysInArraysException = typeof ruleOptions[1].arraysInArrays !== 'undefined' && ruleOptions[1].arraysInArrays !== _this.spaced; | ||
} | ||
return _this; | ||
} | ||
@@ -64,5 +65,3 @@ ArrayBracketSpacingWalker.prototype.visitNode = function (node) { | ||
var syntaxList = node.getChildren()[1]; | ||
var itemsInArrayPattern = syntaxList.getChildren().filter(function (child) { | ||
return child.kind !== ts.SyntaxKind.CommaToken; | ||
}); | ||
var itemsInArrayPattern = syntaxList.getChildren().filter(function (child) { return child.kind !== ts.SyntaxKind.CommaToken; }); | ||
if (this.spaced && itemsInArrayPattern.length === 0) { | ||
@@ -116,2 +115,2 @@ return; | ||
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInJ1bGVzL2FycmF5QnJhY2tldFNwYWNpbmdSdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7OztBQUFBLElBQVksRUFBRSxXQUFNLFlBQVksQ0FBQyxDQUFBO0FBQ2pDLElBQVksSUFBSSxXQUFNLFFBQVEsQ0FBQyxDQUFBO0FBRS9CLElBQU0sYUFBYSxHQUFHLFFBQVEsQ0FBQztBQUUvQjtJQUEwQix3QkFBdUI7SUFBakQ7UUFBMEIsOEJBQXVCO0lBWWpELENBQUM7SUFKUSxvQkFBSyxHQUFaLFVBQWEsVUFBeUI7UUFDcEMsSUFBTSxNQUFNLEdBQUcsSUFBSSx5QkFBeUIsQ0FBQyxVQUFVLEVBQUUsSUFBSSxDQUFDLFVBQVUsRUFBRSxDQUFDLENBQUM7UUFDNUUsTUFBTSxDQUFDLElBQUksQ0FBQyxlQUFlLENBQUMsTUFBTSxDQUFDLENBQUM7SUFDdEMsQ0FBQztJQVZhLG1CQUFjLEdBQUc7UUFDN0IsZ0JBQWdCLEVBQUUsb0NBQW9DO1FBQ3RELGFBQWEsRUFBRSxxQ0FBcUM7UUFDcEQsc0JBQXNCLEVBQUUsK0JBQStCO1FBQ3ZELG1CQUFtQixFQUFFLGdDQUFnQztLQUN0RCxDQUFDO0lBTUosV0FBQztBQUFELENBWkEsQUFZQyxDQVp5QixJQUFJLENBQUMsS0FBSyxDQUFDLFlBQVksR0FZaEQ7QUFaWSxZQUFJLE9BWWhCLENBQUE7QUFFRDtJQUF3Qyw2Q0FBZTtJQU1yRCxtQ0FBW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FBQWEsRUFBRSxDQUFDLDZCQUE2QixDQUFDLElBQUksQ0FBQyxNQUFNLEVBQUUsQ0FBQyxDQUFDO0lBQzNFLENBQUM7SUFDSCxnQ0FBQztBQUFELENBaEdBLEFBZ0dDLENBaEd1QyxJQUFJLENBQUMsVUFBVSxHQWdHdEQiLCJmaWxlIjoicnVsZXMvYXJyYXlCcmFja2V0U3BhY2luZ1J1bGUuanMiLCJzb3VyY2VSb290IjoiL1VzZXJzL2ptbG9wZXovV29ya3NwYWNlL3RzbGludC1lc2xpbnQtcnVsZXMvc3JjIn0= |
@@ -7,4 +7,4 @@ "use strict"; | ||
}; | ||
var ts = require('typescript'); | ||
var Lint = require('tslint'); | ||
var ts = require("typescript"); | ||
var Lint = require("tslint"); | ||
var OPTION_ALWAYS = 'always'; | ||
@@ -14,3 +14,3 @@ var Rule = (function (_super) { | ||
function Rule() { | ||
_super.apply(this, arguments); | ||
return _super.apply(this, arguments) || this; | ||
} | ||
@@ -21,8 +21,8 @@ Rule.prototype.apply = function (sourceFile) { | ||
}; | ||
Rule.FAILURE_STRING = { | ||
always: 'Requires a space', | ||
never: 'Unexpected space(s)' | ||
}; | ||
return Rule; | ||
}(Lint.Rules.AbstractRule)); | ||
Rule.FAILURE_STRING = { | ||
always: 'Requires a space', | ||
never: 'Unexpected space(s)' | ||
}; | ||
exports.Rule = Rule; | ||
@@ -32,4 +32,5 @@ var BlockSpacingWalker = (function (_super) { | ||
function BlockSpacingWalker(sourceFile, options) { | ||
_super.call(this, sourceFile, options); | ||
this.always = this.hasOption(OPTION_ALWAYS) || (this.getOptions() && this.getOptions().length === 0); | ||
var _this = _super.call(this, sourceFile, options) || this; | ||
_this.always = _this.hasOption(OPTION_ALWAYS) || (_this.getOptions() && _this.getOptions().length === 0); | ||
return _this; | ||
} | ||
@@ -64,2 +65,2 @@ BlockSpacingWalker.prototype.visitNode = function (node) { | ||
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3Vy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lcy9zcmMifQ== |
@@ -7,4 +7,4 @@ "use strict"; | ||
}; | ||
var ts = require('typescript'); | ||
var Lint = require('tslint'); | ||
var ts = require("typescript"); | ||
var Lint = require("tslint"); | ||
var OPTION_1TBS = '1tbs'; | ||
@@ -22,3 +22,3 @@ var OPTION_ALLMAN = 'allman'; | ||
function Rule() { | ||
_super.apply(this, arguments); | ||
return _super.apply(this, arguments) || this; | ||
} | ||
@@ -29,12 +29,12 @@ Rule.prototype.apply = function (sourceFile) { | ||
}; | ||
Rule.FAILURE_STRING = { | ||
open: 'Opening curly brace does not appear on the same line as controlling statement.', | ||
openAllman: 'Opening curly brace appears on the same line as controlling statement.', | ||
body: 'Statement inside of curly braces should be on next line.', | ||
close: 'Closing curly brace does not appear on the same line as the subsequent block.', | ||
closeSingle: 'Closing curly brace should be on the same line as opening curly brace or on the line after the previous block.', | ||
closeStroustrupAllman: 'Closing curly brace appears on the same line as the subsequent block.' | ||
}; | ||
return Rule; | ||
}(Lint.Rules.AbstractRule)); | ||
Rule.FAILURE_STRING = { | ||
open: 'Opening curly brace does not appear on the same line as controlling statement.', | ||
openAllman: 'Opening curly brace appears on the same line as controlling statement.', | ||
body: 'Statement inside of curly braces should be on next line.', | ||
close: 'Closing curly brace does not appear on the same line as the subsequent block.', | ||
closeSingle: 'Closing curly brace should be on the same line as opening curly brace or on the line after the previous block.', | ||
closeStroustrupAllman: 'Closing curly brace appears on the same line as the subsequent block.' | ||
}; | ||
exports.Rule = Rule; | ||
@@ -44,16 +44,17 @@ var BraceStyleWalker = (function (_super) { | ||
function BraceStyleWalker(sourceFile, options) { | ||
_super.call(this, sourceFile, options); | ||
this.allowSingleLine = false; | ||
if (this.hasOption(OPTION_1TBS)) { | ||
this.braceStyle = BraceStyle.OneTBS; | ||
var _this = _super.call(this, sourceFile, options) || this; | ||
_this.allowSingleLine = false; | ||
if (_this.hasOption(OPTION_1TBS)) { | ||
_this.braceStyle = BraceStyle.OneTBS; | ||
} | ||
else if (this.hasOption(OPTION_ALLMAN)) { | ||
this.braceStyle = BraceStyle.Allman; | ||
else if (_this.hasOption(OPTION_ALLMAN)) { | ||
_this.braceStyle = BraceStyle.Allman; | ||
} | ||
else if (this.hasOption(OPTION_STROUSTRUP)) { | ||
this.braceStyle = BraceStyle.Stroustrup; | ||
else if (_this.hasOption(OPTION_STROUSTRUP)) { | ||
_this.braceStyle = BraceStyle.Stroustrup; | ||
} | ||
else { | ||
} | ||
this.allowSingleLine = this.getOptions()[1] && this.getOptions()[1].allowSingleLine; | ||
_this.allowSingleLine = _this.getOptions()[1] && _this.getOptions()[1].allowSingleLine; | ||
return _this; | ||
} | ||
@@ -153,2 +154,2 @@ BraceStyleWalker.prototype.visitTryStatement = function (tryStatement) { | ||
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInJ1bGVzL2JyYWNlU3R5bGVSdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7OztBQUFBLElBQVksRUFBRSxXQUFNLFlBQVksQ0FBQyxDQUFBO0FBQ2pDLElBQVksSUFBSSxXQUFNLFFBQVEsQ0FBQyxDQUFBO0FBRS9CLElBQU0sV0FBVyxHQUFHLE1BQU0sQ0FBQztBQUMzQixJQUFNLGFBQWEsR0FBRyxRQUFRLENBQUM7QUFDL0IsSUFBTSxpQkFBaUIsR0FBRyxZQUFZLENBQUM7QUFFdkMsSUFBSyxVQUlKO0FBSkQsV0FBSyxVQUFVO0lBQ2IsK0NBQU0sQ0FBQTtJQUNOLCtDQUFNLENBQUE7SUFDTix1REFBVSxDQUFBO0FBQ1osQ0FBQyxFQUpJLFVBQVUsS0FBVixVQUFVLFFBSWQ7QUFFRDtJQUEwQix3QkFBdUI7SUFBakQ7UUFBMEIsOEJBQXVCO0lBY2pELENBQUM7SUFKUSxvQkFBSyxHQUFaLFVBQWEsVUFBeUI7UUFDcEMsSUFBTSxNQUFNLEdBQUcsSUFBSSxnQkFBZ0Is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SxRQUFRLEdBQUcsUUFBUSxDQUFDLE9BQU8sQ0FBQyxJQUFJLENBQUMsR0FBRyxDQUFDLENBQUM7UUFDMUMsT0FBTyxRQUFRLElBQUksQ0FBQyxFQUFFLENBQUM7WUFDckIsRUFBRSxDQUFDLENBQUMsUUFBUSxDQUFDLFFBQVEsQ0FBQyxDQUFDLElBQUksS0FBSyxFQUFFLENBQUMsVUFBVSxDQUFDLEtBQUssSUFBSSxRQUFRLENBQUMsUUFBUSxDQUFDLENBQUMsSUFBSSxLQUFLLEVBQUUsQ0FBQyxVQUFVLENBQUMsV0FBVyxDQUFDLENBQUMsQ0FBQztnQkFDN0csTUFBTSxDQUFDLFFBQVEsQ0FBQyxRQUFRLENBQUMsQ0FBQztZQUM1QixDQUFDO1lBQ0QsUUFBUSxJQUFJLENBQUMsQ0FBQztRQUNoQixDQUFDO0lBQ0gsQ0FBQztJQUNILHVCQUFDO0FBQUQsQ0EvSUEsQUErSUMsQ0EvSThCLElBQUksQ0FBQyxVQUFVLEdBK0k3QyIsImZpbGUiOiJydWxlcy9icmFjZVN0eWxlUnVsZS5qcyIsInNvdXJjZVJvb3QiOiIvVXNlcnMvam1sb3Blei9Xb3Jrc3BhY2UvdHNsaW50LWVzbGludC1ydWxlcy9zcmMifQ== |
@@ -7,54 +7,117 @@ "use strict"; | ||
}; | ||
var Lint = require('tslint'); | ||
var ts = require("typescript"); | ||
var Lint = require("tslint"); | ||
var RULE_NAME = 'handle-callback-err'; | ||
var Rule = (function (_super) { | ||
__extends(Rule, _super); | ||
function Rule() { | ||
_super.apply(this, arguments); | ||
return _super.apply(this, arguments) || this; | ||
} | ||
Rule.prototype.apply = function (sourceFile) { | ||
var languageService = Lint.createLanguageService(sourceFile.fileName, sourceFile.getFullText()); | ||
return this.applyWithWalker(new ErrCallbackHandlerWalker(sourceFile, this.getOptions(), languageService)); | ||
return this.applyWithWalker(new ErrCallbackHandlerWalker(sourceFile, this.getOptions())); | ||
}; | ||
Rule.FAILURE_STRING = 'Expected error to be handled'; | ||
return Rule; | ||
}(Lint.Rules.AbstractRule)); | ||
Rule.metadata = { | ||
ruleName: RULE_NAME, | ||
description: 'enforce error handling in callbacks', | ||
rationale: (_a = ["\n In Node.js, a common pattern for dealing with asynchronous behavior is called the callback\n pattern. This pattern expects an Error object or null as the first argument of the callback.\n Forgetting to handle these errors can lead to some really strange behavior in your\n application.\n "], _a.raw = ["\n In Node.js, a common pattern for dealing with asynchronous behavior is called the callback\n pattern. This pattern expects an Error object or null as the first argument of the callback.\n Forgetting to handle these errors can lead to some really strange behavior in your\n application.\n "], Lint.Utils.dedent(_a)), | ||
optionsDescription: (_b = ["\n The rule takes a single string option: the name of the error parameter. The default is\n `\"err\"`.\n \n Sometimes the name of the error variable is not consistent across the project, so you need a\n more flexible configuration to ensure that the rule reports all unhandled errors.\n\n If the configured name of the error variable begins with a `^` it is considered to be a\n regexp pattern.\n\n - If the option is `\"^(err|error|anySpecificError)$\"`, the rule reports unhandled errors\n where the parameter name can be `err`, `error` or `anySpecificError`.\n - If the option is `\"^.+Error$\"`, the rule reports unhandled errors where the parameter\n name ends with `Error` (for example, `connectionError` or `validationError` will\n match).\n - If the option is `\"^.*(e|E)rr\"`, the rule reports unhandled errors where the parameter\n name matches any string that contains `err` or `Err` (for example, `err`, `error`,\n `anyError`, `some_err` will match).\n "], _b.raw = ["\n The rule takes a single string option: the name of the error parameter. The default is\n \\`\"err\"\\`.\n \n Sometimes the name of the error variable is not consistent across the project, so you need a\n more flexible configuration to ensure that the rule reports all unhandled errors.\n\n If the configured name of the error variable begins with a \\`^\\` it is considered to be a\n regexp pattern.\n\n - If the option is \\`\"^(err|error|anySpecificError)$\"\\`, the rule reports unhandled errors\n where the parameter name can be \\`err\\`, \\`error\\` or \\`anySpecificError\\`.\n - If the option is \\`\"^.+Error$\"\\`, the rule reports unhandled errors where the parameter\n name ends with \\`Error\\` (for example, \\`connectionError\\` or \\`validationError\\` will\n match).\n - If the option is \\`\"^.*(e|E)rr\"\\`, the rule reports unhandled errors where the parameter\n name matches any string that contains \\`err\\` or \\`Err\\` (for example, \\`err\\`, \\`error\\`,\n \\`anyError\\`, \\`some_err\\` will match).\n "], Lint.Utils.dedent(_b)), | ||
options: { | ||
type: 'array', | ||
items: [{ | ||
type: 'string' | ||
}], | ||
minLength: 0, | ||
maxLength: 1 | ||
}, | ||
optionExamples: [ | ||
(_c = ["\n \"", "\": [true, \"error\"]\n "], _c.raw = ["\n \"", "\": [true, \"error\"]\n "], Lint.Utils.dedent(_c, RULE_NAME)), | ||
(_d = ["\n \"", "\": [true, \"^(err|error|anySpecificError)$\"]\n "], _d.raw = ["\n \"", "\": [true, \"^(err|error|anySpecificError)$\"]\n "], Lint.Utils.dedent(_d, RULE_NAME)) | ||
], | ||
typescriptOnly: false, | ||
type: 'maintainability' | ||
}; | ||
Rule.FAILURE_STRING = 'Expected error to be handled'; | ||
exports.Rule = Rule; | ||
var ErrCallbackHandlerWalker = (function (_super) { | ||
__extends(ErrCallbackHandlerWalker, _super); | ||
function ErrCallbackHandlerWalker(sourceFile, options, languageService) { | ||
_super.call(this, sourceFile, options); | ||
this.languageService = languageService; | ||
function ErrCallbackHandlerWalker(sourceFile, options) { | ||
var _this = _super.call(this, sourceFile, options) || this; | ||
_this.stack = []; | ||
var errorArgument = options.ruleArguments[0] || 'err'; | ||
if (errorArgument.charAt(0) === '^') { | ||
this.errorCheck = RegExp.prototype.test.bind(new RegExp(errorArgument)); | ||
_this.errorCheck = RegExp.prototype.test.bind(new RegExp(errorArgument)); | ||
} | ||
else { | ||
this.errorCheck = function (name) { return name === errorArgument; }; | ||
_this.errorCheck = (function (name) { return name === errorArgument; }); | ||
} | ||
_this.firstParameterName = function (node) { | ||
var param = node.parameters[0]; | ||
return param ? param.name.getText(sourceFile) : undefined; | ||
}; | ||
return _this; | ||
} | ||
ErrCallbackHandlerWalker.prototype.visitFunctionExpression = function (node) { | ||
this.validateFunction(node); | ||
_super.prototype.visitFunctionExpression.call(this, node); | ||
ErrCallbackHandlerWalker.prototype.enterScope = function (firstParamName) { | ||
this.stack.push({ | ||
firstParamName: firstParamName, | ||
hasFirstParam: false | ||
}); | ||
}; | ||
ErrCallbackHandlerWalker.prototype.exitScope = function () { | ||
return this.stack.pop(); | ||
}; | ||
ErrCallbackHandlerWalker.prototype.visitSourceFile = function (node) { | ||
this.stack = []; | ||
_super.prototype.visitSourceFile.call(this, node); | ||
}; | ||
ErrCallbackHandlerWalker.prototype.visitFunctionDeclaration = function (node) { | ||
this.validateFunction(node); | ||
this.enterScope(this.firstParameterName(node)); | ||
_super.prototype.visitFunctionDeclaration.call(this, node); | ||
this.exitFunction(node); | ||
}; | ||
ErrCallbackHandlerWalker.prototype.visitFunctionExpression = function (node) { | ||
this.enterScope(this.firstParameterName(node)); | ||
_super.prototype.visitFunctionExpression.call(this, node); | ||
this.exitFunction(node); | ||
}; | ||
ErrCallbackHandlerWalker.prototype.visitArrowFunction = function (node) { | ||
this.validateFunction(node); | ||
this.enterScope(this.firstParameterName(node)); | ||
_super.prototype.visitArrowFunction.call(this, node); | ||
this.exitFunction(node); | ||
}; | ||
ErrCallbackHandlerWalker.prototype.validateFunction = function (node) { | ||
var parameter = node.parameters[0]; | ||
if (parameter && this.errorCheck(parameter.name.getText())) { | ||
var fileName = this.getSourceFile().fileName; | ||
var highlights = this.languageService.getDocumentHighlights(fileName, parameter.pos, [fileName]); | ||
if (!highlights || highlights[0].highlightSpans.length <= 1) { | ||
this.addFailure(this.createFailure(parameter.name.getStart(), parameter.name.getWidth(), Rule.FAILURE_STRING)); | ||
ErrCallbackHandlerWalker.prototype.visitCatchClause = function (node) { | ||
this.enterScope(node.variableDeclaration ? node.variableDeclaration.name.getText() : undefined); | ||
_super.prototype.visitCatchClause.call(this, node); | ||
this.exitScope(); | ||
}; | ||
ErrCallbackHandlerWalker.prototype.exitFunction = function (node) { | ||
var scopeInfo = this.exitScope(); | ||
var param = scopeInfo.firstParamName; | ||
if (param && this.errorCheck(param) && !scopeInfo.hasFirstParam) { | ||
var name_1 = node.parameters[0].name; | ||
var failure = this.createFailure(name_1.getStart(this.getSourceFile()), name_1.getWidth(this.getSourceFile()), Rule.FAILURE_STRING); | ||
this.addFailure(failure); | ||
} | ||
}; | ||
ErrCallbackHandlerWalker.prototype.visitNode = function (node) { | ||
if (this.stack.length > 0 && | ||
node.parent.kind !== ts.SyntaxKind.Parameter && | ||
node.kind === ts.SyntaxKind.Identifier) { | ||
var text = node.text; | ||
var i = this.stack.length; | ||
while (i--) { | ||
var info = this.stack[i]; | ||
if (text === info.firstParamName) { | ||
info.hasFirstParam = true; | ||
break; | ||
} | ||
} | ||
} | ||
_super.prototype.visitNode.call(this, node); | ||
}; | ||
return ErrCallbackHandlerWalker; | ||
}(Lint.RuleWalker)); | ||
var _a, _b, _c, _d; | ||
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInJ1bGVzL2hhbmRsZUNhbGxiYWNrRXJyUnVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFDQSxJQUFZLElBQUksV0FBTSxRQUFRLENBQUMsQ0FBQTtBQUUvQjtJQUEwQix3QkFBdUI7SUFBakQ7UUFBMEIsOEJBQXVCO0lBT2pELENBQUM7SUFKUSxvQkFBSyxHQUFaLFVBQWEsVUFBeUI7UUFDcEMsSUFBTSxlQUFlLEdBQUcsSUFBSSxDQUFDLHFCQUFxQixDQUFDLFVBQVUsQ0FBQyxRQUFRLEVBQUUsVUFBVSxDQUFDLFdBQVcsRUFBRSxDQUFDLENBQUM7UUFDbEcsTUFBTSxDQUFDLElBQUksQ0FBQyxlQUFlLENBQUMsSUFBSSx3QkFBd0IsQ0FBQyxVQUFVLEVBQUUsSUFBSSxDQUFDLFVBQVUsRUFBRSxFQUFFLGVBQWUsQ0FBQyxDQUFDLENBQUM7SUFDNUcsQ0FBQztJQUxhLG1CQUFjLEdBQUcsOEJBQThCLENBQUM7SUFNaEUsV0FB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QUFDO29CQUMxQixLQUFLLENBQUM7Z0JBQ1IsQ0FBQztZQUNILENBQUM7UUFDSCxDQUFDO1FBQ0QsaUJBQU0sU0FBUyxZQUFDLElBQUksQ0FBQyxDQUFDO0lBQ3hCLENBQUM7SUFDSCwrQkFBQztBQUFELENBekdBLEFBeUdDLENBekdzQyxJQUFJLENBQUMsVUFBVSxHQXlHckQiLCJmaWxlIjoicnVsZXMvaGFuZGxlQ2FsbGJhY2tFcnJSdWxlLmpzIiwic291cmNlUm9vdCI6Ii9Vc2Vycy9qbWxvcGV6L1dvcmtzcGFjZS90c2xpbnQtZXNsaW50LXJ1bGVzL3NyYyJ9 |
@@ -7,9 +7,9 @@ "use strict"; | ||
}; | ||
var ts = require('typescript'); | ||
var Lint = require('tslint'); | ||
var token_1 = require('../support/token'); | ||
var ts = require("typescript"); | ||
var Lint = require("tslint"); | ||
var token_1 = require("../support/token"); | ||
var Rule = (function (_super) { | ||
__extends(Rule, _super); | ||
function Rule() { | ||
_super.apply(this, arguments); | ||
return _super.apply(this, arguments) || this; | ||
} | ||
@@ -20,5 +20,5 @@ Rule.prototype.apply = function (sourceFile) { | ||
}; | ||
Rule.FAILURE_STRING = 'unexpected constant condition'; | ||
return Rule; | ||
}(Lint.Rules.AbstractRule)); | ||
Rule.FAILURE_STRING = 'unexpected constant condition'; | ||
exports.Rule = Rule; | ||
@@ -28,9 +28,10 @@ var NoConstantConditionWalker = (function (_super) { | ||
function NoConstantConditionWalker(sourceFile, options) { | ||
_super.call(this, sourceFile, options); | ||
this.checkLoops = true; | ||
this.isInConditional = false; | ||
var opts = this.getOptions(); | ||
var _this = _super.call(this, sourceFile, options) || this; | ||
_this.checkLoops = true; | ||
_this.isInConditional = false; | ||
var opts = _this.getOptions(); | ||
if (opts.length && opts[0].checkLoops === false) { | ||
this.checkLoops = false; | ||
_this.checkLoops = false; | ||
} | ||
return _this; | ||
} | ||
@@ -101,2 +102,2 @@ NoConstantConditionWalker.prototype.visitIfStatement = function (node) { | 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FLElBQTRCLENBQUMsS0FBSyxDQUFDLENBQUM7WUFDckgsS0FBSyxFQUFFLENBQUMsVUFBVSxDQUFDLHFCQUFxQjtnQkFDdEMsTUFBTSxDQUFDLElBQUksQ0FBQyxVQUFVLENBQUUsSUFBaUMsQ0FBQyxTQUFTLENBQUMsQ0FBQztZQUN2RSxLQUFLLEVBQUUsQ0FBQyxVQUFVLENBQUMscUJBQXFCO2dCQUN0QyxNQUFNLENBQUMsSUFBSSxDQUFDLFVBQVUsQ0FBRSxJQUFpQyxDQUFDLE9BQU8sQ0FBQyxDQUFDO1lBQ3JFLEtBQUssRUFBRSxDQUFDLFVBQVUsQ0FBQyx1QkFBdUI7Z0JBQ3hDLE1BQU0sQ0FBQyxJQUFJLENBQUMsVUFBVSxDQUFFLElBQW1DLENBQUMsVUFBVSxDQUFDLENBQUM7UUFDNUUsQ0FBQztRQUVELE1BQU0sQ0FBQyxLQUFLLENBQUM7SUFDZixDQUFDO0lBQ0gsZ0NBQUM7QUFBRCxDQTNGQSxBQTJGQyxDQTNGdUMsSUFBSSxDQUFDLFVBQVUsR0EyRnREIiwiZmlsZSI6InJ1bGVzL25vQ29uc3RhbnRDb25kaXRpb25SdWxlLmpzIiwic291cmNlUm9vdCI6Ii9Vc2Vycy9qbWxvcGV6L1dvcmtzcGFjZS90c2xpbnQtZXNsaW50LXJ1bGVzL3NyYyJ9 |
@@ -7,8 +7,8 @@ "use strict"; | ||
}; | ||
var ts = require('typescript'); | ||
var Lint = require('tslint'); | ||
var ts = require("typescript"); | ||
var Lint = require("tslint"); | ||
var Rule = (function (_super) { | ||
__extends(Rule, _super); | ||
function Rule() { | ||
_super.apply(this, arguments); | ||
return _super.apply(this, arguments) || this; | ||
} | ||
@@ -19,5 +19,5 @@ Rule.prototype.apply = function (sourceFile) { | ||
}; | ||
Rule.FAILURE_STRING = 'unexpected control character in regular expression'; | ||
return Rule; | ||
}(Lint.Rules.AbstractRule)); | ||
Rule.FAILURE_STRING = 'unexpected control character in regular expression'; | ||
exports.Rule = Rule; | ||
@@ -27,3 +27,3 @@ var NoControlRegexWalker = (function (_super) { | ||
function NoControlRegexWalker() { | ||
_super.apply(this, arguments); | ||
return _super.apply(this, arguments) || this; | ||
} | ||
@@ -59,2 +59,2 @@ NoControlRegexWalker.prototype.visitRegularExpressionLiteral = function (node) { | ||
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInJ1bGVzL25vQ29udHJvbFJlZ2V4UnVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQSxJQUFZLEVBQUUsV0FBTSxZQUFZLENBQUMsQ0FBQTtBQUNqQyxJQUFZLElBQUksV0FBTSxRQUFRLENBQUMsQ0FBQTtBQUUvQjtJQUEwQix3QkFBdUI7SUFBakQ7UUFBMEIsOEJBQXVCO0lBT2pELENBQUM7SUFKUSxvQkFBSyxHQUFaLFVBQWEsVUFBeUI7UUFDcEMsSUFBTSxNQUFNLEdBQUcsSUFBSSxvQkFBb0IsQ0FBQyxVQUFVLEVBQUUsSUFBSSxDQUFDLFVBQVUsRUFBRSxDQUFDLENBQUM7UUFDdkUsTUFBTSxDQUFDLElBQUksQ0FBQyxlQUFlLENBQUMsTUFBTSxDQUFDLENBQUM7SUFDdEMsQ0FBQztJQUxhLG1CQUFjLEdBQUcsb0RBQW9ELENBQUM7SUFNdEYsV0FBQztBQUFELENBUEEsQUFPQyxDQVB5QixJQUFJLENBQUMsS0FBSyxDQUFDLFlBQVksR0FPaEQ7QUFQWSxZQUFJLE9BT2hCLENBQUE7QUFFRDtJQUFtQyx3Q0FBZTtJQUFsRDtRQUFtQyw4QkFBZTtJQStCbEQsQ0FBQztJQTlCVyw0REFBNkIsR0FBdkMsVUFBd0MsSUFBMEI7UUFDaEUsSUFBSSxDQUFDLG9CQUFvQixDQUFDLElBQUksQ0FBQyxDQUFDO1FBQ2hDLGdCQUFLLENBQUMsNkJBQTZCLFlBQUM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zFHLElBQUksQ0FBQyxvQkFBb0IsQ0FBQyxJQUFJLENBQUMsU0FBUyxDQUFDLENBQUMsQ0FBcUIsQ0FBQyxDQUFDO1FBQ25FLENBQUM7SUFDSCxDQUFDO0lBRU8sbURBQW9CLEdBQTVCLFVBQTZCLElBQTBCO1FBQ3JELEVBQUUsQ0FBQyxDQUFDLGFBQWEsQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQyxDQUFDLENBQUMsQ0FBQztZQUNsQyxJQUFJLENBQUMsVUFBVSxDQUFDLElBQUksQ0FBQyxhQUFhLENBQUMsSUFBSSxDQUFDLFFBQVEsRUFBRSxFQUFFLElBQUksQ0FBQyxRQUFRLEVBQUUsRUFBRSxJQUFJLENBQUMsY0FBYyxDQUFDLENBQUMsQ0FBQztRQUM3RixDQUFDO0lBQ0gsQ0FBQztJQUNILDJCQUFDO0FBQUQsQ0EvQkEsQUErQkMsQ0EvQmtDLElBQUksQ0FBQyxVQUFVLEdBK0JqRCIsImZpbGUiOiJydWxlcy9ub0NvbnRyb2xSZWdleFJ1bGUuanMiLCJzb3VyY2VSb290IjoiL1VzZXJzL2ptbG9wZXovV29ya3NwYWNlL3RzbGludC1lc2xpbnQtcnVsZXMvc3JjIn0= |
@@ -7,8 +7,8 @@ "use strict"; | ||
}; | ||
var ts = require('typescript'); | ||
var Lint = require('tslint'); | ||
var ts = require("typescript"); | ||
var Lint = require("tslint"); | ||
var Rule = (function (_super) { | ||
__extends(Rule, _super); | ||
function Rule() { | ||
_super.apply(this, arguments); | ||
return _super.apply(this, arguments) || this; | ||
} | ||
@@ -19,5 +19,5 @@ Rule.prototype.apply = function (sourceFile) { | ||
}; | ||
Rule.FAILURE_STRING = 'duplicate case label'; | ||
return Rule; | ||
}(Lint.Rules.AbstractRule)); | ||
Rule.FAILURE_STRING = 'duplicate case label'; | ||
exports.Rule = Rule; | ||
@@ -27,3 +27,3 @@ var NoDuplicateCaseWalker = (function (_super) { | ||
function NoDuplicateCaseWalker() { | ||
_super.apply(this, arguments); | ||
return _super.apply(this, arguments) || this; | ||
} | ||
@@ -52,2 +52,2 @@ NoDuplicateCaseWalker.prototype.visitSwitchStatement = function (node) { | ||
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInJ1bGVzL25vRHVwbGljYXRlQ2FzZVJ1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBQUEsSUFBWSxFQUFFLFdBQU0sWUFBWSxDQUFDLENBQUE7QUFDakMsSUFBWSxJQUFJLFdBQU0sUUFBUSxDQUFDLENBQUE7QUFFL0I7SUFBMEIsd0JBQXVCO0lBQWpEO1FBQTBCLDhCQUF1QjtJQU9qRCxDQUFDO0lBSlEsb0JBQUssR0FBWixVQUFhLFVBQXlCO1FBQ3BDLElBQU0sTUFBTSxHQUFHLElBQUkscUJBQXFCLENBQUMsVUFBVSxFQUFFLElBQUksQ0FBQyxVQUFVLEVBQUUsQ0FBQyxDQUFDO1FBQ3hFLE1BQU0sQ0FBQyxJQUFJLENBQUMsZUFBZSxDQUFDLE1BQU0sQ0FBQyxDQUFDO0lBQ3RDLENBQUM7SUFMYSxtQkFBYyxHQUFHLHNCQUFzQixDQUFDO0lBTXhELFdBQUM7QUFBRCxDQVBBLEFBT0MsQ0FQeUIsSUFBSSxDQUFDLEtBQUssQ0FBQyxZQUFZLEdBT2hEO0FBUFksWUFBSSxPQU9oQixDQUFBO0FBRUQ7SUFBb0MseUNBQWU7SUFBbkQ7UUFBb0MsOEJBQWU7SUFxQm5ELENBQUM7SUFwQlcsb0RBQW9CLEdBQTlCLFVBQStCLElBQXdCO1FBQ3JELElBQUksQ0FBQyxrQkFBa0IsQ0FBQyxJQUFJLENBQUMsQ0FBQztRQUM5QixnQkFBSyxDQUFDLG9CQUFvQixZQUFDLElBQUksQ0FBQyxDQUFDO0lBQ25DLENBQUM7SUFFTyxrREFBa0IsR0FBMUIsVUFBM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QU0sQ0FBQyxPQUFPLEVBQUUsQ0FBQztnQkFDN0IsRUFBRSxDQUFDLENBQUMsS0FBSyxDQUFDLEdBQUcsQ0FBQyxDQUFDLENBQUMsQ0FBQztvQkFDZixLQUFJLENBQUMsVUFBVSxDQUFDLEtBQUksQ0FBQyxhQUFhLENBQUMsSUFBSSxDQUFDLFFBQVEsRUFBRSxFQUFFLElBQUksQ0FBQyxRQUFRLEVBQUUsRUFBRSxJQUFJLENBQUMsY0FBYyxDQUFDLENBQUMsQ0FBQztnQkFDN0YsQ0FBQztnQkFDRCxJQUFJLENBQUMsQ0FBQztvQkFDSixLQUFLLENBQUMsR0FBRyxDQUFDLEdBQUcsTUFBdUIsQ0FBQztnQkFDdkMsQ0FBQztZQUNILENBQUM7UUFDSCxDQUFDLENBQUMsQ0FBQztJQUNMLENBQUM7SUFDSCw0QkFBQztBQUFELENBckJBLEFBcUJDLENBckJtQyxJQUFJLENBQUMsVUFBVSxHQXFCbEQiLCJmaWxlIjoicnVsZXMvbm9EdXBsaWNhdGVDYXNlUnVsZS5qcyIsInNvdXJjZVJvb3QiOiIvVXNlcnMvam1sb3Blei9Xb3Jrc3BhY2UvdHNsaW50LWVzbGludC1ydWxlcy9zcmMifQ== |
@@ -7,7 +7,7 @@ "use strict"; | ||
}; | ||
var Lint = require('tslint'); | ||
var Lint = require("tslint"); | ||
var Rule = (function (_super) { | ||
__extends(Rule, _super); | ||
function Rule() { | ||
_super.apply(this, arguments); | ||
return _super.apply(this, arguments) || this; | ||
} | ||
@@ -18,5 +18,5 @@ Rule.prototype.apply = function (sourceFile) { | ||
}; | ||
Rule.FAILURE_STRING = "don't use empty classes in regular expressions"; | ||
return Rule; | ||
}(Lint.Rules.AbstractRule)); | ||
Rule.FAILURE_STRING = "don't use empty classes in regular expressions"; | ||
exports.Rule = Rule; | ||
@@ -26,3 +26,3 @@ var NoEmptyCharacterClassWalker = (function (_super) { | ||
function NoEmptyCharacterClassWalker() { | ||
_super.apply(this, arguments); | ||
return _super.apply(this, arguments) || this; | ||
} | ||
@@ -41,2 +41,2 @@ NoEmptyCharacterClassWalker.prototype.visitRegularExpressionLiteral = function (node) { | ||
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInJ1bGVzL25vRW1wdHlDaGFyYWN0ZXJDbGFzc1J1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBQ0EsSUFBWSxJQUFJLFdBQU0sUUFBUSxDQUFDLENBQUE7QUFFL0I7SUFBMEIsd0JBQXVCO0lBQWpEO1FBQTBCLDhCQUF1QjtJQU9qRCxDQUFDO0lBSlEsb0JBQUssR0FBWixVQUFhLFVBQXlCO1FBQ3BDLElBQU0sTUFBTSxHQUFHLElBQUksMkJBQTJCLENBQUMsVUFBVSxFQUFFLElBQUksQ0FBQyxVQUFVLEVBQUUsQ0FBQyxDQUFDO1FBQzlFLE1BQU0sQ0FBQyxJQUFJLENBQUMsZUFBZSxDQUFDLE1BQU0sQ0FBQyxDQUFDO0lBQ3RDLENBQUM7SUFMYSxtQkFBYyxHQUFHLGdEQUFnRCxDQUFDO0lBTWxGLFdBQUM7QUFBRCxDQVBBLEFBT0MsQ0FQeUIsSUFBSSxDQUFDLEtBQUssQ0FBQyxZQUFZLEdBT2hEO0FBUFksWUFBSSxPQU9oQixDQUFBO0FBRUQ7SUFBMEMsK0NBQWU7SUFBekQ7UUFBMEMsOEJBQWU7SUFXekQsQ0FBQztJQVZXLG1FQUE2QixHQUF2QyxVQUF3QyxJQUEwQjtRQUNoRSxJQUFJLENBQUMsMkJBQTJCLENBQUMsSUFBSSxDQUFDLENBQUM7UUFDdkMsZ0JBQUssQ0FBQyw2QkFBNkIsWUFBQyxJQUFJLENBQUMsQ0FBQztJQUM1QyxDQUFDO0lBRU8saUVBQTJCLEdBQW5DLFVBQW9DLElBQTBCO1FBQzVELEVBQUUsQ0FBQyxDQUFDLENBQUMsQ0FBQyw4Q0F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DQUFDO0FBRHJFLG9CQUFJO0FBU2pCO0lBQTBDLCtDQUFlO0lBQXpEOztJQVdBLENBQUM7SUFWVyxtRUFBNkIsR0FBdkMsVUFBd0MsSUFBMEI7UUFDaEUsSUFBSSxDQUFDLDJCQUEyQixDQUFDLElBQUksQ0FBQyxDQUFDO1FBQ3ZDLGlCQUFNLDZCQUE2QixZQUFDLElBQUksQ0FBQyxDQUFDO0lBQzVDLENBQUM7SUFFTyxpRUFBMkIsR0FBbkMsVUFBb0MsSUFBMEI7UUFDNUQsRUFBRSxDQUFDLENBQUMsQ0FBQyxDQUFDLDhDQUE4QyxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUM7WUFDdEUsSUFBSSxDQUFDLFVBQVUsQ0FBQyxJQUFJLENBQUMsYUFBYSxDQUFDLElBQUksQ0FBQyxRQUFRLEVBQUUsRUFBRSxJQUFJLENBQUMsUUFBUSxFQUFFLEVBQUUsSUFBSSxDQUFDLGNBQWMsQ0FBQyxDQUFDLENBQUM7UUFDN0YsQ0FBQztJQUNILENBQUM7SUFDSCxrQ0FBQztBQUFELENBWEEsQUFXQyxDQVh5QyxJQUFJLENBQUMsVUFBVSxHQVd4RCIsImZpbGUiOiJydWxlcy9ub0VtcHR5Q2hhcmFjdGVyQ2xhc3NSdWxlLmpzIiwic291cmNlUm9vdCI6Ii9Vc2Vycy9qbWxvcGV6L1dvcmtzcGFjZS90c2xpbnQtZXNsaW50LXJ1bGVzL3NyYyJ9 |
@@ -7,9 +7,9 @@ "use strict"; | ||
}; | ||
var ts = require('typescript'); | ||
var Lint = require('tslint'); | ||
var token_1 = require('../support/token'); | ||
var ts = require("typescript"); | ||
var Lint = require("tslint"); | ||
var token_1 = require("../support/token"); | ||
var Rule = (function (_super) { | ||
__extends(Rule, _super); | ||
function Rule() { | ||
_super.apply(this, arguments); | ||
return _super.apply(this, arguments) || this; | ||
} | ||
@@ -20,5 +20,5 @@ Rule.prototype.apply = function (sourceFile) { | ||
}; | ||
Rule.FAILURE_STRING = 'do not assign to the exception parameter'; | ||
return Rule; | ||
}(Lint.Rules.AbstractRule)); | ||
Rule.FAILURE_STRING = 'do not assign to the exception parameter'; | ||
exports.Rule = Rule; | ||
@@ -28,5 +28,6 @@ var NoExAssignWalker = (function (_super) { | ||
function NoExAssignWalker() { | ||
_super.apply(this, arguments); | ||
this.isInCatchClause = false; | ||
this.variableNode = null; | ||
var _this = _super.apply(this, arguments) || this; | ||
_this.isInCatchClause = false; | ||
_this.variableNode = null; | ||
return _this; | ||
} | ||
@@ -61,2 +62,2 @@ NoExAssignWalker.prototype.visitCatchClause = function (node) { | ||
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInJ1bGVzL25vRXhBc3NpZ25SdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7OztBQUFBLElBQVksRUFBRSxXQUFNLFlBQVksQ0FBQyxDQUFBO0FBQ2pDLElBQVksSUFBSSxXQUFNLFFBQVEsQ0FBQyxDQUFBO0FBQy9CLHNCQUFrQyxrQkFBa0IsQ0FBQyxDQUFBO0FBRXJEO0lBQTBCLHdCQUF1QjtJQUFqRDtRQUEwQiw4QkFBdUI7SUFPakQsQ0FBQztJQUpRLG9CQUFLLEdBQVosVUFBYSxVQUF5QjtRQUNwQyxJQUFNLE1BQU0sR0FBRyxJQUFJLGdCQUFnQixDQUFDLFVBQVUsRUFBRSxJQUFJLENBQUMsVUFBVSxFQUFFLENBQUMsQ0FBQztRQUNuRSxNQUFNLENBQUMsSUFBSSxDQUFDLGVBQWUsQ0FBQyxNQUFNLENBQUMsQ0FBQztJQUN0QyxDQUFDO0lBTGEsbUJBQWMsR0FBRywwQ0FBMEMsQ0FBQztJQU01RSxXQUFDO0FBQUQsQ0FQQSxBQU9DLENBUHlCLElBQUksQ0FBQyxLQUFLLENBQUMsWUFBWSxHQU9oRDtBQ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QyxJQUFJLENBQUMsYUFBYSxDQUFDLElBQUksQ0FBQyxRQUFRLEVBQUUsRUFBRSxJQUFJLENBQUMsUUFBUSxFQUFFLEVBQUUsSUFBSSxDQUFDLGNBQWMsQ0FBQyxDQUFDLENBQUM7Z0JBQzdGLENBQUM7WUFDSCxDQUFDO1FBQ0gsQ0FBQztRQUNELGlCQUFNLHFCQUFxQixZQUFDLElBQUksQ0FBQyxDQUFDO0lBQ3BDLENBQUM7SUFDSCx1QkFBQztBQUFELENBOUJBLEFBOEJDLENBOUI4QixJQUFJLENBQUMsVUFBVSxHQThCN0MiLCJmaWxlIjoicnVsZXMvbm9FeEFzc2lnblJ1bGUuanMiLCJzb3VyY2VSb290IjoiL1VzZXJzL2ptbG9wZXovV29ya3NwYWNlL3RzbGludC1lc2xpbnQtcnVsZXMvc3JjIn0= |
@@ -7,8 +7,8 @@ "use strict"; | ||
}; | ||
var ts = require('typescript'); | ||
var Lint = require('tslint'); | ||
var ts = require("typescript"); | ||
var Lint = require("tslint"); | ||
var Rule = (function (_super) { | ||
__extends(Rule, _super); | ||
function Rule() { | ||
_super.apply(this, arguments); | ||
return _super.apply(this, arguments) || this; | ||
} | ||
@@ -19,14 +19,14 @@ Rule.prototype.apply = function (sourceFile) { | ||
}; | ||
Rule.FAILURE_STRING = { | ||
if: 'redundant double negation in an if statement condition', | ||
do: 'redundant double negation in a do while loop condition', | ||
while: 'redundant double negation in a while loop condition', | ||
ternaryif: 'redundant double negation in a ternary condition', | ||
for: 'redundant double negation in a for loop condition', | ||
unaryCast: 'redundant multiple negation', | ||
objectCast: 'redundant double negation in call to Boolean()', | ||
newCast: 'redundant double negation in Boolean constructor call' | ||
}; | ||
return Rule; | ||
}(Lint.Rules.AbstractRule)); | ||
Rule.FAILURE_STRING = { | ||
if: 'redundant double negation in an if statement condition', | ||
do: 'redundant double negation in a do while loop condition', | ||
while: 'redundant double negation in a while loop condition', | ||
ternaryif: 'redundant double negation in a ternary condition', | ||
for: 'redundant double negation in a for loop condition', | ||
unaryCast: 'redundant multiple negation', | ||
objectCast: 'redundant double negation in call to Boolean()', | ||
newCast: 'redundant double negation in Boolean constructor call' | ||
}; | ||
exports.Rule = Rule; | ||
@@ -36,3 +36,3 @@ var NoExtraBooleanCastWalker = (function (_super) { | ||
function NoExtraBooleanCastWalker() { | ||
_super.apply(this, arguments); | ||
return _super.apply(this, arguments) || this; | ||
} | ||
@@ -82,2 +82,2 @@ NoExtraBooleanCastWalker.prototype.visitPrefixUnaryExpression = function (node) { | ||
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInJ1bGVzL25vRXh0cmFCb29sZWFuQ2FzdFJ1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBQUEsSUFBWSxFQUFFLFdBQU0sWUFBWSxDQUFDLENBQUE7QUFDakMsSUFBWSxJQUFJLFdBQU0sUUFBUSxDQUFDLENBQUE7QUFFL0I7SUFBMEIsd0JBQXVCO0lBQWpEO1FBQTBCLDhCQUF1QjtJQWdCakQsQ0FBQztJQUpRLG9CQUFLLEdBQVosVUFBYSxVQUF5QjtRQUNwQyxJQUFNLE1BQU0sR0FBRyxJQUFJLHdCQUF3QixDQUFDLFVBQVUsRUFBRSxJQUFJLENBQUMsVUFBVSxFQUFFLENBQUMsQ0FBQztRQUMzRSxNQUFNLENBQUMsSUFBSSxDQUFDLGVBQWUsQ0FBQyxNQUFNLENBQUMsQ0FBQztJQUN0QyxDQUFDO0lBZGEsbUJBQWMsR0FBRztRQUM3QixFQUFFLEVBQUUsd0RBQXdEO1FBQzVELEVBQUUsRUFBRSx3REFBd0Q7UUFDNUQsS0FBSyxFQUFFLHFEQUFxRDtRQUM1RCxTQUFTLEVBQUUsa0RBQWtEO1FBQzdELEdBQUcsRUFBRSxtREFBbUQ7UUFDeEQsU0FBUyxFQUFFLDZCQUE2QjtRQUN4QyxVQUFVLEVBQUUsZ0RBQWdEO1FBQz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0FBQyxVQUFVLENBQUMsSUFBSSxDQUFDLGFBQWEsQ0FBQyxJQUFJLENBQUMsUUFBUSxFQUFFLEVBQUUsSUFBSSxDQUFDLFFBQVEsRUFBRSxFQUFFLElBQUksQ0FBQyxjQUFjLENBQUMsT0FBTyxDQUFDLENBQUMsQ0FBQztRQUNyRyxDQUFDO0lBQ0gsQ0FBQztJQUNILCtCQUFDO0FBQUQsQ0FoREEsQUFnREMsQ0FoRHNDLElBQUksQ0FBQyxVQUFVLEdBZ0RyRCIsImZpbGUiOiJydWxlcy9ub0V4dHJhQm9vbGVhbkNhc3RSdWxlLmpzIiwic291cmNlUm9vdCI6Ii9Vc2Vycy9qbWxvcGV6L1dvcmtzcGFjZS90c2xpbnQtZXNsaW50LXJ1bGVzL3NyYyJ9 |
@@ -7,8 +7,8 @@ "use strict"; | ||
}; | ||
var ts = require('typescript'); | ||
var Lint = require('tslint'); | ||
var ts = require("typescript"); | ||
var Lint = require("tslint"); | ||
var Rule = (function (_super) { | ||
__extends(Rule, _super); | ||
function Rule() { | ||
_super.apply(this, arguments); | ||
return _super.apply(this, arguments) || this; | ||
} | ||
@@ -19,5 +19,5 @@ Rule.prototype.apply = function (sourceFile) { | ||
}; | ||
Rule.FAILURE_STRING = 'unnecessary semicolon'; | ||
return Rule; | ||
}(Lint.Rules.AbstractRule)); | ||
Rule.FAILURE_STRING = 'unnecessary semicolon'; | ||
exports.Rule = Rule; | ||
@@ -27,4 +27,4 @@ var NoExtraSemiWalker = (function (_super) { | ||
function NoExtraSemiWalker() { | ||
_super.apply(this, arguments); | ||
this.ALLOWED_PARENT_TYPES = [ | ||
var _this = _super.apply(this, arguments) || this; | ||
_this.ALLOWED_PARENT_TYPES = [ | ||
ts.SyntaxKind.ForStatement, | ||
@@ -36,2 +36,3 @@ ts.SyntaxKind.ForInStatement, | ||
]; | ||
return _this; | ||
} | ||
@@ -75,2 +76,2 @@ NoExtraSemiWalker.prototype.visitNode = function (node) { | ||
//# sourceMappingURL=data:application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LElBQUksQ0FBQyxjQUFjLENBQUMsQ0FBQyxDQUFDO0lBQzdGLENBQUM7SUFDSCx3QkFBQztBQUFELENBaERBLEFBZ0RDLENBaEQrQixJQUFJLENBQUMsVUFBVSxHQWdEOUMiLCJmaWxlIjoicnVsZXMvbm9FeHRyYVNlbWlSdWxlLmpzIiwic291cmNlUm9vdCI6Ii9Vc2Vycy9qbWxvcGV6L1dvcmtzcGFjZS90c2xpbnQtZXNsaW50LXJ1bGVzL3NyYyJ9 |
@@ -7,8 +7,8 @@ "use strict"; | ||
}; | ||
var ts = require('typescript'); | ||
var Lint = require('tslint'); | ||
var ts = require("typescript"); | ||
var Lint = require("tslint"); | ||
var Rule = (function (_super) { | ||
__extends(Rule, _super); | ||
function Rule() { | ||
_super.apply(this, arguments); | ||
return _super.apply(this, arguments) || this; | ||
} | ||
@@ -25,4 +25,4 @@ Rule.prototype.apply = function (sourceFile) { | ||
function NoInnerDeclarationsWalker() { | ||
_super.apply(this, arguments); | ||
this.VALID_PARENT_TYPES = [ | ||
var _this = _super.apply(this, arguments) || this; | ||
_this.VALID_PARENT_TYPES = [ | ||
ts.SyntaxKind.SourceFile, | ||
@@ -36,2 +36,3 @@ ts.SyntaxKind.FunctionDeclaration, | ||
]; | ||
return _this; | ||
} | ||
@@ -72,2 +73,2 @@ NoInnerDeclarationsWalker.prototype.visitFunctionDeclaration = function (node) { | ||
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInJ1bGVzL25vSW5uZXJEZWNsYXJhdGlvbnNSdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7OztBQUFBLElBQVksRUFBRSxXQUFNLFlBQVksQ0FBQyxDQUFBO0FBQ2pDLElBQVksSUFBSSxXQUFNLFFBQVEsQ0FBQyxDQUFBO0FBRS9CO0lBQTBCLHdCQUF1QjtJQUFqRDtRQUEwQiw4QkFBdUI7SUFLakQsQ0FBQztJQUpRLG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MsQ0FBQyxFQUFFLENBQUM7WUFDekUsVUFBVSxFQUFFLENBQUM7WUFDYixRQUFRLEdBQUcsUUFBUSxDQUFDLE1BQU0sQ0FBQztRQUM3QixDQUFDO1FBRUQsTUFBTSxDQUFDO1lBQ0wsWUFBWSxFQUFFLENBQUMsUUFBUSxJQUFJLFFBQVEsQ0FBQyxJQUFJLEtBQUssRUFBRSxDQUFDLFVBQVUsQ0FBQyxVQUFVLENBQUMsSUFBSSxDQUFDLFFBQVE7WUFDbkYsUUFBUSxFQUFFLFVBQVU7U0FDckIsQ0FBQztJQUNKLENBQUM7SUFDSCxnQ0FBQztBQUFELENBakRBLEFBaURDLENBakR1QyxJQUFJLENBQUMsVUFBVSxHQWlEdEQiLCJmaWxlIjoicnVsZXMvbm9Jbm5lckRlY2xhcmF0aW9uc1J1bGUuanMiLCJzb3VyY2VSb290IjoiL1VzZXJzL2ptbG9wZXovV29ya3NwYWNlL3RzbGludC1lc2xpbnQtcnVsZXMvc3JjIn0= |
@@ -7,8 +7,8 @@ "use strict"; | ||
}; | ||
var ts = require('typescript'); | ||
var Lint = require('tslint'); | ||
var ts = require("typescript"); | ||
var Lint = require("tslint"); | ||
var Rule = (function (_super) { | ||
__extends(Rule, _super); | ||
function Rule() { | ||
_super.apply(this, arguments); | ||
return _super.apply(this, arguments) || this; | ||
} | ||
@@ -25,3 +25,3 @@ Rule.prototype.apply = function (sourceFile) { | ||
function NoInvalidRegexpWalker() { | ||
_super.apply(this, arguments); | ||
return _super.apply(this, arguments) || this; | ||
} | ||
@@ -55,2 +55,2 @@ NoInvalidRegexpWalker.prototype.visitNewExpression = function (node) { | ||
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInJ1bGVzL25vSW52YWxpZFJlZ2V4cFJ1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBQUEsSUFBWSxFQUFFLFdBQU0sWUFBWSxDQUFDLEN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SUFDSCw0QkFBQztBQUFELENBNUJBLEFBNEJDLENBNUJtQyxJQUFJLENBQUMsVUFBVSxHQTRCbEQiLCJmaWxlIjoicnVsZXMvbm9JbnZhbGlkUmVnZXhwUnVsZS5qcyIsInNvdXJjZVJvb3QiOiIvVXNlcnMvam1sb3Blei9Xb3Jrc3BhY2UvdHNsaW50LWVzbGludC1ydWxlcy9zcmMifQ== |
@@ -7,8 +7,8 @@ "use strict"; | ||
}; | ||
var ts = require('typescript'); | ||
var Lint = require('tslint'); | ||
var ts = require("typescript"); | ||
var Lint = require("tslint"); | ||
var Rule = (function (_super) { | ||
__extends(Rule, _super); | ||
function Rule() { | ||
_super.apply(this, arguments); | ||
return _super.apply(this, arguments) || this; | ||
} | ||
@@ -19,6 +19,6 @@ Rule.prototype.apply = function (sourceFile) { | ||
}; | ||
Rule.RULE_NAME = 'no-irregular-whitespace'; | ||
Rule.FAILURE_STRING = 'irregular whitespace not allowed'; | ||
return Rule; | ||
}(Lint.Rules.AbstractRule)); | ||
Rule.RULE_NAME = 'no-irregular-whitespace'; | ||
Rule.FAILURE_STRING = 'irregular whitespace not allowed'; | ||
exports.Rule = Rule; | ||
@@ -28,5 +28,6 @@ var NoIrregularWhitespaceWalker = (function (_super) { | ||
function NoIrregularWhitespaceWalker() { | ||
_super.apply(this, arguments); | ||
this.IRREGULAR_WHITESPACE = /[\u0085\u00A0\ufeff\f\v\u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u200b\u202f\u205f\u3000]+/mg; | ||
this.IRREGULAR_LINE_TERMINATORS = /[\u2028\u2029]/mg; | ||
var _this = _super.apply(this, arguments) || this; | ||
_this.IRREGULAR_WHITESPACE = /[\u0085\u00A0\ufeff\f\v\u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u200b\u202f\u205f\u3000]+/mg; | ||
_this.IRREGULAR_LINE_TERMINATORS = /[\u2028\u2029]/mg; | ||
return _this; | ||
} | ||
@@ -75,2 +76,2 @@ NoIrregularWhitespaceWalker.prototype.visitSourceFile = function (node) { | ||
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInJ1bGVzL25vSXJyZWd1bGFyV2hpdGVzcGFjZVJ1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBQUEsSUFBWSxFQUFFLFdBQU0sWUFBWSxDQUFDLENBQUE7QUFDakMsSUFBWSxJQUFJLFdBQU0sUUFBUSxDQUFDLENBQUE7QUFFL0I7SUFBMEIsd0JBQXVCO0lBQWpEO1FBQTBCLDhCQUF1QjtJQVFqRCxDQUFDO0lBSlEsb0JBQUssR0FBWixVQUFhLFVBQXlCO1FBQ3BDLElBQU0sTUFBTSxHQUFHLElBQUksMkJBQTJCLENBQUMsVUFBVSxFQUFFLElBQUksQ0FBQyxVQUFVLEVBQUUsQ0FBQyxDQUFDO1FBQzlFLE1BQU0sQ0FBQyxJQUFJLENBQUMsZUFBZSxDQUFDLE1BQU0sQ0FBQyxDQUFDO0lBQ3RDLENBQUM7SUFOYSxjQUFTLEdBQUcseUJBQXlCLENBQUM7SUFDdEMsbUJBQWMsR0FBRyxrQ0FBa0MsQ0FBQztJQU1wRSxXQUFDO0FBQUQsQ0FSQSxBQVFDLENBUnlCLElBQUksQ0FBQyxLQUFLLENBQUMsWUFBWSxHQVFoRDtBQVJZLFlBQUksT0FRaEIsQ0FBQTtBQUVEO0lBQTBDLCtDQUFlO0lBQXpEO1FBQTBDLDhCQUFlO1FBQy9DLHlCQUFvQixHQUFHLHlJQUF5SSxDQUFDO1FBQ2pLLCtCQUEwQixHQUFHLGtCQUFrQixDQUFDO0lBa0QxRCxDQUFDO0lBaERXLHFEQUFlLEdBQXpCLFVBQTBCLElBQW1CO1FBRTNDLElBQUksQ0FBQywyQkFBMkIsQ0FBQyxJQUFJLENBQUMsQ0FBQztRQUN2Qyx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yxLQUFLLEVBQUUsQ0FBQztnQkFDYixLQUFJLENBQUMsVUFBVSxDQUFDLEtBQUksQ0FBQyxhQUFhLENBQUMsSUFBSSxDQUFDLDZCQUE2QixDQUFDLENBQUMsRUFBRSxLQUFLLENBQUMsS0FBSyxDQUFDLEVBQUUsQ0FBQyxFQUFFLElBQUksQ0FBQyxjQUFjLENBQUMsQ0FBQyxDQUFDO2dCQUNoSCxLQUFLLEdBQUcsS0FBSSxDQUFDLDBCQUEwQixDQUFDLElBQUksQ0FBQyxJQUFJLENBQUMsQ0FBQztZQUNyRCxDQUFDO1FBQ0gsQ0FBQyxDQUFDLENBQUM7SUFDTCxDQUFDO0lBQ0gsa0NBQUM7QUFBRCxDQXBEQSxBQW9EQyxDQXBEeUMsSUFBSSxDQUFDLFVBQVUsR0FvRHhEIiwiZmlsZSI6InJ1bGVzL25vSXJyZWd1bGFyV2hpdGVzcGFjZVJ1bGUuanMiLCJzb3VyY2VSb290IjoiL1VzZXJzL2ptbG9wZXovV29ya3NwYWNlL3RzbGludC1lc2xpbnQtcnVsZXMvc3JjIn0= |
@@ -7,8 +7,8 @@ "use strict"; | ||
}; | ||
var ts = require('typescript'); | ||
var Lint = require('tslint'); | ||
var ts = require("typescript"); | ||
var Lint = require("tslint"); | ||
var Rule = (function (_super) { | ||
__extends(Rule, _super); | ||
function Rule() { | ||
_super.apply(this, arguments); | ||
return _super.apply(this, arguments) || this; | ||
} | ||
@@ -25,32 +25,32 @@ Rule.prototype.apply = function (sourceFile) { | ||
function NoMultiSpacesWalker(sourceFile, options) { | ||
_super.call(this, sourceFile, options); | ||
this.EXCEPTION_MAP = (_a = {}, | ||
var _this = _super.call(this, sourceFile, options) || this; | ||
_this.EXCEPTION_MAP = (_a = {}, | ||
_a[ts.SyntaxKind.VariableDeclaration] = 'VariableDeclaration', | ||
_a[ts.SyntaxKind.PropertyAssignment] = 'PropertyAssignment', | ||
_a[ts.SyntaxKind.BinaryExpression] = 'BinaryExpression', | ||
_a | ||
); | ||
this.STRING_TYPES = [ | ||
_a); | ||
_this.STRING_TYPES = [ | ||
ts.SyntaxKind.NoSubstitutionTemplateLiteral, | ||
ts.SyntaxKind.StringLiteral | ||
]; | ||
this.exceptions = {}; | ||
this.targets = []; | ||
this.lastNode = null; | ||
this.targetNode = {}; | ||
this.targetIndex = 0; | ||
var opt = this.getOptions(); | ||
this.src = sourceFile.getFullText(); | ||
_this.exceptions = {}; | ||
_this.targets = []; | ||
_this.lastNode = null; | ||
_this.targetNode = {}; | ||
_this.targetIndex = 0; | ||
var opt = _this.getOptions(); | ||
_this.src = sourceFile.getFullText(); | ||
if (opt.length) { | ||
this.exceptions = opt[0].exceptions || {}; | ||
_this.exceptions = opt[0].exceptions || {}; | ||
} | ||
if (this.exceptions['PropertyAssignment'] === undefined) { | ||
this.exceptions['PropertyAssignment'] = true; | ||
if (_this.exceptions['PropertyAssignment'] === undefined) { | ||
_this.exceptions['PropertyAssignment'] = true; | ||
} | ||
var pattern = /[^\n\r\u2028\u2029\t ].? {2,}/g; | ||
while (pattern.test(this.src)) { | ||
this.targets.push(pattern.lastIndex); | ||
this.targetNode[pattern.lastIndex] = sourceFile; | ||
while (pattern.test(_this.src)) { | ||
_this.targets.push(pattern.lastIndex); | ||
_this.targetNode[pattern.lastIndex] = sourceFile; | ||
} | ||
this.lastNode = sourceFile.getLastToken(); | ||
_this.lastNode = sourceFile.getLastToken(); | ||
return _this; | ||
var _a; | ||
@@ -124,2 +124,2 @@ } | ||
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInJ1bGVzL25vTXVsdGlTcGFjZXNSdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7OztBQUFBLElBQVksRUFBRSxXQUFNLFlBQVksQ0FBQyxDQUFBO0FBQ2pDLElBQVksSUFBSSxXQUFNLFFBQVEsQ0FBQyxDQUFBO0FBRS9CO0lBQTBCLHdCQUF1QjtJQUFqRDt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LElBQUksSUFBSSxLQUFLLENBQUMsSUFBSSxLQUFLLEVBQUUsQ0FBQyxVQUFVLENBQUMsVUFBVSxDQUFDLENBQUMsQ0FBQztvQkFLbEYsQ0FBQztnQkFDSCxDQUFDO1lBQ0gsQ0FBQyxDQUFDLENBQUM7UUFDTCxDQUFDO1FBRUQsSUFBTSxRQUFRLEdBQWMsSUFBSSxDQUFDLFdBQVcsRUFBRSxDQUFDO1FBQy9DLEdBQUcsQ0FBQyxDQUFDLElBQUksS0FBSyxJQUFJLFFBQVEsQ0FBQyxDQUFDLENBQUM7WUFDM0IsSUFBSSxDQUFDLFNBQVMsQ0FBQyxRQUFRLENBQUMsS0FBSyxDQUFDLENBQUMsQ0FBQztRQUNsQyxDQUFDO0lBQ0gsQ0FBQztJQUNILDBCQUFDO0FBQUQsQ0FwSEEsQUFvSEMsQ0FwSGlDLElBQUksQ0FBQyxVQUFVLEdBb0hoRCIsImZpbGUiOiJydWxlcy9ub011bHRpU3BhY2VzUnVsZS5qcyIsInNvdXJjZVJvb3QiOiIvVXNlcnMvam1sb3Blei9Xb3Jrc3BhY2UvdHNsaW50LWVzbGludC1ydWxlcy9zcmMifQ== |
@@ -7,7 +7,7 @@ "use strict"; | ||
}; | ||
var Lint = require('tslint'); | ||
var Lint = require("tslint"); | ||
var Rule = (function (_super) { | ||
__extends(Rule, _super); | ||
function Rule() { | ||
_super.apply(this, arguments); | ||
return _super.apply(this, arguments) || this; | ||
} | ||
@@ -24,3 +24,3 @@ Rule.prototype.apply = function (sourceFile) { | ||
function NoRegexSpacesWalker() { | ||
_super.apply(this, arguments); | ||
return _super.apply(this, arguments) || this; | ||
} | ||
@@ -40,2 +40,2 @@ NoRegexSpacesWalker.prototype.visitRegularExpressionLiteral = function (node) { | ||
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInJ1bGVzL25vUmVnZXhTcGFjZXNSdWxlLnRzIl0sIm5hbWVzIjpbXSwibWF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Q3ZELElBQU0sR0FBRyxHQUFHLFdBQVcsQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQyxDQUFDO1FBQ3hDLEVBQUUsQ0FBQyxDQUFDLEdBQUcsQ0FBQyxDQUFDLENBQUM7WUFDUixJQUFJLENBQUMsVUFBVSxDQUFDLElBQUksQ0FBQyxhQUFhLENBQUMsSUFBSSxDQUFDLFFBQVEsRUFBRSxFQUFFLElBQUksQ0FBQyxRQUFRLEVBQUUsRUFBRSxxQ0FBbUMsR0FBRyxDQUFDLENBQUMsQ0FBQyxDQUFDLE1BQU0sTUFBRyxDQUFDLENBQUMsQ0FBQztRQUM3SCxDQUFDO0lBQ0gsQ0FBQztJQUNILDBCQUFDO0FBQUQsQ0FaQSxBQVlDLENBWmlDLElBQUksQ0FBQyxVQUFVLEdBWWhEIiwiZmlsZSI6InJ1bGVzL25vUmVnZXhTcGFjZXNSdWxlLmpzIiwic291cmNlUm9vdCI6Ii9Vc2Vycy9qbWxvcGV6L1dvcmtzcGFjZS90c2xpbnQtZXNsaW50LXJ1bGVzL3NyYyJ9 |
@@ -7,8 +7,8 @@ "use strict"; | ||
}; | ||
var ts = require('typescript'); | ||
var Lint = require('tslint'); | ||
var ts = require("typescript"); | ||
var Lint = require("tslint"); | ||
var Rule = (function (_super) { | ||
__extends(Rule, _super); | ||
function Rule() { | ||
_super.apply(this, arguments); | ||
return _super.apply(this, arguments) || this; | ||
} | ||
@@ -19,5 +19,5 @@ Rule.prototype.apply = function (sourceFile) { | ||
}; | ||
Rule.FAILURE_STRING = 'unexpected comma in middle of array'; | ||
return Rule; | ||
}(Lint.Rules.AbstractRule)); | ||
Rule.FAILURE_STRING = 'unexpected comma in middle of array'; | ||
exports.Rule = Rule; | ||
@@ -27,3 +27,3 @@ var NoSparseArraysWalker = (function (_super) { | ||
function NoSparseArraysWalker() { | ||
_super.apply(this, arguments); | ||
return _super.apply(this, arguments) || this; | ||
} | ||
@@ -43,2 +43,2 @@ NoSparseArraysWalker.prototype.visitArrayLiteralExpression = function (node) { | ||
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInJ1bGVzL25vU3BhcnNlQXJyYXlzUnVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQSxJQUFZLEVBQUUsV0FBTSxZQUFZLENBQUMsQ0FBQTtBQUNqQyxJQUFZLElBQUksV0FBTSxRQUFRLENBQUMsQ0FBQTtBQUUvQjtJQUEwQix3QkFBdUI7SUFBakQ7UUFBMEIsOEJBQXVCO0lBT2pELENBQUM7SUFKUSxvQkFBSyxHQUFaLFVBQWEsVUFBeUI7UUFDcEMsSUFBTSxNQUFNLEdBQUcsSUFBSSxvQkFBb0IsQ0FBQyxVQUFVLEVBQUUsSUFBSSxDQUFDLFVBQVUsRUFBRSxDQUFDLENBQUM7UUFDdkUsTUFBTSxDQUFDLElBQUksQ0FBQyxlQUFlLENBQUMsTUFBTSxDQUFDLENBQUM7SUFDdEMsQ0FBQztJQUxhLG1CQUFjLEdBQUcscUNBQXFDLENBQUM7SUFNdkUsV0FBQztBQUFELENBUEEsQUFPQyxDQVB5QixJQUFJLENBQUMsS0FBSyxDQUFDLFlBQVksR0FPaEQ7QUFQWSxZQUFJLE9BT2hCLENBQUE7QUFFRDtJQUFtQyx3Q0FBZTtJQUFsRDtRQUFtQyw4QkFBZTtJQWFsRCxDQUFDO0lBWlcsMERBQTJCLEdBQXJDLFVBQXNDLElBQStCO1FBQ25FLElBQUksQ0FBQyxxQkFBcUIsQ0FBQyxJQUFJLENBQUMsQ0FBQztRQUNqQyxnQkFBSyxDQUFDLDJCQUEyQixZQUFDLElBQUksQ0FBQyxDQUFDO0lBQzFDLENBQUM7SUFFTyxvREFBcUIsR0FBN0IsVUFBOEIsSUFBK0I7UUFDM0QsSUFBTSxZQUFZLEdBQUcsSUFBSSxDQUFDLFFBQVEsQ0FBQyxJQUFJLENBQUMsVU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escript'); | ||
var Lint = require('tslint'); | ||
var ts = require("typescript"); | ||
var Lint = require("tslint"); | ||
var Rule = (function (_super) { | ||
__extends(Rule, _super); | ||
function Rule() { | ||
_super.apply(this, arguments); | ||
return _super.apply(this, arguments) || this; | ||
} | ||
@@ -19,9 +19,9 @@ Rule.prototype.apply = function (sourceFile) { | ||
}; | ||
Rule.FAILURE_STRING = { | ||
func: 'unexpected newline between function and ( of function call', | ||
prop: 'unexpected newline between object and [ of property access', | ||
template: 'unexpected newline between template tag and template literal' | ||
}; | ||
return Rule; | ||
}(Lint.Rules.AbstractRule)); | ||
Rule.FAILURE_STRING = { | ||
func: 'unexpected newline between function and ( of function call', | ||
prop: 'unexpected newline between object and [ of property access', | ||
template: 'unexpected newline between template tag and template literal' | ||
}; | ||
exports.Rule = Rule; | ||
@@ -31,3 +31,3 @@ var NoUnexpectedMultilineWalker = (function (_super) { | ||
function NoUnexpectedMultilineWalker() { | ||
_super.apply(this, arguments); | ||
return _super.apply(this, arguments) || this; | ||
} | ||
@@ -97,2 +97,2 @@ NoUnexpectedMultilineWalker.prototype.visitCallExpression = function (node) { | ||
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInJ1bGVzL25vVW5leHBlY3RlZE11bHRpbGluZVJ1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBQUEsSUFBWSxFQUFFLFdBQU0sWUFBWSxDQUFDLENBQUE7QUFDakMsSUFBWSxJQUFJLFdBQU0sUUFBUSxDQUFDLENBQUE7QUFFL0I7SUFBMEIsd0JBQXVCO0lBQWpEO1FBQTBCLDhCQUF1QjtJQVdqRCxDQUFDO0lBSlEsb0JBQUssR0FBWixVQUFhLFVBQXlCO1FBQ3BDLElBQU0sTUFBTSxHQUFHLElBQUksMkJBQTJCLENBQUMsVUFBVSxFQUFFLElBQUksQ0FBQyxVQUFVLEVBQUUsQ0FBQyxDQUFDO1FBQzlFL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'); | ||
var ts = require("typescript"); | ||
var Lint = require("tslint"); | ||
var OPTION_ALWAYS = 'always'; | ||
@@ -14,3 +14,3 @@ var Rule = (function (_super) { | ||
function Rule() { | ||
_super.apply(this, arguments); | ||
return _super.apply(this, arguments) || this; | ||
} | ||
@@ -21,14 +21,14 @@ Rule.prototype.apply = function (sourceFile) { | ||
}; | ||
Rule.FAILURE_STRING = { | ||
always: { | ||
start: "A space is required after '{'", | ||
end: "A space is required before '}'" | ||
}, | ||
never: { | ||
start: "There should be no space after '{'", | ||
end: "There should be no space before '}'" | ||
} | ||
}; | ||
return Rule; | ||
}(Lint.Rules.AbstractRule)); | ||
Rule.FAILURE_STRING = { | ||
always: { | ||
start: "A space is required after '{'", | ||
end: "A space is required before '}'" | ||
}, | ||
never: { | ||
start: "There should be no space after '{'", | ||
end: "There should be no space before '}'" | ||
} | ||
}; | ||
exports.Rule = Rule; | ||
@@ -38,4 +38,5 @@ var ObjectCurlySpacingWalker = (function (_super) { | ||
function ObjectCurlySpacingWalker(sourceFile, options) { | ||
_super.call(this, sourceFile, options); | ||
this.always = this.hasOption(OPTION_ALWAYS) || (this.getOptions() && this.getOptions().length === 0); | ||
var _this = _super.call(this, sourceFile, options) || this; | ||
_this.always = _this.hasOption(OPTION_ALWAYS) || (_this.getOptions() && _this.getOptions().length === 0); | ||
return _this; | ||
} | ||
@@ -81,2 +82,2 @@ ObjectCurlySpacingWalker.prototype.visitNode = function (node) { | ||
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInJ1bGVzL29iamVjdEN1cmx5U3BhY2luZ1J1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBQUEsSUFBWSxFQUFFLFdBQU0sWUFBWSxDQUFDLENBQUE7QUFDakMsSUFBWSxJQUFJLFdBQU0sUUFBUSxDQUFDLENBQUE7QUFFL0IsSUFBTSxhQUFhLEdBQUcsUUFBUSxDQUFDO0F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UMsUUFBUSxFQUFFLEVBQUUsQ0FBQyxFQUFFLElBQUksQ0FBQyxjQUFjLENBQUMsS0FBSyxDQUFDLEtBQUssQ0FBQyxDQUFDLENBQUM7WUFDM0YsQ0FBQztZQUNELEVBQUUsQ0FBQyxDQUFDLGFBQWEsR0FBRyxDQUFDLENBQUMsQ0FBQyxDQUFDO2dCQUN0QixJQUFJLENBQUMsVUFBVSxDQUFDLElBQUksQ0FBQyxhQUFhLENBQUMsSUFBSSxDQUFDLE1BQU0sRUFBRSxHQUFHLENBQUMsRUFBRSxDQUFDLEVBQUUsSUFBSSxDQUFDLGNBQWMsQ0FBQyxLQUFLLENBQUMsR0FBRyxDQUFDLENBQUMsQ0FBQztZQUMzRixDQUFDO1FBQ0gsQ0FBQztJQUNILENBQUM7SUFFSCwrQkFBQztBQUFELENBL0NBLEFBK0NDLENBL0NzQyxJQUFJLENBQUMsVUFBVSxHQStDckQiLCJmaWxlIjoicnVsZXMvb2JqZWN0Q3VybHlTcGFjaW5nUnVsZS5qcyIsInNvdXJjZVJvb3QiOiIvVXNlcnMvam1sb3Blei9Xb3Jrc3BhY2UvdHNsaW50LWVzbGludC1ydWxlcy9zcmMifQ== |
@@ -7,4 +7,4 @@ "use strict"; | ||
}; | ||
var ts = require('typescript'); | ||
var Lint = require('tslint'); | ||
var ts = require("typescript"); | ||
var Lint = require("tslint"); | ||
var RULE_NAME = 'ter-max-len'; | ||
@@ -63,3 +63,3 @@ var CODE = 'code'; | ||
function Rule() { | ||
_super.apply(this, arguments); | ||
return _super.apply(this, arguments) || this; | ||
} | ||
@@ -103,70 +103,68 @@ Rule.mergeOptions = function (options) { | ||
}; | ||
Rule.metadata = { | ||
ruleName: RULE_NAME, | ||
description: 'enforce a maximum line length', | ||
rationale: (_a = ["\n Limiting the length of a line of code improves code readability.\n It also makes comparing code side-by-side easier and improves compatibility with\n various editors, IDEs, and diff viewers.\n "], _a.raw = ["\n Limiting the length of a line of code improves code readability.\n It also makes comparing code side-by-side easier and improves compatibility with\n various editors, IDEs, and diff viewers.\n "], Lint.Utils.dedent(_a)), | ||
optionsDescription: (_b = ["\n An integer indicating the maximum length of lines followed by an optional integer specifying\n the character width for tab characters.\n\n An optional object may be provided to fine tune the rule:\n\n * `\"", "\"`: (default 80) enforces a maximum line length\n * `\"", "\"`: (default 4) specifies the character width for tab characters\n * `\"", "\"`: enforces a maximum line length for comments; defaults to value of code\n * `\"", "\"`: ignores lines matching a regular expression; can only match a single\n line and need to be double escaped when written in JSON\n * `\"", "\"`: true ignores all trailing comments and comments on their own line\n * `\"", "\"`: true ignores only trailing comments\n * `\"", "\"`: true ignores lines that contain a URL\n * `\"", "\"`: true ignores lines that contain a double-quoted or single-quoted string\n * `\"", "\"`: true ignores lines that contain a template literal\n * `\"", "\"`: true ignores lines that contain a RegExp literal\n * `\"", "\"`: true ignores lines that contain an import module specifier\n "], _b.raw = ["\n An integer indicating the maximum length of lines followed by an optional integer specifying\n the character width for tab characters.\n\n An optional object may be provided to fine tune the rule:\n\n * \\`\"", "\"\\`: (default 80) enforces a maximum line length\n * \\`\"", "\"\\`: (default 4) specifies the character width for tab characters\n * \\`\"", "\"\\`: enforces a maximum line length for comments; defaults to value of code\n * \\`\"", "\"\\`: ignores lines matching a regular expression; can only match a single\n line and need to be double escaped when written in JSON\n * \\`\"", "\"\\`: true ignores all trailing comments and comments on their own line\n * \\`\"", "\"\\`: true ignores only trailing comments\n * \\`\"", "\"\\`: true ignores lines that contain a URL\n * \\`\"", "\"\\`: true ignores lines that contain a double-quoted or single-quoted string\n * \\`\"", "\"\\`: true ignores lines that contain a template literal\n * \\`\"", "\"\\`: true ignores lines that contain a RegExp literal\n * \\`\"", "\"\\`: true ignores lines that contain an import module specifier\n "], Lint.Utils.dedent(_b, CODE, TAB_WIDTH, COMMENTS, IGNORE_PATTERN, IGNORE_COMMENTS, IGNORE_TRAILING_COMMENTS, IGNORE_URLS, IGNORE_STRINGS, IGNORE_TEMPLATE_LITERALS, IGNORE_REG_EXP_LITERALS, IGNORE_IMPORTS)), | ||
options: { | ||
type: 'array', | ||
items: [{ | ||
type: 'number', | ||
minimum: '0' | ||
}, { | ||
type: 'object', | ||
properties: (_c = {}, | ||
_c[CODE] = { | ||
type: 'number', | ||
minumum: '1' | ||
}, | ||
_c[COMMENTS] = { | ||
type: 'number', | ||
minumum: '1' | ||
}, | ||
_c[TAB_WIDTH] = { | ||
type: 'number', | ||
minumum: '1' | ||
}, | ||
_c[IGNORE_PATTERN] = { | ||
type: 'string' | ||
}, | ||
_c[IGNORE_COMMENTS] = { | ||
type: 'boolean' | ||
}, | ||
_c[IGNORE_STRINGS] = { | ||
type: 'boolean' | ||
}, | ||
_c[IGNORE_URLS] = { | ||
type: 'boolean' | ||
}, | ||
_c[IGNORE_TEMPLATE_LITERALS] = { | ||
type: 'boolean' | ||
}, | ||
_c[IGNORE_REG_EXP_LITERALS] = { | ||
type: 'boolean' | ||
}, | ||
_c[IGNORE_TRAILING_COMMENTS] = { | ||
type: 'boolean' | ||
}, | ||
_c[IGNORE_IMPORTS] = { | ||
type: 'boolean' | ||
}, | ||
_c | ||
), | ||
additionalProperties: false | ||
}], | ||
minLength: 1, | ||
maxLength: 3 | ||
}, | ||
optionExamples: [ | ||
(_d = ["\n \"", "\": [true, 100]\n "], _d.raw = ["\n \"", "\": [true, 100]\n "], Lint.Utils.dedent(_d, RULE_NAME)), | ||
(_e = ["\n \"", "\": [\n true,\n 100,\n 2,\n {\n \"", "\": true,\n \"", "\": \"^\\\\s*(let|const)\\\\s.+=\\\\s*require\\\\s*\\\\(\"\n }\n ]\n "], _e.raw = ["\n \"", "\": [\n true,\n 100,\n 2,\n {\n \"", "\": true,\n \"", "\": \"^\\\\\\\\s*(let|const)\\\\\\\\s.+=\\\\\\\\s*require\\\\\\\\s*\\\\\\\\(\"\n }\n ]\n "], Lint.Utils.dedent(_e, RULE_NAME, IGNORE_URLS, IGNORE_PATTERN)), | ||
(_f = ["\n \"", "\": [\n true,\n {\n \"", "\": 100,\n \"", "\": 2,\n \"", "\": true,\n \"", "\": true,\n \"", "\": \"^\\\\s*(let|const)\\\\s.+=\\\\s*require\\\\s*\\\\(\"\n }\n ]\n "], _f.raw = ["\n \"", "\": [\n true,\n {\n \"", "\": 100,\n \"", "\": 2,\n \"", "\": true,\n \"", "\": true,\n \"", "\": \"^\\\\\\\\s*(let|const)\\\\\\\\s.+=\\\\\\\\s*require\\\\\\\\s*\\\\\\\\(\"\n }\n ]\n "], Lint.Utils.dedent(_f, RULE_NAME, CODE, TAB_WIDTH, IGNORE_IMPORTS, IGNORE_URLS, IGNORE_PATTERN)) | ||
], | ||
typescriptOnly: false, | ||
type: 'style' | ||
}; | ||
Rule.URL_REGEXP = /[^:/?#]:\/\/[^?#]/; | ||
return Rule; | ||
var _a, _b, _c, _d, _e, _f; | ||
}(Lint.Rules.AbstractRule)); | ||
Rule.metadata = { | ||
ruleName: RULE_NAME, | ||
description: 'enforce a maximum line length', | ||
rationale: (_a = ["\n Limiting the length of a line of code improves code readability.\n It also makes comparing code side-by-side easier and improves compatibility with\n various editors, IDEs, and diff viewers.\n "], _a.raw = ["\n Limiting the length of a line of code improves code readability.\n It also makes comparing code side-by-side easier and improves compatibility with\n various editors, IDEs, and diff viewers.\n "], Lint.Utils.dedent(_a)), | ||
optionsDescription: (_b = ["\n An integer indicating the maximum length of lines followed by an optional integer specifying\n the character width for tab characters.\n\n An optional object may be provided to fine tune the rule:\n\n * `\"", "\"`: (default 80) enforces a maximum line length\n * `\"", "\"`: (default 4) specifies the character width for tab characters\n * `\"", "\"`: enforces a maximum line length for comments; defaults to value of code\n * `\"", "\"`: ignores lines matching a regular expression; can only match a single\n line and need to be double escaped when written in JSON\n * `\"", "\"`: true ignores all trailing comments and comments on their own line\n * `\"", "\"`: true ignores only trailing comments\n * `\"", "\"`: true ignores lines that contain a URL\n * `\"", "\"`: true ignores lines that contain a double-quoted or single-quoted string\n * `\"", "\"`: true ignores lines that contain a template literal\n * `\"", "\"`: true ignores lines that contain a RegExp literal\n * `\"", "\"`: true ignores lines that contain an import module specifier\n "], _b.raw = ["\n An integer indicating the maximum length of lines followed by an optional integer specifying\n the character width for tab characters.\n\n An optional object may be provided to fine tune the rule:\n\n * \\`\"", "\"\\`: (default 80) enforces a maximum line length\n * \\`\"", "\"\\`: (default 4) specifies the character width for tab characters\n * \\`\"", "\"\\`: enforces a maximum line length for comments; defaults to value of code\n * \\`\"", "\"\\`: ignores lines matching a regular expression; can only match a single\n line and need to be double escaped when written in JSON\n * \\`\"", "\"\\`: true ignores all trailing comments and comments on their own line\n * \\`\"", "\"\\`: true ignores only trailing comments\n * \\`\"", "\"\\`: true ignores lines that contain a URL\n * \\`\"", "\"\\`: true ignores lines that contain a double-quoted or single-quoted string\n * \\`\"", "\"\\`: true ignores lines that contain a template literal\n * \\`\"", "\"\\`: true ignores lines that contain a RegExp literal\n * \\`\"", "\"\\`: true ignores lines that contain an import module specifier\n "], Lint.Utils.dedent(_b, CODE, TAB_WIDTH, COMMENTS, IGNORE_PATTERN, IGNORE_COMMENTS, IGNORE_TRAILING_COMMENTS, IGNORE_URLS, IGNORE_STRINGS, IGNORE_TEMPLATE_LITERALS, IGNORE_REG_EXP_LITERALS, IGNORE_IMPORTS)), | ||
options: { | ||
type: 'array', | ||
items: [{ | ||
type: 'number', | ||
minimum: '0' | ||
}, { | ||
type: 'object', | ||
properties: (_c = {}, | ||
_c[CODE] = { | ||
type: 'number', | ||
minumum: '1' | ||
}, | ||
_c[COMMENTS] = { | ||
type: 'number', | ||
minumum: '1' | ||
}, | ||
_c[TAB_WIDTH] = { | ||
type: 'number', | ||
minumum: '1' | ||
}, | ||
_c[IGNORE_PATTERN] = { | ||
type: 'string' | ||
}, | ||
_c[IGNORE_COMMENTS] = { | ||
type: 'boolean' | ||
}, | ||
_c[IGNORE_STRINGS] = { | ||
type: 'boolean' | ||
}, | ||
_c[IGNORE_URLS] = { | ||
type: 'boolean' | ||
}, | ||
_c[IGNORE_TEMPLATE_LITERALS] = { | ||
type: 'boolean' | ||
}, | ||
_c[IGNORE_REG_EXP_LITERALS] = { | ||
type: 'boolean' | ||
}, | ||
_c[IGNORE_TRAILING_COMMENTS] = { | ||
type: 'boolean' | ||
}, | ||
_c[IGNORE_IMPORTS] = { | ||
type: 'boolean' | ||
}, | ||
_c), | ||
additionalProperties: false | ||
}], | ||
minLength: 1, | ||
maxLength: 3 | ||
}, | ||
optionExamples: [ | ||
(_d = ["\n \"", "\": [true, 100]\n "], _d.raw = ["\n \"", "\": [true, 100]\n "], Lint.Utils.dedent(_d, RULE_NAME)), | ||
(_e = ["\n \"", "\": [\n true,\n 100,\n 2,\n {\n \"", "\": true,\n \"", "\": \"^\\\\s*(let|const)\\\\s.+=\\\\s*require\\\\s*\\\\(\"\n }\n ]\n "], _e.raw = ["\n \"", "\": [\n true,\n 100,\n 2,\n {\n \"", "\": true,\n \"", "\": \"^\\\\\\\\s*(let|const)\\\\\\\\s.+=\\\\\\\\s*require\\\\\\\\s*\\\\\\\\(\"\n }\n ]\n "], Lint.Utils.dedent(_e, RULE_NAME, IGNORE_URLS, IGNORE_PATTERN)), | ||
(_f = ["\n \"", "\": [\n true,\n {\n \"", "\": 100,\n \"", "\": 2,\n \"", "\": true,\n \"", "\": true,\n \"", "\": \"^\\\\s*(let|const)\\\\s.+=\\\\s*require\\\\s*\\\\(\"\n }\n ]\n "], _f.raw = ["\n \"", "\": [\n true,\n {\n \"", "\": 100,\n \"", "\": 2,\n \"", "\": true,\n \"", "\": true,\n \"", "\": \"^\\\\\\\\s*(let|const)\\\\\\\\s.+=\\\\\\\\s*require\\\\\\\\s*\\\\\\\\(\"\n }\n ]\n "], Lint.Utils.dedent(_f, RULE_NAME, CODE, TAB_WIDTH, IGNORE_IMPORTS, IGNORE_URLS, IGNORE_PATTERN)) | ||
], | ||
typescriptOnly: false, | ||
type: 'style' | ||
}; | ||
Rule.URL_REGEXP = /[^:/?#]:\/\/[^?#]/; | ||
exports.Rule = Rule; | ||
@@ -176,10 +174,11 @@ var MaxLenWalker = (function (_super) { | ||
function MaxLenWalker(sourceFile, options) { | ||
_super.call(this, sourceFile, options); | ||
this.ignoredIntervals = []; | ||
this.optionsObj = {}; | ||
this.comments = []; | ||
this.strings = []; | ||
this.templates = []; | ||
this.regExp = []; | ||
this.optionsObj = Rule.mergeOptions(this.getOptions()); | ||
var _this = _super.call(this, sourceFile, options) || this; | ||
_this.ignoredIntervals = []; | ||
_this.optionsObj = {}; | ||
_this.comments = []; | ||
_this.strings = []; | ||
_this.templates = []; | ||
_this.regExp = []; | ||
_this.optionsObj = Rule.mergeOptions(_this.getOptions()); | ||
return _this; | ||
} | ||
@@ -316,3 +315,4 @@ MaxLenWalker.prototype.hasOption = function (option) { | ||
} | ||
var _a, _b, _c, _d, _e, _f; | ||
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInJ1bGVzL3Rlck1heExlblJ1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7O0FBUUEsSUFBWSxFQUFFLFdBQU0sWUFBWSxDQUFDLENBQUE7QUFDakMsSUFBWSxJQUFJLFdBQU0sUUFBUSxDQUFDLENBQUE7QUFJL0IsSUFBTSxTQUFTLEdBQUcsYUFBYSxDQUFDO0FBQ2hDLElBQU0sSUFBSSxHQUFXLE1BQU0sQ0FBQztBQUM1QixJQUFNLFFBQVEsR0FBVyxVQUFVLENBQUM7QUFDcEMsSUFBTSxTQUFTLEdBQVcsVUFBVSxDQUFDO0FBQ3JDLElBQU0sY0FBYyxHQUFXLGVBQWUsQ0FBQztBQUMvQyxJQUFNLGVBQWUsR0FBVyxnQkFBZ0IsQ0FBQztBQUNqRCxJQUFNLGNBQWMsR0FBVyxlQUFlLENBQUM7QUFDL0MsSUFBTSxXQUFXLEdBQVcsWUFBWSxDQUFDO0FBQ3pDLElBQU0sd0JBQXdCLEdBQVcsd0JBQXdCLENBQUM7QUFDbEUsSUFBTSx1QkFBdUIsR0FBVyxzQ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BRSxHQUFHLENBQUMsRUFDeEIsV0FBUSxDQUFDLEdBQUcsQ0FBQyw2Q0FBdUMsU0FBUyxNQUFHLEVBQ2hFLFNBQVMsQ0FDVixDQUFDO1lBQ0osQ0FBQztZQUVELEVBQUUsQ0FBQyxDQUFDLFdBQVcsSUFBSSxDQUFDLElBQUksQ0FBQyxhQUFhLENBQUMsV0FBVyxFQUFFLElBQUksQ0FBQyxnQkFBZ0IsQ0FBQyxDQUFDLENBQUMsQ0FBQztnQkFDM0UsSUFBSSxDQUFDLFVBQVUsQ0FBQyxXQUFXLENBQUMsQ0FBQztZQUMvQixDQUFDO1FBQ0gsQ0FBQztJQUNILENBQUM7SUFDSCxtQkFBQztBQUFELENBMUxBLEFBMExDLENBMUwwQixJQUFJLENBQUMsNkJBQTZCLEdBMEw1RDtBQUVELHlCQUF5QixVQUFrQixFQUFFLFNBQWlCLEVBQUUsWUFBb0I7SUFNbEYsTUFBTSxDQUFDLFVBQVUsR0FBRyxTQUFTLElBQUksQ0FBQyxDQUFDLENBQUMsVUFBVSxHQUFHLENBQUMsQ0FBQyxLQUFLLFNBQVMsSUFBSSxZQUFZLEtBQUssSUFBSSxDQUFDLENBQUM7QUFDOUYsQ0FBQyIsImZpbGUiOiJydWxlcy90ZXJNYXhMZW5SdWxlLmpzIiwic291cmNlUm9vdCI6Ii9Vc2Vycy9qbWxvcGV6L1dvcmtzcGFjZS90c2xpbnQtZXNsaW50LXJ1bGVzL3NyYyJ9 |
@@ -7,4 +7,4 @@ "use strict"; | ||
}; | ||
var ts = require('typescript'); | ||
var Lint = require('tslint'); | ||
var ts = require("typescript"); | ||
var Lint = require("tslint"); | ||
var RULE_NAME = 'ter-prefer-arrow-callback'; | ||
@@ -15,3 +15,3 @@ var OPTIONS; | ||
function Rule() { | ||
_super.apply(this, arguments); | ||
return _super.apply(this, arguments) || this; | ||
} | ||
@@ -22,35 +22,34 @@ Rule.prototype.apply = function (sourceFile) { | ||
}; | ||
Rule.metadata = { | ||
ruleName: RULE_NAME, | ||
description: 'require arrow functions as callbacks', | ||
rationale: (_a = ["\n Arrow functions are suited to callbacks, because:\n \n * `this` keywords in arrow functions bind to the upper scope\u2019s.\n * The notation of the arrow function is shorter than function expression\u2019s.\n "], _a.raw = ["\n Arrow functions are suited to callbacks, because:\n \n * \\`this\\` keywords in arrow functions bind to the upper scope’s.\n * The notation of the arrow function is shorter than function expression’s.\n "], Lint.Utils.dedent(_a)), | ||
optionsDescription: (_b = ["\n This rule takes one optional argument, an object which is an options object. This object\n may specify the following properties:\n \n * `\"allowNamedFunctions\"` (default false) When set to `true`, the rule doesn't warn on\n named functions used as callback.\n * `\"allowUnboundThis\"` (default true) When set to `false`, this option allows the use of\n `this` without restriction and checks for dynamically assigned\n `this` values such as when using `Array.prototype.map` with a\n `context` argument. Normally, the rule will flag the use of this\n whenever a function does not use `bind()` to specify the value of\n `this` constantly.\n "], _b.raw = ["\n This rule takes one optional argument, an object which is an options object. This object\n may specify the following properties:\n \n * \\`\"allowNamedFunctions\"\\` (default false) When set to \\`true\\`, the rule doesn't warn on\n named functions used as callback.\n * \\`\"allowUnboundThis\"\\` (default true) When set to \\`false\\`, this option allows the use of\n \\`this\\` without restriction and checks for dynamically assigned\n \\`this\\` values such as when using \\`Array.prototype.map\\` with a\n \\`context\\` argument. Normally, the rule will flag the use of this\n whenever a function does not use \\`bind()\\` to specify the value of\n \\`this\\` constantly.\n "], Lint.Utils.dedent(_b)), | ||
options: { | ||
type: 'array', | ||
items: [{ | ||
type: 'object', | ||
properties: { | ||
allowNamedFunctions: { | ||
type: 'boolean' | ||
}, | ||
allowUnboundThis: { | ||
type: 'boolean' | ||
} | ||
}, | ||
additionalProperties: false | ||
}], | ||
maxLength: 1 | ||
}, | ||
optionExamples: [ | ||
(_c = ["\n \"", "\": [true]\n "], _c.raw = ["\n \"", "\": [true]\n "], Lint.Utils.dedent(_c, RULE_NAME)), | ||
(_d = ["\n \"", "\": [true, {\n \"allowNamedFunctions\": true\n }]\n "], _d.raw = ["\n \"", "\": [true, {\n \"allowNamedFunctions\": true\n }]\n "], Lint.Utils.dedent(_d, RULE_NAME)), | ||
(_e = ["\n \"", "\": [true, {\n \"allowUnboundThis\": false\n }]\n "], _e.raw = ["\n \"", "\": [true, {\n \"allowUnboundThis\": false\n }]\n "], Lint.Utils.dedent(_e, RULE_NAME)), | ||
(_f = ["\n \"", "\": [true, {\n \"allowNamedFunctions\": true,\n \"allowUnboundThis\": false\n }]\n "], _f.raw = ["\n \"", "\": [true, {\n \"allowNamedFunctions\": true,\n \"allowUnboundThis\": false\n }]\n "], Lint.Utils.dedent(_f, RULE_NAME)) | ||
], | ||
typescriptOnly: false, | ||
type: 'typescript' | ||
}; | ||
return Rule; | ||
var _a, _b, _c, _d, _e, _f; | ||
}(Lint.Rules.AbstractRule)); | ||
Rule.metadata = { | ||
ruleName: RULE_NAME, | ||
description: 'require arrow functions as callbacks', | ||
rationale: (_a = ["\n Arrow functions are suited to callbacks, because:\n \n * `this` keywords in arrow functions bind to the upper scope\u2019s.\n * The notation of the arrow function is shorter than function expression\u2019s.\n "], _a.raw = ["\n Arrow functions are suited to callbacks, because:\n \n * \\`this\\` keywords in arrow functions bind to the upper scope\u2019s.\n * The notation of the arrow function is shorter than function expression\u2019s.\n "], Lint.Utils.dedent(_a)), | ||
optionsDescription: (_b = ["\n This rule takes one optional argument, an object which is an options object. This object\n may specify the following properties:\n \n * `\"allowNamedFunctions\"` (default false) When set to `true`, the rule doesn't warn on\n named functions used as callback.\n * `\"allowUnboundThis\"` (default true) When set to `false`, this option allows the use of\n `this` without restriction and checks for dynamically assigned\n `this` values such as when using `Array.prototype.map` with a\n `context` argument. Normally, the rule will flag the use of this\n whenever a function does not use `bind()` to specify the value of\n `this` constantly.\n "], _b.raw = ["\n This rule takes one optional argument, an object which is an options object. This object\n may specify the following properties:\n \n * \\`\"allowNamedFunctions\"\\` (default false) When set to \\`true\\`, the rule doesn't warn on\n named functions used as callback.\n * \\`\"allowUnboundThis\"\\` (default true) When set to \\`false\\`, this option allows the use of\n \\`this\\` without restriction and checks for dynamically assigned\n \\`this\\` values such as when using \\`Array.prototype.map\\` with a\n \\`context\\` argument. Normally, the rule will flag the use of this\n whenever a function does not use \\`bind()\\` to specify the value of\n \\`this\\` constantly.\n "], Lint.Utils.dedent(_b)), | ||
options: { | ||
type: 'array', | ||
items: [{ | ||
type: 'object', | ||
properties: { | ||
allowNamedFunctions: { | ||
type: 'boolean' | ||
}, | ||
allowUnboundThis: { | ||
type: 'boolean' | ||
} | ||
}, | ||
additionalProperties: false | ||
}], | ||
maxLength: 1 | ||
}, | ||
optionExamples: [ | ||
(_c = ["\n \"", "\": [true]\n "], _c.raw = ["\n \"", "\": [true]\n "], Lint.Utils.dedent(_c, RULE_NAME)), | ||
(_d = ["\n \"", "\": [true, {\n \"allowNamedFunctions\": true\n }]\n "], _d.raw = ["\n \"", "\": [true, {\n \"allowNamedFunctions\": true\n }]\n "], Lint.Utils.dedent(_d, RULE_NAME)), | ||
(_e = ["\n \"", "\": [true, {\n \"allowUnboundThis\": false\n }]\n "], _e.raw = ["\n \"", "\": [true, {\n \"allowUnboundThis\": false\n }]\n "], Lint.Utils.dedent(_e, RULE_NAME)), | ||
(_f = ["\n \"", "\": [true, {\n \"allowNamedFunctions\": true,\n \"allowUnboundThis\": false\n }]\n "], _f.raw = ["\n \"", "\": [true, {\n \"allowNamedFunctions\": true,\n \"allowUnboundThis\": false\n }]\n "], Lint.Utils.dedent(_f, RULE_NAME)) | ||
], | ||
typescriptOnly: false, | ||
type: 'typescript' | ||
}; | ||
exports.Rule = Rule; | ||
@@ -100,4 +99,4 @@ function checkMetaProperty(node, name, prop) { | ||
function RuleWalker(sourceFile, options) { | ||
_super.call(this, sourceFile, options); | ||
this.stack = []; | ||
var _this = _super.call(this, sourceFile, options) || this; | ||
_this.stack = []; | ||
OPTIONS = { | ||
@@ -107,3 +106,3 @@ allowUnboundThis: true, | ||
}; | ||
var userOptions = this.getOptions()[0]; | ||
var userOptions = _this.getOptions()[0]; | ||
if (userOptions) { | ||
@@ -113,4 +112,5 @@ OPTIONS.allowUnboundThis = userOptions.allowUnboundThis !== false; | ||
} | ||
this.srcFile = sourceFile; | ||
this.srcText = sourceFile.getFullText(); | ||
_this.srcFile = sourceFile; | ||
_this.srcText = sourceFile.getFullText(); | ||
return _this; | ||
} | ||
@@ -195,3 +195,4 @@ RuleWalker.prototype.enterScope = function (functionName) { | ||
}(Lint.RuleWalker)); | ||
var _a, _b, _c, _d, _e, _f; | ||
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInJ1bGVzL3RlclByZWZlckFycm93Q2FsbGJhY2tSdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7OztBQU1BLElBQVksRUFBRSxXQUFNLFlBQVksQ0FBQyxDQUFBO0FBQ2pDLElBQVksSUFBSSxXQUFNLFFBQVEsQ0FBQyxDQUFBO0FBRS9CLElBQU0sU0FBUyxHQUFHLDJCQUEyQixDQUFDO0FBQzlDLElBQUksT0FBWSxDQUFDO0FBRWpCO0lBQTBCLHdCQUF1QjtJQUFqRDtRQUEwQiw4QkFBdUI7SUFvRWpELENBQUM7SUFKUSxvQkFBSyxHQUFaLFVBQWEsVUFBeUI7UUFDcEMsSUFBTSxNQUFNLEdBQUcsSUFBSSxVQUFVLENBQUMsVUFBVSxFQUFFLElBQUksQ0FBQyxVQUFVLEVBQUUsQ0FBQyxDQUFDO1FBQzdELE1BQU0sQ0FBQyxJQUFJLENBQUMsZUFBZSxDQUFDLE1BQU0sQ0FBQyxDQUFDO0lBQ3RDLENBQUM7SUFsRWEsYUFBUSxHQUF1QjtRQUMzQyxRQUFRLEVBQUUsU0FBUztRQUNuQixXQUFXLEVBQUUsc0NBQXNDO1FBQ25ELFNBQVMsRUFBRSxPQUFpQiwrT0FLekIseVBBTFEsSUFBSSxDQUFDLEtBQUssQ0FBQyxNQUFNLEtBS3pCO1FBQ0gsa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BQ3hFLENBQUMsQ0FBQyxDQUFDO2dCQUNELElBQUksQ0FBQyxPQUFPLEdBQUcsSUFBSSxDQUFDO1lBQ3RCLENBQUM7UUFDSCxDQUFDO1FBQ0QsaUJBQU0sU0FBUyxZQUFDLElBQUksQ0FBQyxDQUFDO0lBQ3hCLENBQUM7SUFDSCxpQkFBQztBQUFELENBekhBLEFBeUhDLENBekh3QixJQUFJLENBQUMsVUFBVSxHQXlIdkMiLCJmaWxlIjoicnVsZXMvdGVyUHJlZmVyQXJyb3dDYWxsYmFja1J1bGUuanMiLCJzb3VyY2VSb290IjoiL1VzZXJzL2ptbG9wZXovV29ya3NwYWNlL3RzbGludC1lc2xpbnQtcnVsZXMvc3JjIn0= |
@@ -7,8 +7,8 @@ "use strict"; | ||
}; | ||
var ts = require('typescript'); | ||
var Lint = require('tslint'); | ||
var ts = require("typescript"); | ||
var Lint = require("tslint"); | ||
var Rule = (function (_super) { | ||
__extends(Rule, _super); | ||
function Rule() { | ||
_super.apply(this, arguments); | ||
return _super.apply(this, arguments) || this; | ||
} | ||
@@ -19,5 +19,5 @@ Rule.prototype.apply = function (sourceFile) { | ||
}; | ||
Rule.FAILURE_STRING = 'use the isNaN function to compare with NaN'; | ||
return Rule; | ||
}(Lint.Rules.AbstractRule)); | ||
Rule.FAILURE_STRING = 'use the isNaN function to compare with NaN'; | ||
exports.Rule = Rule; | ||
@@ -27,4 +27,5 @@ var UseIsnanWalker = (function (_super) { | ||
function UseIsnanWalker() { | ||
_super.apply(this, arguments); | ||
this.OPERATORS = [ts.SyntaxKind.EqualsEqualsToken, ts.SyntaxKind.EqualsEqualsEqualsToken, ts.SyntaxKind.ExclamationEqualsToken, ts.SyntaxKind.ExclamationEqualsEqualsToken]; | ||
var _this = _super.apply(this, arguments) || this; | ||
_this.OPERATORS = [ts.SyntaxKind.EqualsEqualsToken, ts.SyntaxKind.EqualsEqualsEqualsToken, ts.SyntaxKind.ExclamationEqualsToken, ts.SyntaxKind.ExclamationEqualsEqual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VBQUUsQ0FBQyxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUMsT0FBTyxFQUFFLEtBQUssS0FBSyxJQUFJLElBQUksQ0FBQyxLQUFLLENBQUMsT0FBTyxFQUFFLEtBQUssS0FBSyxDQUFDLENBQUMsQ0FBQztnQkFDcEUsSUFBSSxDQUFDLFVBQVUsQ0FBQyxJQUFJLENBQUMsYUFBYSxDQUFDLElBQUksQ0FBQyxRQUFRLEVBQUUsRUFBRSxJQUFJLENBQUMsUUFBUSxFQUFFLEVBQUUsSUFBSSxDQUFDLGNBQWMsQ0FBQyxDQUFDLENBQUM7WUFDN0YsQ0FBQztRQUNILENBQUM7SUFDSCxDQUFDO0lBQ0gscUJBQUM7QUFBRCxDQWZBLEFBZUMsQ0FmNEIsSUFBSSxDQUFDLFVBQVUsR0FlM0MiLCJmaWxlIjoicnVsZXMvdXNlSXNuYW5SdWxlLmpzIiwic291cmNlUm9vdCI6Ii9Vc2Vycy9qbWxvcGV6L1dvcmtzcGFjZS90c2xpbnQtZXNsaW50LXJ1bGVzL3NyYyJ9 |
@@ -7,9 +7,9 @@ "use strict"; | ||
}; | ||
var ts = require('typescript'); | ||
var Lint = require('tslint'); | ||
var doctrine = require('doctrine'); | ||
var ts = require("typescript"); | ||
var Lint = require("tslint"); | ||
var doctrine = require("doctrine"); | ||
var Rule = (function (_super) { | ||
__extends(Rule, _super); | ||
function Rule() { | ||
_super.apply(this, arguments); | ||
return _super.apply(this, arguments) || this; | ||
} | ||
@@ -30,24 +30,24 @@ Rule.prototype.apply = function (sourceFile) { | ||
}; | ||
Rule.FAILURE_STRING = { | ||
missingBrace: 'JSDoc type missing brace', | ||
syntaxError: 'JSDoc syntax error', | ||
missingParameterType: function (name) { return ("missing JSDoc parameter type for '" + name + "'"); }, | ||
missingParameterDescription: function (name) { return ("missing JSDoc parameter description for '" + name + "'"); }, | ||
duplicateParameter: function (name) { return ("duplicate JSDoc parameter '" + name + "'"); }, | ||
unexpectedTag: function (title) { return ("unexpected @" + title + " tag; function has no return statement"); }, | ||
missingReturnType: 'missing JSDoc return type', | ||
missingReturnDescription: 'missing JSDoc return description', | ||
prefer: function (name) { return ("use @" + name + " instead"); }, | ||
missingReturn: function (param) { return ("missing JSDoc @" + (param || 'returns') + " for function"); }, | ||
wrongParam: function (expected, actual) { return ("expected JSDoc for '" + expected + "'' but found '" + actual + "'"); }, | ||
missingParam: function (name) { return ("missing JSDoc for parameter '" + name + "'"); }, | ||
wrongDescription: 'JSDoc description does not satisfy the regex pattern', | ||
invalidRegexDescription: function (error) { return ("configured matchDescription is an invalid RegExp. Error: " + error); } | ||
}; | ||
Rule.prefer = {}; | ||
Rule.requireReturn = true; | ||
Rule.requireParamDescription = true; | ||
Rule.requireReturnDescription = true; | ||
return Rule; | ||
}(Lint.Rules.AbstractRule)); | ||
Rule.FAILURE_STRING = { | ||
missingBrace: 'JSDoc type missing brace', | ||
syntaxError: 'JSDoc syntax error', | ||
missingParameterType: function (name) { return "missing JSDoc parameter type for '" + name + "'"; }, | ||
missingParameterDescription: function (name) { return "missing JSDoc parameter description for '" + name + "'"; }, | ||
duplicateParameter: function (name) { return "duplicate JSDoc parameter '" + name + "'"; }, | ||
unexpectedTag: function (title) { return "unexpected @" + title + " tag; function has no return statement"; }, | ||
missingReturnType: 'missing JSDoc return type', | ||
missingReturnDescription: 'missing JSDoc return description', | ||
prefer: function (name) { return "use @" + name + " instead"; }, | ||
missingReturn: function (param) { return "missing JSDoc @" + (param || 'returns') + " for function"; }, | ||
wrongParam: function (expected, actual) { return "expected JSDoc for '" + expected + "'' but found '" + actual + "'"; }, | ||
missingParam: function (name) { return "missing JSDoc for parameter '" + name + "'"; }, | ||
wrongDescription: 'JSDoc description does not satisfy the regex pattern', | ||
invalidRegexDescription: function (error) { return "configured matchDescription is an invalid RegExp. Error: " + error; } | ||
}; | ||
Rule.prefer = {}; | ||
Rule.requireReturn = true; | ||
Rule.requireParamDescription = true; | ||
Rule.requireReturnDescription = true; | ||
exports.Rule = Rule; | ||
@@ -57,4 +57,5 @@ var ValidJsdocWalker = (function (_super) { | ||
function ValidJsdocWalker() { | ||
_super.apply(this, arguments); | ||
this.fns = []; | ||
var _this = _super.apply(this, arguments) || this; | ||
_this.fns = []; | ||
return _this; | ||
} | ||
@@ -267,2 +268,2 @@ ValidJsdocWalker.prototype.visitSourceFile = function (node) { | ||
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInJ1bGVzL3ZhbGlkSnNkb2NSdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7OztBQUFBLElBQVksRUFBRSxXQUFNLFlBQVksQ0FBQyxDQUFBO0FBQ2pDLElBQVksSUFBSSxXQUFNLFFBQVEsQ0FBQyxDQUFBO0FBQy9CLElBQVksUUFBUSxXQUFNLFVBQVUsQ0FBQyxDQUFBO0FBRXJDO0lBQTBCLHdCQUF1QjtJQUFqRDtRQUEwQiw4QkFBdUI7SUF3Q2pELENBQUM7SUFoQlEsb0JBQUssR0FBWixVQUFhLFVBQXlCO1FBQ3BDLElBQUksSUFBSSxHQUFHLElBQUksQ0FBQyxVQUFVLEVBQUUsQ0FBQyxhQUFhLENBQUM7UUFDM0MsRUFBRSxDQUFDLENBQUMsSUFBSSxJQUFJLElBQUksQ0FBQyxNQUFNLEdBQUcsQ0FBQyxDQUFDLENBQUMsQ0FBQztZQUM1QixFQUFFLENBQUMsQ0FBQyxJQUFJLENBQUMsQ0FBQyxDQUFDLENBQUMsTUFBTSxDQUFDLENBQUMsQ0FBQztnQkFDbkIsSUFBSSxDQUFDLE1BQU0sR0FBRyxJQUFJLENBQUMsQ0FBQyxDQUFDLENBQUMsTUFBTSxDQUFDO1lBQy9CLENBQUM7WUFFRCxJQUFJLENBQUMsYUFBYSxHQUFHLElBQUksQ0FBQyxDQUFDLENBQUMsQ0FBQyxhQUFhLEtBQUssS0FBSyxDQUFDO1lBQ3JELElBQUksQ0FBQyx1QkFBdUI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xpZEpzZG9jUnVsZS5qcyIsInNvdXJjZVJvb3QiOiIvVXNlcnMvam1sb3Blei9Xb3Jrc3BhY2UvdHNsaW50LWVzbGludC1ydWxlcy9zcmMifQ== |
@@ -7,8 +7,8 @@ "use strict"; | ||
}; | ||
var ts = require('typescript'); | ||
var Lint = require('tslint'); | ||
var ts = require("typescript"); | ||
var Lint = require("tslint"); | ||
var Rule = (function (_super) { | ||
__extends(Rule, _super); | ||
function Rule() { | ||
_super.apply(this, arguments); | ||
return _super.apply(this, arguments) || this; | ||
} | ||
@@ -19,5 +19,5 @@ Rule.prototype.apply = function (sourceFile) { | ||
}; | ||
Rule.FAILURE_STRING = 'invalid typeof comparison value'; | ||
return Rule; | ||
}(Lint.Rules.AbstractRule)); | ||
Rule.FAILURE_STRING = 'invalid typeof comparison value'; | ||
exports.Rule = Rule; | ||
@@ -27,5 +27,6 @@ var ValidTypeofWalker = (function (_super) { | ||
function ValidTypeofWalker() { | ||
_super.apply(this, arguments); | ||
this.VALID_TYPES = ['symbol', 'undefined', 'object', 'boolean', 'number', 'string', 'function']; | ||
this.OPERATORS = [ts.SyntaxKind.EqualsEqualsToken, ts.SyntaxKind.EqualsEqualsEqualsToken, ts.SyntaxKind.ExclamationEqualsToken, ts.SyntaxKind.ExclamationEqualsEqualsToken]; | ||
var _this = _super.apply(this, arguments) || this; | ||
_this.VALID_TYPES = ['symbol', 'undefined', 'object', 'boolean', 'number', 'string', 'function']; | ||
_this.OPERATORS = [ts.SyntaxKind.EqualsEqualsToken, ts.SyntaxKind.EqualsEqualsEqualsToken, ts.SyntaxKind.ExclamationEqualsToken, ts.SyntaxKind.ExclamationEqualsEqualsToken]; | ||
return _this; | ||
} | ||
@@ -52,2 +53,2 @@ ValidTypeofWalker.prototype.visitNode = function (node) { | ||
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInJ1bGVzL3ZhbGlkVHlwZW9mUnVsZS50cyJdLCJuYW1l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FLLEVBQUUsQ0FBQyxVQUFVLENBQUMsYUFBYSxJQUFJLElBQUksQ0FBQyxXQUFXLENBQUMsT0FBTyxDQUFFLE9BQTRCLENBQUMsSUFBSSxDQUFDLEtBQUssQ0FBQyxDQUFDLENBQUMsQ0FBQyxDQUFDO29CQUN4SCxJQUFJLENBQUMsVUFBVSxDQUFDLElBQUksQ0FBQyxhQUFhLENBQUMsSUFBSSxDQUFDLFFBQVEsRUFBRSxFQUFFLElBQUksQ0FBQyxRQUFRLEVBQUUsRUFBRSxJQUFJLENBQUMsY0FBYyxDQUFDLENBQUMsQ0FBQztnQkFDN0YsQ0FBQztZQUNILENBQUM7UUFDSCxDQUFDO0lBQ0gsQ0FBQztJQUNILHdCQUFDO0FBQUQsQ0F2QkEsQUF1QkMsQ0F2QitCLElBQUksQ0FBQyxVQUFVLEdBdUI5QyIsImZpbGUiOiJydWxlcy92YWxpZFR5cGVvZlJ1bGUuanMiLCJzb3VyY2VSb290IjoiL1VzZXJzL2ptbG9wZXovV29ya3NwYWNlL3RzbGludC1lc2xpbnQtcnVsZXMvc3JjIn0= |
"use strict"; | ||
var ts = require('typescript'); | ||
var ts = require("typescript"); | ||
function isAssignmentToken(token) { | ||
@@ -8,2 +8,2 @@ return token.kind >= ts.SyntaxKind.FirstAssignment && token.kind <= ts.SyntaxKind.LastAssignment; | ||
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInN1cHBvcnQvdG9rZW4udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLElBQVksRUFBRSxXQUFNLFlBQVksQ0FBQyxDQUFBO0FBRWpDLDJCQUFrQyxLQUFjO0lBQzlDLE1BQU0sQ0FBQyxLQUFLLENBQUMsSUFBSSxJQUFJLEVBQUUsQ0FBQyxVQUFVLENBQUMsZUFBZSxJQUFJLEtBQUssQ0FBQyxJQUFJLElBQUksRUFBRSxDQUFDLFVBQVUsQ0FBQyxjQUFjLENBQUM7QUFDbkcsQ0FBQztBQUZlLHlCQUFpQixvQkFFaEMsQ0FBQSIsImZpbGUiOiJzdXBwb3J0L3Rva2VuLmpzIiwic291cmNlUm9vdCI6Ii9Vc2Vycy9qbWxvcGV6L1dvcmtzcGFjZS90c2xpbnQtZXNsaW50LXJ1bGVzL3NyYyJ9 | ||
//# sourceMappingURL=data:application/json;charset=utf8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInN1cHBvcnQvdG9rZW4udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLCtCQUFpQztBQUVqQywyQkFBa0MsS0FBYztJQUM5QyxNQUFNLENBQUMsS0FBSyxDQUFDLElBQUksSUFBSSxFQUFFLENBQUMsVUFBVSxDQUFDLGVBQWUsSUFBSSxLQUFLLENBQUMsSUFBSSxJQUFJLEVBQUUsQ0FBQyxVQUFVLENBQUMsY0FBYyxDQUFDO0FBQ25HLENBQUM7QUFGRCw4Q0FFQyIsImZpbGUiOiJzdXBwb3J0L3Rva2VuLmpzIiwic291cmNlUm9vdCI6Ii9Vc2Vycy9qbWxvcGV6L1dvcmtzcGFjZS90c2xpbnQtZXNsaW50LXJ1bGVzL3NyYyJ9 |
{ | ||
"name": "tslint-eslint-rules", | ||
"version": "3.1.0", | ||
"version": "3.2.0", | ||
"description": "Improve your TSLint with the missing ESLint Rules", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is too big to display
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
360373
33
4233
4