Closed alexandrestein closed 7 years ago
Unfortunately this project is deprecated (see https://github.com/google/closure-linter/blob/master/README.md) You can probably try --jslint_error=NO_MISSING_SEMICOLON as a workaround if you still need to use this tool.
I trued to update the package with pip. It looks like my version is: closure-linter==2.3.19.
If I make a file like this:
When I run the command:
fixjsstyle --strict file.js
The resulting file is:
It's the same with var:
Which gives:
It's maybe not the best way to define functions. But it supposes to works so I guess this is a bug.
By the way, what about to indentation which is not the same with var and let.
Thanks