Closure Linter
You can configure and use Closure Linter right from GoLand.
Before you start
Download and install Python as described on the Python Official website.
Download and install Closure Linter as described on the Closure Official website.
To enable Closure Linter and configure its behavior in GoLand
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.
- Specify the path to the Closure Linter executable file:
<Python_home>\Scripts\gjslint.exe
for Windows/usr/local/bin/gjslint
for Linux and macOS
Specify the path to the previously created configuration file.