Refresh generated neovim config
This commit is contained in:
@ -88,6 +88,7 @@ Other dedicated linters that are built-in are:
|
||||
| Set via `makeprg` | `compiler` |
|
||||
| [actionlint][actionlint] | `actionlint` |
|
||||
| [alex][alex] | `alex` |
|
||||
| [ameba][ameba] | `ameba` |
|
||||
| [ansible-lint][ansible-lint] | `ansible_lint` |
|
||||
| [bandit][bandit] | `bandit` |
|
||||
| [bean-check][bean-check] | `bean_check` |
|
||||
@ -189,6 +190,7 @@ Other dedicated linters that are built-in are:
|
||||
| [ShellCheck][10] | `shellcheck` |
|
||||
| [snyk][snyk] | `snyk_iac` |
|
||||
| [Solhint][solhint] | `solhint` |
|
||||
| [Spectral][spectral] | `spectral` |
|
||||
| [sqlfluff][sqlfluff] | `sqlfluff` |
|
||||
| [standardjs][standardjs] | `standardjs` |
|
||||
| [StandardRB][27] | `standardrb` |
|
||||
@ -205,6 +207,7 @@ Other dedicated linters that are built-in are:
|
||||
| [Vale][8] | `vale` |
|
||||
| [Verilator][verilator] | `verilator` |
|
||||
| [vint][21] | `vint` |
|
||||
| [VSG][vsg] | `vsg` |
|
||||
| [vulture][vulture] | `vulture` |
|
||||
| [woke][woke] | `woke` |
|
||||
| [write-good][write-good] | `write_good` |
|
||||
@ -447,6 +450,7 @@ busted tests/
|
||||
[jsonlint]: https://github.com/zaach/jsonlint
|
||||
[rflint]: https://github.com/boakley/robotframework-lint
|
||||
[robocop]: https://github.com/MarketSquare/robotframework-robocop
|
||||
[vsg]: https://github.com/jeremiah-c-leary/vhdl-style-guide
|
||||
[vulture]: https://github.com/jendrikseipp/vulture
|
||||
[yamllint]: https://github.com/adrienverge/yamllint
|
||||
[cpplint]: https://github.com/cpplint/cpplint
|
||||
@ -511,6 +515,7 @@ busted tests/
|
||||
[dotenv-linter]: https://dotenv-linter.github.io/
|
||||
[puppet-lint]: https://github.com/puppetlabs/puppet-lint
|
||||
[snyk]: https://github.com/snyk/cli
|
||||
[spectral]: https://github.com/stoplightio/spectral
|
||||
[gitlint]: https://github.com/jorisroovers/gitlint
|
||||
[pflake8]: https://github.com/csachs/pyproject-flake8
|
||||
[fish]: https://github.com/fish-shell/fish-shell
|
||||
@ -531,3 +536,4 @@ busted tests/
|
||||
[markdownlint-cli2]: https://github.com/DavidAnson/markdownlint-cli2
|
||||
[swiftlint]: https://github.com/realm/SwiftLint
|
||||
[tflint]: https://github.com/terraform-linters/tflint
|
||||
[ameba]: https://github.com/crystal-ameba/ameba
|
||||
|
||||
@ -20,11 +20,16 @@ return {
|
||||
stream = 'stdout',
|
||||
ignore_exitcode = true,
|
||||
parser = function(output, bufnr)
|
||||
if vim.trim(output) == "" then
|
||||
local trimmed_output = vim.trim(output)
|
||||
if trimmed_output == "" then
|
||||
return {}
|
||||
end
|
||||
local decode_opts = { luanil = { object = true, array = true } }
|
||||
local ok, data = pcall(vim.json.decode, output, decode_opts)
|
||||
if string.find(trimmed_output, "No ESLint configuration found") then
|
||||
vim.notify_once(trimmed_output, vim.log.levels.WARN)
|
||||
return {}
|
||||
end
|
||||
if not ok then
|
||||
return {
|
||||
{
|
||||
|
||||
@ -13,6 +13,7 @@ return {
|
||||
cmd = "ruff",
|
||||
stdin = true,
|
||||
args = {
|
||||
"check",
|
||||
"--force-exclude",
|
||||
"--quiet",
|
||||
"--stdin-filename",
|
||||
|
||||
Reference in New Issue
Block a user