Skip to content

Document policy on new "environment" options #46

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions pages/options.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,15 @@ <h3><a class="anchor" href="#environments" name="environments">Environments</a><

<p>These options let JSHint know about some pre-defined global variables.</p>

<p><strong>Note:</strong> the JSHint project is no longer accepting new
library-specific "environment" options. Please use <a href="/docs">the
<code>globals</code> configuration option</a> to manage globally-defined
bindings. (JavaScript libraries come and go, and even the most popular and
stable are subject to change over time. Supporting multiple versions
concurrently increases maintenance burden and introduces coordination issues
that are best avoided by allowing consumers to explicitly manage custom rules
in their own projects' configurations. Those libraries that are currently
supported are maintained only to honor commitments made before this change in
policy.)</p>

{{>option-table options.environments }}