Sha256: 2bbd1b3254c9906858d3870dbee616a49605c48b86814ea8c832dfe0870ec52e

Contents?: true

Size: 1.14 KB

Versions: 7

Compression:

Stored size: 1.14 KB

Contents

# Articulate MarkOps Shared RuboCop config

## Installation

Currently targets Ruby 2.6

Add this line to your app's Gemfile (You do not need to add `rubocop` as a dependency in your Gemfile):

```ruby
group :test, :development do
  gem 'art-rubocop'
end
```

And then run:

```bash
$ bundle install
```

`art-rubocop` comes bundled with:

[rubocop](https://rubygems.org/gems/rubocop)

[rubocop-performance](https://rubygems.org/gems/rubocop-performance)

[rubocop-rails](https://rubygems.org/gems/rubocop-rails)

[rubocop-rspec](https://rubygems.org/gems/rubocop-rspec)

## Usage

Copy the following code snippet into a `.rubocop.yml` in your app's root directory:

```yaml
inherit_gem:
  art-rubocop:
    - default.yml
```

To lint your Ruby files run:

```bash
$ bundle exec rubocop
```

## Release Instructions

1. Update the `spec.version` number in [art-rubocop.gemspec](https://github.com/articulate/art-rubocop/blob/master/art-rubocop.gemspec)

2. Run:

```bash
$ gem build art-rubocop.gemspec
```

3. git push, git paid

## Wiki

See the wiki for getting linting set up in your editor:

[art-rubocop wiki](https://github.com/articulate/art-rubocop/wiki)

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
art-rubocop-1.0.9 README.md
art-rubocop-1.0.8 README.md
art-rubocop-1.0.7 README.md
art-rubocop-1.0.6 README.md
art-rubocop-1.0.5 README.md
art-rubocop-1.0.4 README.md
art-rubocop-1.0.3 README.md