saulpw / visidata

A terminal spreadsheet multitool for discovering and arranging data
http://visidata.org
GNU General Public License v3.0
7.76k stars 276 forks source link

[loader] for linters: pylint, ruff, and more #2444

Open midichef opened 1 month ago

midichef commented 1 month ago

People using linters would find Visidata very useful. Linter output is often long, with a lot of tabulated results that users would like to filter on. A perfect use for visidata!

So for future reference, here is a list of some Python linters that have JSON output:

pylint --output-format=json
pylint --output-format=json2
ruff check --output-format json
ruff check --output-format json-lines

If anyone knows of popular linters for other languages than Python, please reply so we can make a list. Especially if the linters already have output in formats that are easy to handle, like JSON or JSONL.

reagle commented 1 month ago

Neat idea! pyright --outputjson .