CLion 2019.1 Help

Closure Linter

You can configure and use Closure Linter right from CLion.

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 CLion

  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\gjslint.exe for Windows

    • /usr/local/bin/gjslint for Linux and macOS

  3. Specify the path to the previously created configuration file.

Last modified: 24 July 2019

See Also

Language and Framework-Specific Guidelines: