summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-10-09 02:05:49 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-10-09 02:05:49 +0000
commit203c30dad110239c9b40e5d283d4cad2412fcd51 (patch)
tree0d8d7117bccadb76496403588ef958386893301e
parent171c62f02db8ccb567894d8c9bd33f471e23c9c8 (diff)
downloadredmine-203c30dad110239c9b40e5d283d4cad2412fcd51.tar.gz
redmine-203c30dad110239c9b40e5d283d4cad2412fcd51.zip
rubocop: add Style/AsciiComments to .rubocop_todo.yml
git-svn-id: http://svn.redmine.org/redmine/trunk@18632 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--.rubocop.yml7
-rw-r--r--.rubocop_todo.yml5
2 files changed, 7 insertions, 5 deletions
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