1
0
Fork 0
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:
Joshua Spence 2014-05-10 01:52:57 -07:00 committed by epriestley
parent d80468bf81
commit 89de113787

View file

@ -19,7 +19,10 @@ final class ArcanistCSSLintLinter extends ArcanistExternalLinter {
}
public function getMandatoryFlags() {
return array('--format=lint-xml');
return array(
'--format=lint-xml',
'--quiet',
);
}
public function getDefaultFlags() {