I've been using gjslint
to verify that my JavaScript code is valid before sending it to my servers. Very practical.
In older versions (16.04, 18.04), it was found in the closure-linter
package.
In newer versions (20.04), it was moved to the closure-compiler
package (the closure-linter
was removed/renamed).
In 21.04, it seems to be gone. I have closure-compiler
installed and I can see gjs
and gjs-console
, but no gjslint
.
Is there a way to use gjs
as a linter only? Or is the linter hidden somewhere else?
Note: I ran apt-file find gjslint
and it came up empty handed.
You have already found many parts of the puzzle.
Below are last bricks. Source package for Ubuntu 18.04 LTS mentions project page - https://developers.google.com/closure/utilities/ .
It has the following: