mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-29 02:02:40 +01:00
Disable the customization of linter severities for ArcanistCommitLinter
Summary: The expectation is that this linter only raises errors. Test Plan: This is mostly theoretical. Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: Korvin, epriestley Differential Revision: https://secure.phabricator.com/D11331
This commit is contained in:
parent
b780ef0868
commit
3152db6cce
1 changed files with 4 additions and 0 deletions
|
@ -30,6 +30,10 @@ final class ArcanistCommitLinter extends ArcanistLinter {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
protected function canCustomizeLintSeverities() {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
public function lintPath($path) {
|
public function lintPath($path) {
|
||||||
if ($this->getEngine()->getCommitHookMode()) {
|
if ($this->getEngine()->getCommitHookMode()) {
|
||||||
$this->lintNoCommit($path);
|
$this->lintNoCommit($path);
|
||||||
|
|
Loading…
Reference in a new issue