Zfilipin has uploaded a new change for review.
https://gerrit.wikimedia.org/r/172738
Change subject: Fixed RuboCop Style/CommentIndentation offense
......................................................................
Fixed RuboCop Style/CommentIndentation offense
Bug: 72841
Change-Id: I0f66cd4e3858eaf1e2ff3b12488f0182288b74ff
---
M .rubocop_todo.yml
M bin/docparser.rb
2 files changed, 2 insertions(+), 7 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/oojs/ui refs/changes/38/172738/1
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml
index 943216b..e36d883 100644
--- a/.rubocop_todo.yml
+++ b/.rubocop_todo.yml
@@ -37,11 +37,6 @@
Style/Blocks:
Enabled: false
-# Offense count: 2
-# Cop supports --auto-correct.
-Style/CommentIndentation:
- Enabled: false
-
# Offense count: 3
# Configuration parameters: MaxLineLength.
Style/IfUnlessModifier:
diff --git a/bin/docparser.rb b/bin/docparser.rb
index 0955df5..6cd413a 100644
--- a/bin/docparser.rb
+++ b/bin/docparser.rb
@@ -49,7 +49,7 @@
config: [],
visibility: :public,
type: nil,
- # static: false, # unnecessary, skip it
+ # static: false, # unnecessary, skip it
}
valid_for_all = %I[name description]
valid_per_kind = {
@@ -146,7 +146,7 @@
when 'ignore'
ignore = true
when 'abstract', 'inheritable', 'deprecated',
'singleton', 'throws', 'chainable', 'fires', 'localdoc', 'inheritdoc'
- # skip
+ # skip
else
fail "unrecognized keyword: #{keyword}"
end
--
To view, visit https://gerrit.wikimedia.org/r/172738
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I0f66cd4e3858eaf1e2ff3b12488f0182288b74ff
Gerrit-PatchSet: 1
Gerrit-Project: oojs/ui
Gerrit-Branch: master
Gerrit-Owner: Zfilipin <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits