https://github.com/dubit/rubocop-dubit
https://github.com/dubit/rubocop-dubit
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/dubit/rubocop-dubit
- Owner: dubit
- License: mit
- Created: 2021-10-26T10:20:54.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-09-17T08:55:42.000Z (almost 2 years ago)
- Last Synced: 2025-03-27T17:50:05.384Z (over 1 year ago)
- Language: Ruby
- Size: 10.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# RuboCop Dubit
Composable `.rubocop` configuration files for Dubit's styleguides for Ruby, Rails, RSpec and Haml.
Heavily inspired by https://github.com/alphagov/rubocop-govuk
## Installation
Add `rubocop-dubit` to your Gemfile and then run `bundle install`:
```ruby
# Gemfile
gem 'rubocop-dubit', git: 'git@github.com:dubit/rubocop-dubit.git', require: false
```
Then inherit the default rules by adding the following in your project:
```yaml
# .rubocop.yml
inherit_gem:
rubocop-dubit:
- config/default.yml
inherit_mode:
merge:
- Exclude
```