#!/usr/bin/env php
.
*/
/**
* This file replaces eslint if the former is not found, to avoid failure in 'arc lint'.
* It is written in PHP as we can assume php is installed if arcanist is to work at all.
* It mimics `eslint --format json`.
* Set the VERBOSE env variable to generate an 'advice' level lint message.
*/
$verbose = getenv("VERBOSE") ? getenv("VERBOSE") : false;
$advice = <<