Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/casecommons/lint-config-ruby
https://github.com/casecommons/lint-config-ruby
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/casecommons/lint-config-ruby
- Owner: Casecommons
- License: mit
- Created: 2017-06-28T19:17:52.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-07-30T15:39:06.000Z (over 6 years ago)
- Last Synced: 2024-11-15T08:29:50.537Z (2 months ago)
- Language: Ruby
- Size: 8.79 KB
- Stars: 0
- Watchers: 10
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Case Commons Ruby lint config
Configuration for [RuboCop](http://batsov.com/rubocop/) per Case Commons style guide.
## Usage
Add to `Gemfile` in your project:
```ruby
gem 'lint-config-ruby', git: 'https://github.com/Casecommons/lint-config-ruby.git'
```Then use [`inherit_gem`](https://rubocop.readthedocs.io/en/latest/configuration/#inheriting-configuration-from-a-dependency-gem) to include the configuration in your own project. For example:
```yaml
# .rubocop.ymlinherit_gem:
lint-config-ruby:
- default.yml
```## Publish a release
In order to publish a release to artifactory, you can run the following commandPlease make sure to update the version in the .gemspec file before pushing a release.
```
rake release
```