Name: dlss_cops
Owner: Stanford University Digital Library
Description: A gem for versioning DLSS's baseline Ruby style guide
Created: 2016-03-09 22:30:35.0
Updated: 2018-04-06 23:58:55.0
Pushed: 2018-04-06 23:58:56.0
Size: 19
Language: Ruby
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
DlssCops is a Rubocop configuration gem that holds DLSS's baseline Ruby style guide. See https://github.com/sul-dlss/DeveloperPlaybook/tree/master/style for more information about the DLSS style. See https://github.com/bbatsov/rubocop for more information about Rubocop.
We recommend you use the latest version of DlssCops but if needed, you can
select a specific version to manage change.
Add a development_dependency in your gem's gemspec file
mspec.add_development_dependency 'dlss_cops'
OR, if it's not a gem, add these lines to your Gemfile:
p :development, :test do
m 'dlss_cops'
Set up your .rubocop.yml file:
rit_gem:
ss_cops: "config/dlss_baseline.yml"
ops:
rgetRubyVersion: 2.2
Then you can launch rubocop via: bundle exec rubocop <options>
See https://github.com/bbatsov/rubocop#basic-usage for more information.