Comparing version 4.4.0 to 4.4.1
Change Log | ||
=== | ||
v4.4.1 | ||
--- | ||
* [bugfix] errant space in recommended ruleset (couldn't find `no-misused-new`) | ||
v4.4.0 | ||
@@ -48,3 +53,2 @@ --- | ||
* Mohsen Azimi | ||
* Noah Chen | ||
* Romke van der Meulen | ||
@@ -51,0 +55,0 @@ * cameron-mcateer |
@@ -38,5 +38,5 @@ /** | ||
"no-unnecessary-initializer": boolean; | ||
"no-misused-new ": boolean; | ||
"no-misused-new": boolean; | ||
}; | ||
declare const xtends = "tslint:recommended"; | ||
export { xtends as extends }; |
@@ -50,3 +50,3 @@ /** | ||
"no-unnecessary-initializer": true, | ||
"no-misused-new ": true, | ||
"no-misused-new": true, | ||
}; | ||
@@ -53,0 +53,0 @@ // tslint:enable object-literal-sort-keys |
@@ -186,3 +186,3 @@ /** | ||
}()); | ||
Linter.VERSION = "4.4.0"; | ||
Linter.VERSION = "4.4.1"; | ||
Linter.findConfiguration = configuration_1.findConfiguration; | ||
@@ -189,0 +189,0 @@ Linter.findConfigurationPath = configuration_1.findConfigurationPath; |
@@ -95,3 +95,3 @@ /** | ||
AdjacentOverloadSignaturesWalker.prototype.checkOverloadsAdjacent = function (overloads, getOverload) { | ||
var lastKey = undefined; | ||
var lastKey; | ||
var seen = new Set(); | ||
@@ -98,0 +98,0 @@ for (var _i = 0, overloads_1 = overloads; _i < overloads_1.length; _i++) { |
@@ -148,3 +148,3 @@ /** | ||
this.failureIgnorePart = Rule.IGNORE_WORDS_FAILURE_FACTORY(ignoreWords); | ||
// Converts all exceptions values to strings, trim whitespace, escapes RegExp special characters and combines into alternation | ||
// Converts all exceptions values to strings, trim whitespace, escapes RegExp special characters and combines into alternation | ||
var wordsPattern = ignoreWords | ||
@@ -151,0 +151,0 @@ .map(String) |
@@ -128,3 +128,3 @@ /** | ||
} | ||
var memberName = undefined; | ||
var memberName = void 0; | ||
// look for the identifier and get its text | ||
@@ -131,0 +131,0 @@ if (node.name !== undefined && node.name.kind === ts.SyntaxKind.Identifier) { |
@@ -386,3 +386,3 @@ /** | ||
NoUnusedVariablesWalker.prototype.fail = function (type, name, position, replacements) { | ||
var fix = undefined; | ||
var fix; | ||
if (replacements && replacements.length) { | ||
@@ -389,0 +389,0 @@ fix = new Lint.Fix(Rule.metadata.ruleName, replacements); |
@@ -265,3 +265,3 @@ /** | ||
var openBraceLine = this.getLineAndCharacterOfPosition(openBraceToken.getStart()).line; | ||
var failure = undefined; | ||
var failure; | ||
if (this.hasOption(OPTION_BRACE) && previousNodeLine !== openBraceLine) { | ||
@@ -268,0 +268,0 @@ failure = Rule.BRACE_FAILURE_STRING; |
@@ -62,3 +62,3 @@ /** | ||
var currentBlockScope = this.getCurrentBlockScope(); | ||
var indexVariableName = undefined; | ||
var indexVariableName; | ||
if (node.incrementor != null && arrayNodeInfo != null) { | ||
@@ -112,4 +112,4 @@ var indexVariable = arrayNodeInfo.indexVariable, arrayToken = arrayNodeInfo.arrayToken; | ||
PreferForOfWalker.prototype.getForLoopHeaderInfo = function (forLoop) { | ||
var indexVariableName = undefined; | ||
var indexVariable = undefined; | ||
var indexVariableName; | ||
var indexVariable; | ||
// assign `indexVariableName` if initializer is simple and starts at 0 | ||
@@ -116,0 +116,0 @@ if (forLoop.initializer != null && forLoop.initializer.kind === ts.SyntaxKind.VariableDeclarationList) { |
@@ -174,3 +174,3 @@ /** | ||
// but the named bindings always come last, so we only need to check that for whitespace | ||
var position = undefined; | ||
var position = void 0; | ||
if (importClause.namedBindings !== undefined) { | ||
@@ -177,0 +177,0 @@ position = importClause.namedBindings.getEnd(); |
@@ -61,3 +61,3 @@ /** | ||
var errorsFromMarkup = parse.parseErrorsFromMarkup(fileText); | ||
var program = undefined; | ||
var program = void 0; | ||
if (tslintConfig !== undefined && tslintConfig.linterOptions && tslintConfig.linterOptions.typeCheck) { | ||
@@ -64,0 +64,0 @@ var compilerHost = { |
{ | ||
"name": "tslint", | ||
"version": "4.4.0", | ||
"version": "4.4.1", | ||
"description": "An extensible static analysis linter for the TypeScript language", | ||
@@ -5,0 +5,0 @@ "bin": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1071976