custom-tslint-formatters
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -7,2 +7,3 @@ "use strict"; | ||
}; | ||
var path = require('path'); | ||
var Lint = require('tslint/lib/lint'); | ||
@@ -15,3 +16,3 @@ var Formatter = (function (_super) { | ||
Formatter.prototype.formatFailure = function (failure) { | ||
var fileName = failure.getFileName(); | ||
var fileName = path.relative(process.cwd(), failure.getFileName()); | ||
var _a = failure.getStartPosition().getLineAndCharacter(), line = _a.line, character = _a.character; | ||
@@ -18,0 +19,0 @@ var message = failure.getFailure(); |
{ | ||
"name": "custom-tslint-formatters", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Custom formatters for TSLint.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
140854
7
72