Class: Codeqa::Checkers::RubocopFormatter
- Inherits:
-
Rubocop
show all
- Defined in:
- lib/codeqa/checkers/rubocop_formatter.rb
Instance Attribute Summary
#errors, #sourcefile
Instance Method Summary
collapse
Methods inherited from Rubocop
available?, #check, check?
available?, #initialize
Instance Method Details
#after_check ⇒ Object
17
18
19
20
|
# File 'lib/codeqa/checkers/rubocop_formatter.rb', line 17
def after_check
end
|
#hint ⇒ Object
10
11
12
13
14
15
|
# File 'lib/codeqa/checkers/rubocop_formatter.rb', line 10
def hint
<<-EOF
Rubocop reformatted your code.
Check what it has done and add the changes to git's index
EOF
end
|
#name ⇒ Object
6
7
8
|
# File 'lib/codeqa/checkers/rubocop_formatter.rb', line 6
def name
'rubocop formatter'
end
|