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

Encapsulate all linters into a single tool

License

Notifications You must be signed in to change notification settings

lukasmartinelli-alt/lintfox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Encapsulate all linters into a single tool

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published