Socket
Socket
Sign inDemoInstall

tslint-teamcity-reporter

Package Overview
Dependencies
3
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.2.1 to 3.2.2

7

lib/formatters/inspections.js

@@ -42,4 +42,5 @@ "use strict";

var startPos = failure.getStartPosition().getLineAndCharacter();
var formattedMessage = "line " + startPos.line + ", col " + startPos.character + ", " + failure.getFailure();
var lineAndCharacter = failure.getStartPosition().getLineAndCharacter();
var lineAndColMessage = "line " + (lineAndCharacter.line + 1) + ", col " + (lineAndCharacter.character + 1);
var formattedMessage = lineAndColMessage + ", " + failure.getFailure();
var isError = failure.getRuleSeverity() === 'error';

@@ -59,3 +60,3 @@ var severity = isError ? 'ERROR' : 'WARNING';

ruleName: result.ruleName,
line: startPos.line
line: lineAndCharacter.line + 1
}));

@@ -62,0 +63,0 @@ });

{
"name": "tslint-teamcity-reporter",
"version": "3.2.1",
"version": "3.2.2",
"description": "A TSLint formatter/reporter for use in TeamCity which groups by files using TeamCity Test Suite",

@@ -5,0 +5,0 @@ "main": "./index.js",

@@ -106,7 +106,7 @@ # tslint-teamcity-reporter

#### 2. From your package.json
If you have a package.json file in the current directory, you can add an extra "tslint-teamcity" property to it:
If you have a package.json file in the current directory, you can add an extra "tslint-teamcity-reporter" property to it:
```json
{
"tslint-teamcity": {
"tslint-teamcity-reporter": {
"reporter": "inspections",

@@ -113,0 +113,0 @@ "report-name": "My TSLint Violations",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc