https://github.com/matkoniecz/matkoniecz-ruby-style
Shared ruby style config for rubocop.
https://github.com/matkoniecz/matkoniecz-ruby-style
code-style matkoniecz-config rubocop ruby
Last synced: 4 months ago
JSON representation
Shared ruby style config for rubocop.
- Host: GitHub
- URL: https://github.com/matkoniecz/matkoniecz-ruby-style
- Owner: matkoniecz
- License: mit
- Created: 2018-10-15T16:20:57.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2021-11-03T12:02:50.000Z (almost 4 years ago)
- Last Synced: 2025-06-12T06:18:02.769Z (4 months ago)
- Topics: code-style, matkoniecz-config, rubocop, ruby
- Language: Ruby
- Homepage:
- Size: 21.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# matkoniecz-ruby-style
Shared ruby style config for rubocop.
Inspired by [percy-style](https://github.com/percy/percy-style).
## Installation
$ gem install matkoniecz-ruby-style
or add this line to your application's Gemfile:
```ruby
gem 'matkoniecz-ruby-style'
```or, for a Ruby library, add this to your gemspec:
```ruby
spec.add_development_dependency 'matkoniecz-ruby-style'
```## Usage
Create a `.rubocop.yml` with the following directives:
```yaml
inherit_gem:
matkoniecz-ruby-style:
- standard_rubocop_config.yml
```You do not need to include rubocop directly in your application's dependencies. This gem includes a specific version of `rubocop` and `rubocop-rspec` that is shared across all projects.
## How to release new gem version
See `reinstall.sh` and `reinstall_and_push_new_version.sh` files.
## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/matkoniecz/matkoniecz-ruby-style.