Class: Gitlab::Dangerfiles::MergeRequestLinter
- Inherits:
-
BaseLinter
- Object
- BaseLinter
- Gitlab::Dangerfiles::MergeRequestLinter
- Defined in:
- lib/gitlab/dangerfiles/merge_request_linter.rb
Constant Summary
Constants inherited from BaseLinter
BaseLinter::MAX_LINE_LENGTH, BaseLinter::MIN_SUBJECT_WORDS_COUNT
Instance Attribute Summary
Attributes inherited from BaseLinter
Class Method Summary collapse
Methods inherited from BaseLinter
#add_problem, #failed?, #initialize, #inspect, #lint_subject, problems_mapping
Constructor Details
This class inherits a constructor from Gitlab::Dangerfiles::BaseLinter
Class Method Details
.mr_run_options_regex ⇒ Object
14 15 16 17 18 19 20 21 |
# File 'lib/gitlab/dangerfiles/merge_request_linter.rb', line 14 def self. [ "RUN AS-IF-FOSS", "UPDATE CACHE", "RUN ALL RSPEC", "SKIP RSPEC FAIL-FAST", ].join("|") end |
.subject_description ⇒ Object
10 11 12 |
# File 'lib/gitlab/dangerfiles/merge_request_linter.rb', line 10 def self.subject_description "merge request title" end |