Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/corp-gp/rubocop-gp
GP specific analysis for RuboCop
https://github.com/corp-gp/rubocop-gp
Last synced: 10 days ago
JSON representation
GP specific analysis for RuboCop
- Host: GitHub
- URL: https://github.com/corp-gp/rubocop-gp
- Owner: corp-gp
- License: mit
- Created: 2020-10-07T11:22:03.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-11-11T17:04:22.000Z (about 1 month ago)
- Last Synced: 2024-11-11T18:19:14.617Z (about 1 month ago)
- Language: Ruby
- Size: 56.6 KB
- Stars: 0
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
## About
This gem inspired https://github.com/airbnb/ruby, but reconfigurable cops and no lock versions of `rubocop`, `rubocop-*`## Installation
Add this line to your application's Gemfile:
```ruby
group :development do
gem 'rubocop-gp', github: 'corp-gp/rubocop-gp'
end
```And then run:
```bash
$ bundle install
```## Usage
Create a `.rubocop.yml` with the following directives:
```yaml
inherit_gem:
rubocop-gp:
- .rubocop.yml
```Now, run:
```bash
$ bin/bundle exec rubocop
```You do not need to include rubocop directly in your application's dependences. This gem will include:
- [rubocop-rspec](https://github.com/rubocop-hq/rubocop-rspec)
- [rubocop-rails](https://github.com/rubocop-hq/rubocop-rails)
- [rubocop-performance](https://github.com/rubocop-hq/rubocop-performance)