Skip to content

Commit

Permalink
Document class Cop::Team [doc]
Browse files Browse the repository at this point in the history
  • Loading branch information
marcandre authored and bbatsov committed May 26, 2020
1 parent aa930ec commit c7a4e54
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion lib/rubocop/cop/team.rb
Expand Up @@ -2,7 +2,13 @@

module RuboCop
module Cop
# FIXME
# A group of cops, ready to be called on duty to inspect files.
# Team is responsible for selecting only relevant cops to be sent on duty,
# as well as insuring that the needed forces are sent along with them.
#
# For performance reasons, Team will first dispatch cops & forces in two groups,
# first the ones needed for autocorrection (if any), then the rest
# (unless autocorrections happened).
class Team
DEFAULT_OPTIONS = {
auto_correct: false,
Expand Down

0 comments on commit c7a4e54

Please sign in to comment.