Sha256: 5952441a130aa96aa5c488076c1f5656ce8854ef55b62776311aecdb150a8789

Contents?: true

Size: 529 Bytes

Versions: 2

Compression:

Stored size: 529 Bytes

Contents

# RuboCop GOV.UK

This repository provides common RuboCop rules for use with GOV.UK Ruby projects to comply with our [style guides][guides].

## Installation

Add `rubocop-govuk` to your Gemfile and then run `bundle install`:
```ruby
# Gemfile
gem 'rubocop-govuk'
```

Inherit rules from the gem by adding the following to your project's RuboCop config:
```yaml
# .rubocop
inherit_gem:
  rubocop-govuk: config/all.yml
```

## Usage

Run RuboCop: 

```sh
bundle exec rubocop
```

[guides]: https://github.com/alphagov/styleguides

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rubocop-govuk-0.2.0 README.md
rubocop-govuk-0.1.0 README.md