ESLint
This feature is supported in the Ultimate edition only.
for Windows and Linux
for macOS
Ctrl+Alt+S

Use this page to enable the JavaScript ESLint code verifier and to configure its behaviour. If you are using JavaScript Standard Style in your project, you can enable linting with it here.
To configure IntelliJ IDEA code style options for JavaScript to follow the main rules Standard declares so they are applied when you type the code or reformat it, open the Code Style. JavaScript page ( for Windows and Linux or for macOS), click Set from, and then choose Predefined Style | JavaScript Standard Style. The style will replace your current scheme.
Item | Description |
---|---|
Enable | Select this check box to have ESLint/Standard applied to verify the code in the current project. After that the other controls in the page are enabled. |
Node Interpreter | In this field, specify the NodeJS installation home. Type the path to the NodeJS executable file manually, or click the ![]() If you have appointed one of the installations as default, the field displays the path to its executable file. |
ESLint Package | In this field, specify the location of the eslint package installed in the current project, see Installing ESLint or the standard package installed in your project or globally, see Installing JavaScript Standard. |
Configuration file | In this area, appoint the configuration to use. By default, IntelliJ IDEA first looks for a
|
Additional Rules Directory | In this field, specify the location of the files with additional code verification rules. These rules will be applied after the rules from .eslintrc or the above specified custom configuration file and accordingly will override them. |
Extra ESLint Options | In this field, specify additional command line options to run ESLint with using spaces as separators. See ESLint Command Line Interface Options for details. |