TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: Jenkins, Hudson, JSLint, and Netbeans

1 pointsby jdavidover 13 years ago
Ok, so at work we are using continuous integration and we decided that it was a good idea to use JSLint as part of our code quality process, however, running JSLint on our code now produces so many errors that the build is labeled as unstable.<p>This lead us to the next step, trying to remove the errors, but here Netbeans is still of little use. To get this to work, we need to fix thousands of style errors.<p>What process would you use to fix these errors quickly and effectively on a continual basis?<p>##here is what i tried.<p>using http://jsbeautifier.org/ ( not jslint compliant )<p>using http://jslint.com/ ( does not format jslint )<p>trying https://blogs.oracle.com/ashamash/entry/integrating_jslint_more_tightly_into ( some help, but still sluggish to look at the error list and compare line by line. )<p>coming up with regexs to fix some errors<p>##what i have not tried<p>creating an ant task to take a list of regex rules and apply them to the JS files. ( probably a few days worth of work to get them all )<p>fixing the jslint/netbeans connection ( probably a weeks worth of work )<p>switching to closure style checkers and formatters ( unknown )<p>are there any other suggestions out there?

no comments

no comments