# zkflow-task-eslint

> Eslint task in ZKflow format

Latest version **1.0.0** (published 2016-04-28) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install zkflow-task-eslint
pnpm add zkflow-task-eslint
yarn add zkflow-task-eslint
bun add zkflow-task-eslint
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2016-04-28 |
| First published | 2016-02-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=4.2 |
| Dependencies | 7 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Piotr Baranowski |
| Maintainers | bolo |
| Keywords | gulp, zkflow, task, eslint |

## Links

- npm: https://www.npmjs.com/package/zkflow-task-eslint
- Repository: https://github.com/zaklinaczekodu/zkflow-task-eslint
- Issues: https://github.com/zaklinaczekodu/zkflow-task-eslint/issues
- npm.io page: https://npm.io/package/zkflow-task-eslint

## Dependencies (7)

- [gulp-if](https://npm.io/package/gulp-if.md) 2.0.0
- [gulp-eslint](https://npm.io/package/gulp-eslint.md) 2.0.0
- [zkflow-node](https://npm.io/package/zkflow-node.md) 1.0.0
- [zkflow-watcher](https://npm.io/package/zkflow-watcher.md) 0.1.0
- [lodash.defaults](https://npm.io/package/lodash.defaults.md) 4.0.1
- [gulp-zkflow-utils](https://npm.io/package/gulp-zkflow-utils.md) 0.5.0
- [zkflow-next-handler](https://npm.io/package/zkflow-next-handler.md) 1.0.0

## 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

- 1.0.0 (latest) — 2016-04-28
- 0.1.1 — 2016-02-19
- 0.1.0 — 2016-02-19

## README

# ZKflow task eslint

Eslint task in [ZKflow](https://github.com/zaklinaczekodu/zkflow) format

[<img alt="Made by Zaklinacze Kodu" src="http://zaklinaczekodu.com/_assets/madeBy.svg" width="200">](http://zaklinaczekodu.com)

Shields
-------

[![npm](https://img.shields.io/npm/v/zkflow-task-eslint.svg?style=flat-square)](https://www.npmjs.com/package/zkflow-task-eslint)
[![npm](https://img.shields.io/npm/l/zkflow-task-eslint.svg?style=flat-square)](https://www.npmjs.com/package/zkflow-task-eslint)
[![npm](https://img.shields.io/npm/dm/zkflow-task-eslint.svg?style=flat-square)](https://www.npmjs.com/package/zkflow-task-eslint)
[![Travis](https://img.shields.io/travis/zaklinaczekodu/zkflow-task-eslint/master.svg?style=flat-square)](https://travis-ci.org/zaklinaczekodu/zkflow-task-eslint)<br>
[![bitHound Overall Score](https://www.bithound.io/github/zaklinaczekodu/zkflow-task-eslint/badges/score.svg)](https://www.bithound.io/github/zaklinaczekodu/zkflow-task-eslint)
[![bitHound Dependencies](https://www.bithound.io/github/zaklinaczekodu/zkflow-task-eslint/badges/dependencies.svg)](https://www.bithound.io/github/zaklinaczekodu/zkflow-task-eslint/master/dependencies/npm)
[![bitHound Dev Dependencies](https://www.bithound.io/github/zaklinaczekodu/zkflow-task-eslint/badges/devDependencies.svg)](https://www.bithound.io/github/zaklinaczekodu/zkflow-task-eslint/master/dependencies/npm)
[![bitHound Code](https://www.bithound.io/github/zaklinaczekodu/zkflow-task-eslint/badges/code.svg)](https://www.bithound.io/github/zaklinaczekodu/zkflow-task-eslint)<br>
[![GitHub forks](https://img.shields.io/github/forks/zaklinaczekodu/zkflow-task-eslint.svg?style=flat-square)](https://github.com/zaklinaczekodu/zkflow-task-eslint)
[![GitHub stars](https://img.shields.io/github/stars/zaklinaczekodu/zkflow-task-eslint.svg?style=flat-square)](https://github.com/zaklinaczekodu/zkflow-task-eslint)
[![GitHub followers](https://img.shields.io/github/followers/zaklinaczekodu.svg?style=flat-square)](https://github.com/zaklinaczekodu/zkflow-task-eslint)

Installation
------------

```bash
npm install --save zkflow-task-eslint zkflow gulp
```

Usage
-----

gulpfile.js

```javaScript
require('zkflow')({
  'lint-js': {
    task: require('zkflow-task-eslint')
  }
}, require('gulp'), mode)
```

### mode

Mode object. Determines task mode of operation.

```javaScript
{
  // If watch is true and eslintFix is false rerun eslint on any js file changes. Do not stop on errors.
  // If false run only once and stop on any errors
  watch: true
  // If false run only once and stop on any errors, and attempt to fix what can be fixed automatically by eslint itself
  eslintFix: true
}
```

Default options
---------------

```javaScript
{
  globs: [
    'gulpfile.js',
    'gulp/*.js',
    'gulp/**/*.js',
    'src/*.js',
    'src/**/*.js'
  ],
  globsOptions: {
    base: './'
  },
  dest: '',
  eslint: {
    rules: {
      'indent': [2, 2],
      'quotes': [2, 'single'],
      'linebreak-style': [2, 'unix'],
      'semi': [2, 'always']
    },
    env: {
      'commonjs': true,
      'browser': true,
      'jasmine': true
    },
    extends: 'eslint:recommended'
  }
}
```

Sponsors
--------

[<img alt="Street Team" src="http://zaklinaczekodu.com/_assets/streetteam.svg" width="200">](http://getstreetteam.com)

[<img alt="Zaklinacze Kodu" src="http://zaklinaczekodu.com/_assets/logo.svg" width="200">](http://zaklinaczekodu.com)

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