4 ms·
Here's a shameless plug for https://coala.io/ https://coala.io/ which is a sort of a meta-linter — coala can run PMD on your code along with ~100 other linters
by underyx 10y ago
Here's a shameless plug for https://coala.io/ https://coala.io/ which is a sort of a meta-linter — coala can run PMD on your code along with ~100 other linters and code checkers.
- thecupisblue 10y agoOh wow! Awesome, gonna try it out today on my Android project, didn't know it existed!
- zellyn 10y agoIf you're a Go programmer, there's a Go-specific metalinter: https://github.com/alecthomas/gometalinter https://github.com/alecthomas/gometalinter
- deleted 10y ago[deleted]
- underyx 10y agoThis seems especially useful when you don't want to think about how to set up linting, and what rules you want to use. There's a similar tool for Python, called prospector: https://github.com/landscapeio/prospector https://github.com/landscapeio/prospector With coala you need to configure which linters run on which files, and we recognize this as a thing we can improve upon. We're soon going to ship a feature which will allow configuration to just specify where the files are (e.g. 'src/*.py') and what aspects to check (e.g. 'syntax,smells,duplication,security'). Then coala will decide which tools are appropriate, get them from pip/npm/wherever, and run them.
- BuuQu9hu 10y agocheck-all-the-things does exactly that already. Only knows about Debian dependencies so far though and still working on how to do automatic installs.
- epage 10y agoWell, I guess I don't need to worry about open sourcing my meta linter but instead look into adopting this. Drat, I liked the name "Red Herring".
- BuuQu9hu 10y agoAnother meta-linter: https://anonscm.debian.org/cgit/collab-maint/check-all-the-things.git https://anonscm.debian.org/cgit/collab-maint/check-all-the-t...
- adtac 10y agoActually, coala is not entirely a meta-linter - we have a few native linters that we wrote ourselves too. However, a large chunk is external linters.
- BuuQu9hu 10y agoIt might be interesting to split those native linters out into separate projects so that other meta-linters like flycheck, check-all-the-things, various IDEs etc can also use them.
- adtac 10y agoIndeed. However, you can run just those native linters with coala too (on specific files or entire projects). And we currently have plugin support for a few editors.
- BuuQu9hu 10y agoDo your linters support the Firehose static analysis results format?
- adtac 10y agoI'm not entirely sure what that format is, but coala can be formatted to output in any format you want using a `--format` flag. You have the result components such as message, line number, line, and several other parameters and you can build your own line. And if that's not enough, you can also output as JSON. Edit: and this applies to all linters - native and external.
- 10y ago