]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Ignore environment variables for `coffeelint`
authorJoshua Spence <josh@joshuaspence.com>
Sun, 4 Jan 2015 19:40:07 +0000 (06:40 +1100)
committerJoshua Spence <josh@joshuaspence.com>
Sun, 4 Jan 2015 19:40:37 +0000 (06:40 +1100)
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

src/lint/linter/ArcanistCoffeeLintLinter.php

index ffc73b91ad0c446ec9905e060cc7b31e3d096762..068537709f154de995d0045a6bdc3e2d901cd56c 100644 (file)
@@ -61,6 +61,7 @@ final class ArcanistCoffeeLintLinter extends ArcanistExternalLinter {
     $options = array(
       '--reporter=checkstyle',
       '--color=never',
+      '--noconfig',
       '--quiet',
     );