mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-11-22 14:52:40 +01:00
Add --quiet
flags to the ArcanistCSSLintLinter
.
Summary: This isn't really necessary, nor does it bear any significant benefits, however semantically it seems to make sense. From `csslint --help`, the `--quiet` flag causes `csslint` to "Only output when errors are present". Test Plan: Tested using `csslint` directly: ``` > csslint test.css csslint: No errors in /home/joshua/workspace/github.com/facebook/arcanist/foo.css. > csslint --quiet test.css ``` Reviewers: chad, epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: epriestley, Korvin Differential Revision: https://secure.phabricator.com/D9036
This commit is contained in:
parent
d80468bf81
commit
89de113787
1 changed files with 4 additions and 1 deletions
|
@ -19,7 +19,10 @@ final class ArcanistCSSLintLinter extends ArcanistExternalLinter {
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getMandatoryFlags() {
|
public function getMandatoryFlags() {
|
||||||
return array('--format=lint-xml');
|
return array(
|
||||||
|
'--format=lint-xml',
|
||||||
|
'--quiet',
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getDefaultFlags() {
|
public function getDefaultFlags() {
|
||||||
|
|
Loading…
Reference in a new issue