-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Check JavaScripts too #40
Comments
Hey Viktor - I was thinking about this yesterday and I added jshint and a test to my package.json - but I wasn't sure how to install jshint and run the test: |
Also - I was trying to add phpstan to my WordPress theme but it kept coming up with errors about unknown functions - mostly because I've added support for plugins. It also came up with loads of errors about argument counts. I ended up adding rules that ignored those errors entirely but that doesn't seem like the best thing to do: |
|
My notes are in BinaryMoon/jarvis#59 |
Gonna close this since jshint seems to be working well |
You may look for a tool to guard JavaScript code quality.
A liberal choice is ESLint.
JSLint will teach you how to produce robust code. (although fiddly to use on the command line)
The text was updated successfully, but these errors were encountered: