GoLand 2019.3 Help

Closure Linter

You can configure and use Closure Linter right from GoLand.

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 GoLand

  1. Open the Settings/Preferences dialog Ctrl+Alt+S, go to Languages and Frameworks | JavaScript | Code Quality Tools | Closure Linter, 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: 23 March 2020