# gulp-csslint-teamcity

> TeamCity Reporter for gulp-csslint

Latest version **0.0.2** (published 2014-11-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install gulp-csslint-teamcity
pnpm add gulp-csslint-teamcity
yarn add gulp-csslint-teamcity
bun add gulp-csslint-teamcity
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2014-11-26 |
| First published | 2014-11-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Chunky Samurai |
| Maintainers | chunkysamurai |
| Keywords | teamcity, csslint, reporter, gulp, gulpplugin |

## Links

- npm: https://www.npmjs.com/package/gulp-csslint-teamcity
- Repository: https://github.com/chunkysamurai/gulp-csslint-teamcity
- Homepage: https://github.com/ChunkySamurai/gulp-csslint-teamcity
- Issues: https://github.com/chunkysamurai/gulp-csslint-teamcity/issues
- npm.io page: https://npm.io/package/gulp-csslint-teamcity

## Dependencies (1)

- [teamcity-service-messages](https://npm.io/package/teamcity-service-messages.md) ^0.1

## Alternatives

- [eslint-plugin-sonarjs](https://npm.io/package/eslint-plugin-sonarjs.md) — 2.9M weekly downloads
- [eslint-config-expo](https://npm.io/package/eslint-config-expo.md) — 1.5M weekly downloads
- [@matter/protocol](https://npm.io/package/@matter/protocol.md) — 63.5K weekly downloads
- [@eventcatalog/linter](https://npm.io/package/@eventcatalog/linter.md) — 24.8K weekly downloads
- [@pandacss/eslint-plugin](https://npm.io/package/@pandacss/eslint-plugin.md) — 18.7K weekly downloads

## Recent versions

- 0.0.2 (latest) — 2014-11-26

## README

#gulp-csslint-teamcity [![NPM version][npm-image]][npm-url] [![Build status][travis-image]][travis-url]
> A team city reporter for gulp-csslint (Inspired by jshint-teamcity)

## Usage

First, install `gulp-csslint-teamcity` as a development dependency:

```shell
npm install --save-dev gulp-csslint
```

Then, add it to your `gulpfile.js`:

```javascript
var teamcity = require('gulp-csslint-teamcity');

gulp.task('css', function () {
  gulp.src('client/css/*.css')
    .pipe(csslint())
    .pipe(csslint.reporter(teamcity));
});
```

Unfortunately this is going to fill your console window with ugly csslint errors that are only intended for teamcity. What you really want to do is use gulp-util[https://github.com/gulpjs/gulp-util] to have the reporter only used in a team city build:

```javascript
var gutil = require('gulp-util');
var teamcity = require('gulp-csslint-teamcity');

gulp.task('css', function () {
  gulp.src('client/css/*.css')
    .pipe(csslint())
    .pipe(csslint.reporter(gutil.env.teamcity ? teamcity : undefined));
});
```

Then make sure teamcity builds the project with the --teamcity argument:

```shell
gulp build --teamcity
```

[travis-url]: http://travis-ci.org/ChunkySamurai/gulp-csslint-teamcity
[travis-image]: https://travis-ci.org/ChunkySamurai/gulp-csslint-teamcity.svg
[npm-url]: https://npmjs.org/package/gulp-csslint-teamcity
[npm-image]: https://badge.fury.io/js/gulp-csslint-teamcity.png

---
_Source: https://npm.io/package/gulp-csslint-teamcity · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
