From 61946b23fd868cabc69d1be3724015545ddfe825 Mon Sep 17 00:00:00 2001 From: Franz Liedke <249125+franzliedke@users.noreply.github.com> Date: Tue, 5 May 2026 11:03:14 +0200 Subject: [PATCH 1/2] Rename .rubocop.yml to defaults.yml --- rubocop/{.rubocop.yml => defaults.yml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename rubocop/{.rubocop.yml => defaults.yml} (100%) diff --git a/rubocop/.rubocop.yml b/rubocop/defaults.yml similarity index 100% rename from rubocop/.rubocop.yml rename to rubocop/defaults.yml From 5cde5185344edd4fb28d4731b4a8447b52946c37 Mon Sep 17 00:00:00 2001 From: Franz Liedke <249125+franzliedke@users.noreply.github.com> Date: Tue, 5 May 2026 11:07:46 +0200 Subject: [PATCH 2/2] Update README.md --- rubocop/README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/rubocop/README.md b/rubocop/README.md index 9b91ce8..ea11ee6 100644 --- a/rubocop/README.md +++ b/rubocop/README.md @@ -1,6 +1,6 @@ # 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 @@ -8,7 +8,7 @@ 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: @@ -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 @@ -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.