File | Settings | JavaScript - Code Quality Tools - JSLint
Ctrl+Alt+S
settings

Use this page to enable the built-in JavaScript JSLint code verifier and configure its behaviour and sensitivity.

ItemDescription
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.
Warn In this area, specify the discrepancies you want JSLint to consider worth reporting by enabling or disabling JSLint options. To enable or disable an option, select or clear the corresponding check box respectively.
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.

This setting corresponds to the predef option.

See Also

Language and Framework-Specific Guidelines:

Reference:

Web Resources: