IntelliJ IDEA 2018.1 Help


IntelliJ IDEA lets you verify your JavaScript code using the built-in JSLint tool. Please note that JSLint does not fully support the latest ECMAScript features.

To enable JSLint and configure its behavior in IntelliJ IDEA

  1. In the Settings/Preferences dialog (Ctrl+Alt+S), choose JavaScript under Languages and Frameworks, and then choose JSLint under Code Quality Tools. On the JSLint page, that opens, select the Enable checkbox. After that the other controls on the page become available.
  2. In the Tolerate area, specify the types of problems you do not want JSLint to report. By default, the tool reports detected problems of all types. To skip problems of a certain type, select the checkbox next to this type.
  3. In the Assumearea, specify the targeted environment to check the code for.
  4. Specify the maximum number of problems to report (maxerr), the maximum line length (maxlen), and the predefined global variables by names or through object keys (predef).
  5. Select the JSON checkbox in the Validate also area to verify json files as well.
Last modified: 15 May 2018

See Also

Language and Framework-Specific Guidelines: