Use this page to enable the JavaScript ESLint code verifier and to configure its behaviour and sensitivity.
Item | Description |
---|---|
Enable | Select this check box to have ESCS 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 ![]() |
ESLint Package | In this field, specify the location of the eslint package installed in the current project, see Installing ESLint. |
Configuration file |
In this area, appoint the configuration to use.
By default, PyCharm first looks for a .eslintrc configuration file. PyCharm starts the search from the folder where the file to be checked is stored, then searches in the parent folder, and so on until reaches the project root. If no .eslintrc file is found, ESLint uses its default embedded configuration file. Accordingly, you have to define the configuration to apply either in a .eslintrc configuration file, or in a custom JSON configuration file, or rely on the default embedded configuration.
|