Bleach
Bleach is a Ruby tool that uses Docker containers to run static code analysis tools (such as linters) against a source code file. Bleach can also install a Git pre-commit hook so it runs automagically for modified files before they are committed.
- Installation
- Usage
- Supported languages and tools
- Demo
Installation
- Install Docker.
- Install the bleach gem.
gem install bleach
Usage
Usage:
bleach [OPTIONS]
Options:
-f, --file [STRING] Filepath of the file that needs to be checked.
-i, --install Install Git pre-commit hooks.