eslint-git-changes

2.0.1 • Public • Published

eslint-git-changes

Run eslint on added and modified javascript/json/jsx files in your git working tree

Usage

Install it: npm install --save-dev eslint-git-changes.

Suggestion: Then add a pretest script to your package.json.

{
    "pretest": "eslint-git-changes --json --jsx",
    "test": "mocha",
    "posttest": "echo \"profit\""
}

/eslint-git-changes/

    Package Sidebar

    Install

    npm i eslint-git-changes

    Weekly Downloads

    9

    Version

    2.0.1

    License

    MIT

    Last publish

    Collaborators

    • danmactough