Hi Matt, Could you expend a bit on the last part of your question? XML file for the rules and so on. Maybe an example of existing XML file for another linter would help. It's been a while since I used Sonar (back then it's support of JavaScript was very lacking, just linting, no complexity reports or anything else) and I've never tried to create plugins for it, so it's not clear what are the requirements here.
Thanks, Ilya Volodin On Monday, December 30, 2013 11:24:58 AM UTC-5, Nicholas Zakas wrote: > Hi Matt, > > Looping in the ESLint mailing list (this is where questions such as these > should be sent). > > Can you explain more about what you need? > > -N > > > > > On Thu, Dec 26, 2013 at 2:20 PM, Matthew Adamson wrote: > >> Thanks Nicholas, >> >> Sonar is a system which keeps an eye on all seven axes of code quality >> and allows tight control between violations ( issues in esLint ) and the >> developer responsible for them. It also helps track new violations added >> over time through differential analysis. >> >> I'm actually thinking of developing a new Sonar plug in which integrates >> with esLint to feed issues from generated from the system with Sonar. This >> would allow the violations to be managed through Sonar through standard >> means here >> >> http://docs.codehaus.org/display/SONAR/Violations+and+Reviews >> >> Perhaps you'd be interested in helping with some thoughts. I can generate >> a sensor which captures an esLint JSON formatted file generated from >> >> https://github.com/sindresorhus/eslint-json >> >> However Sonar relies on feeding the system with the existing rules e.g. >> js lint defined the rules in an XML file, other systems also contain XML >> definitions. Can you think of a good way to capture all rule definitions >> from esLint. We then need to map these fields to Sonar e.g. severity of >> esLint issue, description and rule key. >> >> Matt >> >> Date: Mon, 16 Dec 2013 08:52:14 -0800 >> Subject: Re: From Web Site: Question about article >> >> >> Hi Matt, >> >> I've not used Sonar, so I'm afraid I'm not familiar with its >> capabilities. I could easily see it being used in conjunction with ESLint. >> I would describe ESLint as a much lower-level tool and Sonar as a much >> higher-level one. >> >> -N >> >> >> On Sun, Dec 15, 2013 at 2:45 PM, Matt Adamson wrote: >> >> From: Matt Adamson >> Subject: Question about article >> >> Message Body: >> Hi Nicholas, >> >> I read with interest your articles on ESLint and also the maintainable >> Javascript book. >> >> Currently we use Sonar to measure the seven axes of quality in our >> projects which use a number of technologies including Java , Javascript and >> JSP. However recently we've favoured using ESLint for local and CI JS >> validation. Sonar also provides coding rule validation through its own >> plug in with no support for ESLint. >> >> The Sonar Javascript plug in however also measures complexity, commenting >> , duplication and design issues. It tracks this over time so it's easy to >> answer questions on whether a project has got better in certain areas and >> if not where e.g. modules / packages. They can then focus their efforts >> accordingly. >> >> Do you have much experience with Sonar? Do you use this in conjuction >> with ESLint in organisations? Perhaps together? >> >> Appreciate your thoughts >> >> Thanks >> >> Matt >> >> -- >> This mail is sent via contact form on NCZOnline >> http://www.nczonline.net/blog >> >> >> >> >> -- >> >> ______________________________ >> Nicholas C. Zakas >> @slicknet >> >> Author, Professional JavaScript for Web Developers >> Buy it at Amazon.com: >> http://www.amazon.com/Professional-JavaScript-Developers-Nicholas-Zakas/dp/1118026691/ref=sr_1_3 >> >> > > > > -- > > ______________________________ > Nicholas C. Zakas > @slicknet > > Author, Professional JavaScript for Web Developers > Buy it at Amazon.com: > http://www.amazon.com/Professional-JavaScript-Developers-Nicholas-Zakas/dp/1118026691/ref=sr_1_3 > > -- You received this message because you are subscribed to the Google Groups "ESLint" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
