Changeset View
Changeset View
Standalone View
Standalone View
src/lint/linter/ArcanistGoLintLinter.php
Show All 23 Lines | final class ArcanistGoLintLinter extends ArcanistExternalLinter { | ||||
public function getDefaultBinary() { | public function getDefaultBinary() { | ||||
return 'golint'; | return 'golint'; | ||||
} | } | ||||
public function getInstallInstructions() { | public function getInstallInstructions() { | ||||
return pht( | return pht( | ||||
'Install Golint using `%s`.', | 'Install Golint using `%s`.', | ||||
'go get github.com/golang/lint/golint'); | 'go get -u golang.org/x/lint/golint'); | ||||
} | } | ||||
public function shouldExpectCommandErrors() { | public function shouldExpectCommandErrors() { | ||||
return false; | return false; | ||||
} | } | ||||
protected function canCustomizeLintSeverities() { | protected function canCustomizeLintSeverities() { | ||||
return true; | return true; | ||||
Show All 27 Lines |