You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The rubocop-todo.yml apparently doesn't disables the RegexpLiteral cop. The entry added to the todo file is the following:
# Offense count: 4RegexpLiteral:
MaxSlashes: 3
$ rubocop --auto-gen-configInspecting 74 files.CCCC.CCWC.CC..CCCCCCCCCCCWCCCCWC..W.CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCOffenses:[...]74 files inspected, 574 offenses detectedCreated rubocop-todo.yml.Run `rubocop --config rubocop-todo.yml`, oradd inherit_from: rubocop-todo.yml in a .rubocop.yml file.
$ rubocopOffenses:lib/cocoapods-core/specification/linter.rb:226:17: C: Use %r only for regular expressions matching more than 3 '/' characters. if h =~ %r{http://EXAMPLE} ^^^^^^^^^^^^^^^^^^lib/cocoapods-core/specification/linter.rb:288:21: C: Use %r only for regular expressions matching more than 3 '/' characters. if git =~ %r{http://EXAMPLE} ^^^^^^^^^^^^^^^^^^lib/cocoapods-core/specification/linter.rb:331:17: C: Use %r only for regular expressions matching more than 3 '/' characters. if s =~ %r{https://twitter.com/EXAMPLE} ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^74 files inspected, 3 offenses detected
The text was updated successfully, but these errors were encountered:
The
rubocop-todo.yml
apparently doesn't disables theRegexpLiteral
cop. The entry added to the todo file is the following:The text was updated successfully, but these errors were encountered: