Small utility to run a linter on the repo current changes
  • Python 99%
  • Makefile 1%
Find a file
2016-04-24 16:05:39 -03:00
lib add JSHint 2016-04-24 16:05:09 -03:00
tests add JSHint 2016-04-24 16:05:09 -03:00
.gitignore more tests 2016-01-26 15:38:37 -03:00
.travis.yml add travis file 2016-01-30 17:38:39 -03:00
git-partial-lint.py more tests 2016-01-26 15:38:37 -03:00
LICENSE update README 2016-01-30 17:28:05 -03:00
Makefile more tests 2016-01-26 15:38:37 -03:00
README.md Merge branch 'master' of github.com:hugoArregui/git-partial-lint 2016-04-24 16:05:39 -03:00

#Git-partial-lint

Build Status

Run your preferred linter only on your current changes!

Table of Contents

##Requirements

The only requirement to run git-partial-lint is python 3.5+.

(Of course you'll also need git and your chosen linter :-D)

##Usage

Example: git-partial-lint.py eslint test.js

usage: git-partial-lint.py [-h] [--format FORMAT] rule file [file ...]

run linter only on the repo current changes

positional arguments:
rule             rule name
file             file or wildcard

optional arguments:
-h, --help       show this help message and exit
--format FORMAT  format

##Supported Linters

##Customization

git-partial-lint doesn't provide too much customization options, but it's designed in a very modular way, so it should be pretty easy to you to write your own main script, and make your changes from there.

##Contributing

Just send me a pull request! If you add a new rule please make sure to add a test for it, so I don't have to install the linter myself.

##License

This software is distributed under the "BSD 3-clause" license. See LICENSE for details.