mirror of
https://github.com/zyedidia/micro.git
synced 2025-06-18 14:55:38 -04:00
Merge pull request #3657 from Andriamanitra/PR3656-continuation
Some checks are pending
Build and Test / test (1.19.x, macos-latest) (push) Waiting to run
Build and Test / test (1.19.x, ubuntu-latest) (push) Waiting to run
Build and Test / test (1.19.x, windows-latest) (push) Waiting to run
Build and Test / test (1.23.x, macos-latest) (push) Waiting to run
Build and Test / test (1.23.x, ubuntu-latest) (push) Waiting to run
Build and Test / test (1.23.x, windows-latest) (push) Waiting to run
Some checks are pending
Build and Test / test (1.19.x, macos-latest) (push) Waiting to run
Build and Test / test (1.19.x, ubuntu-latest) (push) Waiting to run
Build and Test / test (1.19.x, windows-latest) (push) Waiting to run
Build and Test / test (1.23.x, macos-latest) (push) Waiting to run
Build and Test / test (1.23.x, ubuntu-latest) (push) Waiting to run
Build and Test / test (1.23.x, windows-latest) (push) Waiting to run
plugin: linter: add ruff to default configuration
This commit is contained in:
commit
bf4156c490
@ -9,6 +9,7 @@ following filetypes and linters:
|
||||
* **c++**: g++
|
||||
* **d**: dmd
|
||||
* **go**: go build
|
||||
* **go**: go vet
|
||||
* **haskell**: hlint
|
||||
* **java**: javac
|
||||
* **javascript**: jshint
|
||||
@ -16,11 +17,16 @@ following filetypes and linters:
|
||||
* **literate**: lit
|
||||
* **lua**: luacheck
|
||||
* **nim**: nim
|
||||
* **nix**: nix-linter
|
||||
* **objective-c**: clang
|
||||
* **python**: pyflakes
|
||||
* **python**: flake8
|
||||
* **python**: mypy
|
||||
* **python**: pyflakes
|
||||
* **python**: pylint
|
||||
* **python**: ruff
|
||||
* **rust**: cargo clippy
|
||||
* **shell**: shfmt
|
||||
* **shell**: shellcheck
|
||||
* **swift**: swiftc (MacOS and Linux only)
|
||||
* **yaml**: yamllint
|
||||
|
||||
|
@ -82,6 +82,7 @@ function preinit()
|
||||
makeLinter("pyflakes", "python", "pyflakes", {"%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("ruff", "python", "ruff", {"check", "--output-format=concise", "%f"}, "%f:%l:%c: %m")
|
||||
makeLinter("flake8", "python", "flake8", {"%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")
|
||||
|
Loading…
Reference in New Issue
Block a user