WebStorm 2018.2 Help

Closure Linter

You can configure and use Closure Linter right from WebStorm.

Before you start

  1. Download and install Python as described on the Python Official website.
  2. Download and install Closure Linter as described on the Closure Official website.

To enable Closure Linter and configure its behavior in WebStorm

  1. In the Settings/Preferences dialog (Ctrl+Alt+S), click JavaScript under Languages and Frameworks and then click Closure Linter under Code Quality Tools. On the Closure Linter page that opens, select the Enable checkbox. After that all the controls on the page become available.
  2. Specify the path to the Closure Linter executable file:
    • <Python_home>\Scripts\jslint.exe for Windows
    • /usr/local/bin/gjslint for Linux and macOS
  3. Specify the path to the previously created configuration file.
Last modified: 13 June 2018

See Also

Language and Framework-Specific Guidelines: