Sha256: fea2394c30f9c14c48cddbd3168433d87398333bbccfee725ac3484e903135ca

Contents?: true

Size: 1.16 KB

Versions: 6

Compression:

Stored size: 1.16 KB

Contents

# Articulate MarkOps Shared RuboCop config

## Installation

Currently targets Ruby 3.1

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. gem push pkg/art-rubocop-<version>.gem

## 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

6 entries across 6 versions & 1 rubygems

Version Path
art-rubocop-1.1.5 README.md
art-rubocop-1.1.4 README.md
art-rubocop-1.1.3 README.md
art-rubocop-1.1.2 README.md
art-rubocop-1.1.1 README.md
art-rubocop-1.1.0 README.md