mirror of
https://github.com/zyedidia/micro.git
synced 2025-06-18 23:05:40 -04:00
plugin: linter: add ruff
to default configuration.
This commit is contained in:
parent
b432bb7cfa
commit
cdc9ab17f2
@ -82,6 +82,7 @@ function preinit()
|
|||||||
makeLinter("pyflakes", "python", "pyflakes", {"%f"}, "%f:%l:.-:? %m")
|
makeLinter("pyflakes", "python", "pyflakes", {"%f"}, "%f:%l:.-:? %m")
|
||||||
makeLinter("mypy", "python", "mypy", {"%f"}, "%f:%l: %m")
|
makeLinter("mypy", "python", "mypy", {"%f"}, "%f:%l: %m")
|
||||||
makeLinter("pylint", "python", "pylint", {"--output-format=parseable", "--reports=no", "%f"}, "%f:%l: %m")
|
makeLinter("pylint", "python", "pylint", {"--output-format=parseable", "--reports=no", "%f"}, "%f:%l: %m")
|
||||||
|
makeLinter("ruff", "python", "ruff", {"check", "--output-format=pylint", "%f"}, "%f:%l: %m")
|
||||||
makeLinter("flake8", "python", "flake8", {"%f"}, "%f:%l:%c: %m")
|
makeLinter("flake8", "python", "flake8", {"%f"}, "%f:%l:%c: %m")
|
||||||
makeLinter("shfmt", "shell", "shfmt", {"%f"}, "%f:%l:%c: %m")
|
makeLinter("shfmt", "shell", "shfmt", {"%f"}, "%f:%l:%c: %m")
|
||||||
makeLinter("shellcheck", "shell", "shellcheck", {"-f", "gcc", "%f"}, "%f:%l:%c:.+: %m")
|
makeLinter("shellcheck", "shell", "shellcheck", {"-f", "gcc", "%f"}, "%f:%l:%c:.+: %m")
|
||||||
|
Loading…
Reference in New Issue
Block a user