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
- Host: GitHub
- URL: https://github.com/jethrodaniel/rubocop-lazy-config
- Owner: jethrodaniel
- Created: 2025-03-31T21:19:34.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-31T21:37:01.000Z (about 1 year ago)
- Last Synced: 2025-03-31T22:26:05.384Z (about 1 year ago)
- Language: Ruby
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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).