An open API service indexing awesome lists of open source software.

https://github.com/jethrodaniel/rubocop-lazy-config

standardrb + rubocop recommendations
https://github.com/jethrodaniel/rubocop-lazy-config

Last synced: about 1 year ago
JSON representation

standardrb + rubocop recommendations

Awesome Lists containing this project

README

          

# rubocop-lazy-config

Simple ruby styling: [standardrb](https://github.com/standardrb/standard) plus anything rubocop recommends.

## Installation

Add to your `Gemfile`:

```ruby
group :development, :test do
gem "rubocop-lazy-config",
github: "jethrodaniel/rubocop-lazy-config",
require: false
end
```

Then run:

```shell
bundle
bundle binstubs rubocop
```

## Usage

Add a `.rubocop.yml` containing the following:

```yaml
inherit_gem:
rubocop-lazy-config: rubocop.yml
```

Now you can run the following to lint your code:

```shell
bin/rubocop # check for issues
bin/rubocop -A # auto-correct
```

## License

The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).