JSLint
for Windows and Linux
for OS X
Ctrl+Alt+S

Use this page to enable the built-in JavaScript JSLint code verifier and configure its behaviour and sensitivity.
Item | Description |
---|---|
Enable | Select this check box to have JSLint applied to verify the code in the current project. After that the other controls in the page are enabled. |
Tolerate | In this area, specify the discrepancies you want JSLint to consider worth reporting by enabling or disabling JSLint options. By default, discrepancies of all types are considered worth reporting. To have the tool skip discrepancies of a certain type, select the check box next to this type. |
Assume | In this area, specify for which environments you want global properties predefined. |
Stop on first error | Select this check box to have the verification process suspend as soon as the first valuable discrepancy is detected. |
Safe Subset | Select this check box to have ADSafe safe subset rules enforced. |
Verify ADsafe | Select this check box to have the ADSafe rules enforced. |
Indentation |
In this tet box, type the number of spaces to be used for indentation.
This setting corresponds to the indent option.
|
Maximum line length |
In this text box, limit the number of characters acceptable in one line.
This setting corresponds to the maxlen option.
|
Maximum number of errors |
In this text box, specify the maximum number of warnings that can be reported. The default setting is 50.
This setting corresponds to the maxerr option.
|
Predefined |
In this text box, specify the predefined global variables by names or through object keys. Use commas (, > as separators.
|
Validate also |
In this area, enable or disable additional verification of HTML, CSS, or JSON context and configure the checking mode, when enabled.
|
See Also
Reference:
Language and Framework-Specific Guidelines:
External Links:
Last modified: 12 July 2016