CLion 2018.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\jslint.exe for Windows
    • /usr/local/bin/gjslint for Linux and macOS
  3. Specify the path to the previously created configuration file.
Last modified: 30 May 2018

See Also

Language and Framework-Specific Guidelines: