From: Joshua Spence Date: Sun, 4 Jan 2015 19:40:07 +0000 (+1100) Subject: Ignore environment variables for `coffeelint` X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=f6b3f3c46a041f1f318187fdfe8dce2e3f9b9b3e;p=arcanist.git Ignore environment variables for `coffeelint` Summary: According to `coffeelint --help`, `--noconfig` ignores the environment variable `COFFEELINT_CONFIG`. This means that `arc lint` will behave more consistently across developer workstations by forcing configuration to be specified with `coffeelint.config` instead of with environment variables. Test Plan: This is mostly theoretical. Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: Korvin, epriestley Differential Revision: https://secure.phabricator.com/D11196 --- diff --git a/src/lint/linter/ArcanistCoffeeLintLinter.php b/src/lint/linter/ArcanistCoffeeLintLinter.php index ffc73b91..06853770 100644 --- a/src/lint/linter/ArcanistCoffeeLintLinter.php +++ b/src/lint/linter/ArcanistCoffeeLintLinter.php @@ -61,6 +61,7 @@ final class ArcanistCoffeeLintLinter extends ArcanistExternalLinter { $options = array( '--reporter=checkstyle', '--color=never', + '--noconfig', '--quiet', );