This repository contains configuration files and installation instructions for including common linting and analysis tools in projects. Copy these into your projects and use pull requests to propose changes to defaults.
Do you disagree with anything in this repo? Want to discuss something? Open an issue or submit a pull request!
Static analysis to catch common errors and enforce consistentcy can both make you more productive and improves shared ownership of your codebase. This repository contains instructions on how to add various tools to your projects and hit the ground running with sensible (but opinionated) default configurations.
For maximum benefit, set up a continuous integration workflow that automatically tests your code using these tools, and whatever else you can automate.
- Ruby
- Rubocop
- Reek
- Brakeman
- bundler-audit
- SimpleCov
- Rollbar
- JavaScript
- eslint
- CoffeeScript
- coffeelint
- Git
- pre-commit hooks
See the top-level directories in this repository for more information.
You can copy files to your own liking, or use the generator script provided to copy relevant files to your project directory. Clone this repo and run the generator to see available options:
/path/to/brightin-template/brightin-template -h
- Jslint
- Jshint
- Rails best practices
- Ruby-lint
These configurations, scripts and conventions are extracted from real-world usage at Brightin.