plugin: linter: add ruff to default configuration.#3656
Conversation
Andriamanitra
left a comment
There was a problem hiding this comment.
I think this is a great addition. ruff has become one of the standard tools for linting and formatting Python code so it makes sense to add it as one of the default linters.
Use `--output-format concise` as suggested to get exact column of error Co-authored-by: Mikko <Andriamanitra@users.noreply.github.com>
JoeKar
left a comment
There was a problem hiding this comment.
Seems to be a good moment to synchronize the doc again to the default list present in the linter.lua:
https://github.com/zyedidia/micro/blob/b432bb7cfafa9a1c07acdf28eba8eb87c67b6793/runtime/plugins/linter/help/linter.md?plain=1#L8-L25
😉
|
Am I right, that we execute on a pure default setup every available linter per filetype match in a row? Should we add a check to stop after the first successful execution and on top of that should we add a priority for more than one available linter in the default list/map? |
Hi,
Just adding
ruffto the micro linter plugin configuration.