lint-staged

🚫💩 — Run linters on git staged files

MIT License

Downloads
43M
Stars
12.9K
Committers
143

Bot releases are hidden (Show)

lint-staged - v8.0.2

Published by okonet almost 6 years ago

8.0.2 (2018-10-29)

Bug Fixes

  • git: Use resolveGitDir in hasPartiallyStagedFiles (#520) (af99172), closes #514
lint-staged - v8.0.1

Published by okonet almost 6 years ago

8.0.1 (2018-10-29)

Bug Fixes

  • git: Use resolveGitDir to resolve to .git for git commands (#518) (da42f8a), closes #514
lint-staged - v8.0.0

Published by okonet almost 6 years ago

8.0.0 (2018-10-29)

Features

  • Add support for partially staged files (#75) (f82443c), closes #62

BREAKING CHANGES

  • Node >= 8.6 is required
lint-staged - v7.3.0

Published by okonet about 6 years ago

7.3.0 (2018-09-20)

Features

  • Allow linting files outside of project folder (#495) (d386c80)
lint-staged - v7.2.2

Published by okonet about 6 years ago

7.2.2 (2018-08-12)

Bug Fixes

  • Make app package.json load error tolerant (#479) (d59fad7)
lint-staged - v7.2.1

Published by okonet about 6 years ago

7.2.1 (2018-08-12)

Bug Fixes

  • Disable recursive checks for jest-validate (#483) (c350a0e)
lint-staged - v7.2.0

Published by okonet over 6 years ago

7.2.0 (2018-06-11)

Features

  • Resolve a npm package passed as --config (#464) (c34a3f7)
lint-staged - v7.1.3

Published by okonet over 6 years ago

7.1.3 (2018-06-01)

Bug Fixes

  • package: Update jest-validate to version 23.0.0 (#458) (3d0ccb2)
lint-staged - v7.1.2

Published by okonet over 6 years ago

7.1.2 (2018-05-21)

Bug Fixes

  • package: Update cosmiconfig to version 5.0.2 (#444) (2fc7aa3), closes #441
  • package: Update listr to version 0.14.1 (#445) (a56d7c9), closes #426
  • Add .lintstagedrc.js to list of config files to search (9e27620)
lint-staged - v7.1.1

Published by okonet over 6 years ago

7.1.1 (2018-05-18)

Bug Fixes

lint-staged - v7.1.0

Published by okonet over 6 years ago

7.1.0 (2018-05-07)

Features

  • Chunked execution of linters on Windows only (#439) (1601c02)
lint-staged - v7.0.5

Published by okonet over 6 years ago

7.0.5 (2018-04-26)

Bug Fixes

  • Update "please-upgrade-node" to version 3.0.2 (#434) (b9d84ce)
lint-staged - v7.0.4

Published by okonet over 6 years ago

7.0.4 (2018-04-05)

Bug Fixes

  • Parse arguments with single quotes properly. Better tests. (29fc479), closes #419
lint-staged - v7.0.3

Published by okonet over 6 years ago

7.0.3 (2018-04-03)

Bug Fixes

  • Fix cli-command-parser to parse arguments for execa (b4fbc3b), closes #419
  • Use double quotes to make command work on Windows (06635c6)
lint-staged - v7.0.2

Published by okonet over 6 years ago

7.0.2 (2018-04-01)

Bug Fixes

  • Hide error message in a private field to avoid duplicate logs (#421) (4d6f165)
lint-staged - v7.0.1

Published by okonet over 6 years ago

7.0.1 (2018-03-30)

Bug Fixes

  • package: update staged-git-files to version 1.1.1 (31176c9)
lint-staged - v7.0.0

Published by okonet over 6 years ago

7.0.0 (2018-02-21)

Bug Fixes

  • package: Bump dependencies (267ff0f)

Code Refactoring

Features

Performance Improvements

BREAKING CHANGES

  • Requires Node.js v6 or later.

  • Remove implicit support for running npm scripts.

    Consider example lint-staged config:

    {
      "name": "My project",
      "version": "0.1.0",
      "scripts": {
        "my-custom-script": "linter --arg1 --arg2",
        "precommit": "lint-staged"
      },
      "lint-staged": {
        "*.js": ["my-custom-script", "git add"]
      }
    }
    

    The list of commands should be changed to the following:

      "*.js": ["npm run my-custom-script --", "git add"]
    
  • The following minimatch options are not supported in micromatch:

lint-staged - v6.1.1

Published by okonet over 6 years ago

6.1.1 (2018-02-16)

Bug Fixes

  • package: Update staged-git-files to version 1.0.0 (677e860)
lint-staged - v6.1.0

Published by okonet over 6 years ago

6.1.0 (2018-01-26)

Features

lint-staged - v6.0.1

Published by okonet almost 7 years ago

6.0.1 (2018-01-19)

Bug Fixes

  • package: update cosmiconfig to version 4.0.0 (80596c3)