Skip to content
This repository has been archived by the owner on Dec 4, 2017. It is now read-only.

Latest commit

 

History

History
50 lines (36 loc) · 1.45 KB

README.md

File metadata and controls

50 lines (36 loc) · 1.45 KB

Lintfox stability-deprecated Build Status MIT licensed

nigit cat logo

⚠️ This repository is no longer maintained by Lukas Martinelli.

The goal of Lintfox is to encapsulate linters for almost all programming languages, data formats and configuration files into a single tool you can run on your source code.

Run Lintfox on your Code

Docker is required to encapsulate all the different linters into one image. You can run all linters on your code by mounting it to the /source volume.

docker run --rm -v $(pwd):/source lukasmartinelli/lintfox npm run lint

Run a Linter via API Call

You only need to pass the git_repository as form value and choose an appropriate linter for your project to get the output of the linter. If the linter supports JSON formatting you can set the Accept header to application/json.

curl http://localhost8000/scss-lint?git_repository=https://github.com/lukasmartinelli/lintfox.git

Supported Linters

  • Ruby
    • rubocop
    • ruby-lint
  • Python
    • pep8
    • flake8
    • pyflakes
    • pylint
  • GeoJSON
    • geojsonhint
  • YAML
    • yamllint

Developer

Build Docker container.

docker build -t lukasmartinelli/lintfox src