diff --git a/.rubocop.yml b/.rubocop.yml index 90e8bcef0..967b6f7e7 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -60,6 +60,13 @@ Rails/BulkChangeTable: Rails/HelperInstanceVariable: Enabled: false +# Configuration parameters: AllowedChars. +Style/AsciiComments: + Exclude: + # Copyright credit has non ascii character. + # We can not change nor remove it. + - 'app/models/repository/git.rb' + Style/FormatStringToken: Enabled: false diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 424e7ffcb..8fa1d53d2 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -988,11 +988,6 @@ Style/Alias: Style/AndOr: Enabled: false -# Configuration parameters: AllowedChars. -Style/AsciiComments: - Exclude: - - 'app/models/repository/git.rb' - # Cop supports --auto-correct. # Configuration parameters: EnforcedStyle. # SupportedStyles: percent_q, bare_percent