From 8b56a3d41906d060136b6638ec562418a7670ea3 Mon Sep 17 00:00:00 2001 From: Jonathan A <7801456+devjona@users.noreply.github.com> Date: Mon, 2 Feb 2026 17:04:05 +0100 Subject: [PATCH] Copy .rubocop.yml file from SkillRx into this project --- .rubocop.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/.rubocop.yml b/.rubocop.yml index f9d86d4..d7e7790 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,6 +1,32 @@ # Omakase Ruby styling for Rails inherit_gem: { rubocop-rails-omakase: rubocop.yml } +Style/TrailingCommaInArguments: + EnforcedStyleForMultiline: consistent_comma +Style/TrailingCommaInArrayLiteral: + EnforcedStyleForMultiline: consistent_comma +Style/TrailingCommaInHashLiteral: + EnforcedStyleForMultiline: consistent_comma +Style/StringLiterals: + Enabled: true + EnforcedStyle: double_quotes + Include: + - "app/**/*" + - "config/**/*" + - "lib/**/*" + - "spec/**/*" + - "Gemfile" +Style/StringLiteralsInInterpolation: + EnforcedStyle: double_quotes + Include: + - "app/**/*" + - "config/**/*" + - "lib/**/*" + - "spec/**/*" + - "Gemfile" +Bundler/OrderedGems: + Enabled: true + # Overwrite or add rules to create your own house style # # # Use `[a, [b, c]]` not `[ a, [ b, c ] ]`