Sha256: ecef57ceb88f5032a9c1f2087ab0cb9f71dfa4b2694c44a1faec0ea848317c45

Contents?: true

Size: 946 Bytes

Versions: 3

Compression:

Stored size: 946 Bytes

Contents

# DlssCops

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.

## Installation

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

```ruby
  gemspec.add_development_dependency 'dlss_cops'
```

OR, if it's not a gem, add these lines to your Gemfile:

```ruby
group :development, :test do
  gem 'dlss_cops'
end
```

## Usage

Set up your .rubocop.yml file:

```yaml
inherit_gem:
  dlss_cops: "config/dlss_baseline.yml"

AllCops:
  TargetRubyVersion: 2.2
```

Then you can launch rubocop via: `bundle exec rubocop <options>`

See https://github.com/bbatsov/rubocop#basic-usage  for more information.

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dlss_cops-0.1.0 README.md
dlss_cops-0.0.5 README.md
dlss_cops-0.0.4 README.md