Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions rubocop/README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Rubocop

The `.rubocop.yml` config is based on version `0.82.0` of [Rubocop](https://www.rubocop.org) gem ([github](https://github.com/rubocop-hq/rubocop)).
The `defaults.yml` config is based on version `0.82.0` of [Rubocop](https://www.rubocop.org) gem ([github](https://github.com/rubocop-hq/rubocop)).

## Usage

To use this config in your project, you need to inherit it by adding:

```yaml
inherit_from:
- https://raw.githubusercontent.com/Ragnarson/dotfiles/master/rubocop/.rubocop.yml
- https://raw.githubusercontent.com/Ragnarson/dotfiles/master/rubocop/defaults.yml

inherit_mode:
merge:
Expand All @@ -20,8 +20,8 @@ to your `.rubocop.yml`.
After running `rubocop` locally, the inherited (dot)file will be generated. If you don't want to track it with git, add the following to your `.gitignore`:

```gitignore
# Ignore Rubocop inherited config
.rubocop-https---raw-githubusercontent-com-Ragnarson-dotfiles-master-rubocop--rubocop-yml
# Ignore inherited Rubocop config from Ragnarson
.rubocop-9d4d0f74a816c43b8d0a3e80f347d886.yml
```

## Ruby version
Expand All @@ -47,4 +47,4 @@ You can find full list of available extensions [here](https://docs.rubocop.org/e

## Contributing

If you want to introduce any changes for `.rubocop.yml` file, please open a PR.
If you want to introduce any changes for `defaults.yml` file, please open a PR.
File renamed without changes.