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![]() |
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![]() |
Verify ADsafe |
Select this check box to have the ADSafe rules![]() |
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.
This setting corresponds to the |
Validate also |
In this area, enable or disable additional verification of HTML, CSS, or JSON context and configure the checking mode, when enabled.
|