Skip to content
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

add introductory paragraph, adapted from docs.md #19

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
8 changes: 7 additions & 1 deletion pages/options.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,18 @@

<h1>JSHint Options</h1>


This page's content is sourced from <a href="{{ urls.repo }}">the JSHint
project repository</a>. If you spot an error, please <a href="{{ urls.newIssue
}}">open an issue</a> or (better yet) <a href="{{ urls.newPullRequest }}">make
a pull request</a>!

JSHint comes with a
<a href="https://github.com/jshint/jshint/blob/master/examples/.jshintrc">default set</a>
of warnings but it was designed to be very configurable. Most often, when you need to
tune JSHint to your own taste, all you need to do is to find an appropriate option.
JSHint has two types of options: enforcing and relaxing. The former are used to make JSHint
more strict, while the latter are used to suppress some warnings.

<h3><a class="anchor" href="#enforcing-options" name="enforcing-options">Enforcing options</a></h3>

<p>When set to true, these options will make JSHint produce more warnings about your code.</p>
Expand Down