# gulp-jshint-cache

> Gulp task for fast, cached linting

Latest version **0.2.0** (published 2014-07-21) · CC BY 3.0 license · 0 weekly downloads

## Install

```sh
npm install gulp-jshint-cache
pnpm add gulp-jshint-cache
yarn add gulp-jshint-cache
bun add gulp-jshint-cache
```

## 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.2.0 |
| Published | 2014-07-21 |
| First published | 2014-07-21 |
| Weekly downloads | 0 |
| License | CC BY 3.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 7 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Ilya Kantor |
| Maintainers | iliakan |
| Keywords | gulp, jshint, lint, cache |

## Links

- npm: https://www.npmjs.com/package/gulp-jshint-cache
- Repository: https://github.com/iliakan/gulp-jshint-cache
- Issues: https://github.com/iliakan/gulp-jshint-cache/issues
- npm.io page: https://npm.io/package/gulp-jshint-cache

## Dependencies (7)

- [gulp](https://npm.io/package/gulp.md) ^3.8.6
- [gulp-if](https://npm.io/package/gulp-if.md) ^1.2.2
- [lazypipe](https://npm.io/package/lazypipe.md) ^0.2.1
- [through2](https://npm.io/package/through2.md) ^0.5.1
- [vinyl-fs](https://npm.io/package/vinyl-fs.md) ^0.3.4
- [gulp-jshint](https://npm.io/package/gulp-jshint.md) ^1.7.1
- [gulp-load-plugins](https://npm.io/package/gulp-load-plugins.md) ^0.5.3

## 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
- [@inrupt/eslint-config-base](https://npm.io/package/@inrupt/eslint-config-base.md) — 4.5K weekly downloads

## Recent versions

- 0.2.0 (latest) — 2014-07-21
- 0.1.0 — 2014-07-21

## README

# Fast cached jshint for gulp

It uses in-memory stat cache, that's why `lint-watch` is blazing fast.

Usage:
```js
var jshint = require('gulp-jshint-cache');
var sources = './**/*.js';

gulp.task('lint', jshint({ src: sources }));

gulp.task('lint-or-die', jshint({ src: sources, dieOnError: true }));

gulp.task('lint-watch', ['lint'], function(neverCalled) {
  gulp.watch(serverSources, ['lint']);
});
```

Options:
  - `src` -- sources for `glob.src` (required)
  - `dieOnError` -- if true, the process will die with error status `1` if lint fails. Use this for git pre-commit check.
  - `jshint` -- options for `gulp-jshint`

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