Socket
Socket
Sign inDemoInstall

eslint-teamcity

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-teamcity - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

.npmignore

8

package.json
{
"name": "eslint-teamcity",
"version": "1.0.0",
"version": "1.0.1",
"description": "An ESLint formatter plugin for TeamCity",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "mocha"
},

@@ -22,3 +22,7 @@ "repository": {

"url": "https://github.com/andreogle/eslint-teamcity/issues"
},
"devDependencies": {
"chai": "^3.5.0",
"mocha": "^2.4.5"
}
}
# eslint-teamcity
[![npm version](https://badge.fury.io/js/eslint-teamcity.svg)](https://badge.fury.io/js/eslint-teamcity)
[![Build Status](https://travis-ci.org/andreogle/eslint-teamcity.svg?branch=master)](https://travis-ci.org/andreogle/eslint-teamcity)
> A small [eslint](https://github.com/eslint/eslint) formatter plugin.
ESLint violations are output nicely in the
[TeamCity](https://www.jetbrains.com/teamcity/) build error format.
[TeamCity](https://www.jetbrains.com/teamcity/) build error format. Tested with
TeamCity 9.1.x

@@ -7,0 +10,0 @@ ## Installation

/**
* @fileoverview Teamcity report formatter plugin for ESLint
* @fileoverview TeamCity report formatter plugin for ESLint
* @author Andre Ogle

@@ -14,2 +14,4 @@ */

* Escape special characters with the respective TeamCity escaping.
* See below link for list of special characters:
* https://confluence.jetbrains.com/display/TCD9/Build+Script+Interaction+with+TeamCity
* @param {string} str An error message to display in TeamCity.

@@ -27,5 +29,5 @@ * @returns {string} An error message formatted for display in TeamCity

.replace(/\r/g, '|r')
.replace(/\u0085/g, '|x')
.replace(/\u2028/g, '|l')
.replace(/\u2029/g, '|p')
.replace(/\u0085/g, '|x') // TeamCity 6
.replace(/\u2028/g, '|l') // TeamCity 6
.replace(/\u2029/g, '|p') // TeamCity 6
.replace(/\[/g, '|[')

@@ -32,0 +34,0 @@ .replace(/\]/g, '|]');

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc