diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-10-14 18:40:54 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-10-14 18:40:54 +0200 |
commit | 9df98e65f842cf3acae09cbdd969966f42d64469 (patch) | |
tree | f071d3e09a342c208fb8e1cd3f5241d64fbfbaf3 /node_modules/tslint/lib/formatters | |
parent | 008926b18470e7f394cd640302957b29728a9803 (diff) |
update dependencies
Diffstat (limited to 'node_modules/tslint/lib/formatters')
12 files changed, 13 insertions, 28 deletions
diff --git a/node_modules/tslint/lib/formatters/checkstyleFormatter.js b/node_modules/tslint/lib/formatters/checkstyleFormatter.js index 8163a75a1..ab7400fb7 100644 --- a/node_modules/tslint/lib/formatters/checkstyleFormatter.js +++ b/node_modules/tslint/lib/formatters/checkstyleFormatter.js @@ -19,7 +19,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = require("tslib"); var abstractFormatter_1 = require("../language/formatter/abstractFormatter"); var Utils = require("../utils"); -var Formatter = (function (_super) { +var Formatter = /** @class */ (function (_super) { tslib_1.__extends(Formatter, _super); function Formatter() { return _super !== null && _super.apply(this, arguments) || this; diff --git a/node_modules/tslint/lib/formatters/codeFrameFormatter.js b/node_modules/tslint/lib/formatters/codeFrameFormatter.js index 0b46e244c..8a74160d1 100644 --- a/node_modules/tslint/lib/formatters/codeFrameFormatter.js +++ b/node_modules/tslint/lib/formatters/codeFrameFormatter.js @@ -21,7 +21,7 @@ var abstractFormatter_1 = require("../language/formatter/abstractFormatter"); var codeFrame = require("babel-code-frame"); var colors = require("colors"); var Utils = require("../utils"); -var Formatter = (function (_super) { +var Formatter = /** @class */ (function (_super) { tslib_1.__extends(Formatter, _super); function Formatter() { return _super !== null && _super.apply(this, arguments) || this; diff --git a/node_modules/tslint/lib/formatters/fileslistFormatter.js b/node_modules/tslint/lib/formatters/fileslistFormatter.js index 5585c4224..273edfdb0 100644 --- a/node_modules/tslint/lib/formatters/fileslistFormatter.js +++ b/node_modules/tslint/lib/formatters/fileslistFormatter.js @@ -18,7 +18,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = require("tslib"); var abstractFormatter_1 = require("../language/formatter/abstractFormatter"); -var Formatter = (function (_super) { +var Formatter = /** @class */ (function (_super) { tslib_1.__extends(Formatter, _super); function Formatter() { return _super !== null && _super.apply(this, arguments) || this; diff --git a/node_modules/tslint/lib/formatters/jsonFormatter.js b/node_modules/tslint/lib/formatters/jsonFormatter.js index 5dfc53263..0965b25f0 100644 --- a/node_modules/tslint/lib/formatters/jsonFormatter.js +++ b/node_modules/tslint/lib/formatters/jsonFormatter.js @@ -19,7 +19,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = require("tslib"); var abstractFormatter_1 = require("../language/formatter/abstractFormatter"); var Utils = require("../utils"); -var Formatter = (function (_super) { +var Formatter = /** @class */ (function (_super) { tslib_1.__extends(Formatter, _super); function Formatter() { return _super !== null && _super.apply(this, arguments) || this; diff --git a/node_modules/tslint/lib/formatters/msbuildFormatter.d.ts b/node_modules/tslint/lib/formatters/msbuildFormatter.d.ts index 6227c2b8c..8f038f5ff 100644 --- a/node_modules/tslint/lib/formatters/msbuildFormatter.d.ts +++ b/node_modules/tslint/lib/formatters/msbuildFormatter.d.ts @@ -1,19 +1,3 @@ -/** - * @license - * Copyright 2016 Palantir Technologies, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ import { AbstractFormatter } from "../language/formatter/abstractFormatter"; import { IFormatterMetadata } from "../language/formatter/formatter"; import { RuleFailure } from "../language/rule/rule"; diff --git a/node_modules/tslint/lib/formatters/msbuildFormatter.js b/node_modules/tslint/lib/formatters/msbuildFormatter.js index f00960be4..b6335e02a 100644 --- a/node_modules/tslint/lib/formatters/msbuildFormatter.js +++ b/node_modules/tslint/lib/formatters/msbuildFormatter.js @@ -17,9 +17,10 @@ */ Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = require("tslib"); +var path = require("path"); var abstractFormatter_1 = require("../language/formatter/abstractFormatter"); var utils_1 = require("../utils"); -var Formatter = (function (_super) { +var Formatter = /** @class */ (function (_super) { tslib_1.__extends(Formatter, _super); function Formatter() { return _super !== null && _super.apply(this, arguments) || this; @@ -27,7 +28,7 @@ var Formatter = (function (_super) { /* tslint:enable:object-literal-sort-keys */ Formatter.prototype.format = function (failures) { var outputLines = failures.map(function (failure) { - var fileName = failure.getFileName(); + var fileName = path.normalize(failure.getFileName()); var failureString = failure.getFailure(); var camelizedRule = utils_1.camelize(failure.getRuleName()); var lineAndCharacter = failure.getStartPosition().getLineAndCharacter(); diff --git a/node_modules/tslint/lib/formatters/pmdFormatter.js b/node_modules/tslint/lib/formatters/pmdFormatter.js index 04a1aa7d9..040e51af2 100644 --- a/node_modules/tslint/lib/formatters/pmdFormatter.js +++ b/node_modules/tslint/lib/formatters/pmdFormatter.js @@ -19,7 +19,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = require("tslib"); var abstractFormatter_1 = require("../language/formatter/abstractFormatter"); var Utils = require("../utils"); -var Formatter = (function (_super) { +var Formatter = /** @class */ (function (_super) { tslib_1.__extends(Formatter, _super); function Formatter() { return _super !== null && _super.apply(this, arguments) || this; diff --git a/node_modules/tslint/lib/formatters/proseFormatter.js b/node_modules/tslint/lib/formatters/proseFormatter.js index 43ecfefae..02b33e4cd 100644 --- a/node_modules/tslint/lib/formatters/proseFormatter.js +++ b/node_modules/tslint/lib/formatters/proseFormatter.js @@ -18,7 +18,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = require("tslib"); var abstractFormatter_1 = require("../language/formatter/abstractFormatter"); -var Formatter = (function (_super) { +var Formatter = /** @class */ (function (_super) { tslib_1.__extends(Formatter, _super); function Formatter() { return _super !== null && _super.apply(this, arguments) || this; diff --git a/node_modules/tslint/lib/formatters/stylishFormatter.js b/node_modules/tslint/lib/formatters/stylishFormatter.js index ded0ca567..7c142c9e7 100644 --- a/node_modules/tslint/lib/formatters/stylishFormatter.js +++ b/node_modules/tslint/lib/formatters/stylishFormatter.js @@ -20,7 +20,7 @@ var tslib_1 = require("tslib"); var abstractFormatter_1 = require("../language/formatter/abstractFormatter"); var colors = require("colors"); var Utils = require("../utils"); -var Formatter = (function (_super) { +var Formatter = /** @class */ (function (_super) { tslib_1.__extends(Formatter, _super); function Formatter() { return _super !== null && _super.apply(this, arguments) || this; diff --git a/node_modules/tslint/lib/formatters/tapFormatter.js b/node_modules/tslint/lib/formatters/tapFormatter.js index f7743c173..65c1be6b2 100644 --- a/node_modules/tslint/lib/formatters/tapFormatter.js +++ b/node_modules/tslint/lib/formatters/tapFormatter.js @@ -19,7 +19,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = require("tslib"); var abstractFormatter_1 = require("../language/formatter/abstractFormatter"); var Utils = require("../utils"); -var Formatter = (function (_super) { +var Formatter = /** @class */ (function (_super) { tslib_1.__extends(Formatter, _super); function Formatter() { return _super !== null && _super.apply(this, arguments) || this; diff --git a/node_modules/tslint/lib/formatters/verboseFormatter.js b/node_modules/tslint/lib/formatters/verboseFormatter.js index 2b49e7e45..d681a7192 100644 --- a/node_modules/tslint/lib/formatters/verboseFormatter.js +++ b/node_modules/tslint/lib/formatters/verboseFormatter.js @@ -18,7 +18,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = require("tslib"); var abstractFormatter_1 = require("../language/formatter/abstractFormatter"); -var Formatter = (function (_super) { +var Formatter = /** @class */ (function (_super) { tslib_1.__extends(Formatter, _super); function Formatter() { return _super !== null && _super.apply(this, arguments) || this; diff --git a/node_modules/tslint/lib/formatters/vsoFormatter.js b/node_modules/tslint/lib/formatters/vsoFormatter.js index ac00d3de0..1e0b35659 100644 --- a/node_modules/tslint/lib/formatters/vsoFormatter.js +++ b/node_modules/tslint/lib/formatters/vsoFormatter.js @@ -19,7 +19,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = require("tslib"); var abstractFormatter_1 = require("../language/formatter/abstractFormatter"); var Utils = require("../utils"); -var Formatter = (function (_super) { +var Formatter = /** @class */ (function (_super) { tslib_1.__extends(Formatter, _super); function Formatter() { return _super !== null && _super.apply(this, arguments) || this; |