Skip to content
This repository has been archived by the owner on Aug 12, 2023. It is now read-only.

Commit

Permalink
chore: autogen metadata and docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jose-elias-alvarez authored and github-actions[bot] committed Feb 15, 2023
1 parent eb3cb62 commit a75bba0
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 19 deletions.
34 changes: 17 additions & 17 deletions doc/BUILTINS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2066,6 +2066,23 @@ local sources = { null_ls.builtins.diagnostics.twigcs }
- Command: `twigcs`
- Args: `{ "--reporter", "json", "$FILENAME" }`

### [vacuum](https://quobix.com/vacuum)

The world’s fastest and most scalable OpenAPI linter.

#### Usage

```lua
local sources = { null_ls.builtins.diagnostics.vacuum }
```

#### Defaults

- Filetypes: `{ "yaml", "json" }`
- Method: `diagnostics`
- Command: `vacuum`
- Args: `{ "spectral-report", "--stdin", "--stdout" }`

### [vale](https://docs.errata.ai/vale/about)

Syntax-aware linter for prose built with speed and extensibility in mind.
Expand Down Expand Up @@ -4452,23 +4469,6 @@ local sources = { null_ls.builtins.formatting.usort }
- Command: `usort`
- Args: `{ "format", "-" }`

### [vacuum](https://quobix.com/vacuum)

The world’s fastest and most scalable OpenAPI linter.

#### Usage

```lua
local sources = { null_ls.builtins.diagnostics.vacuum }
```

#### Defaults

- Filetypes: `{ "yaml", "json" }`
- Method: `diagnostics`
- Command: `vacuum`
- Args: `{ "spectral-report", "--stdin", "--stdout" }`

### [verible_verilog_format](https://github.com/chipsalliance/verible)

The verible-verilog-format formatter manages whitespace in accordance with a particular style. The main goal is to relieve humans of having to manually manage whitespace, wrapping, and indentation, and to provide a tool that can be integrated into any editor to enable editor-independent consistency.
Expand Down
3 changes: 3 additions & 0 deletions lua/null-ls/builtins/_meta/diagnostics.lua
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,9 @@ return {
twigcs = {
filetypes = { "twig" }
},
vacuum = {
filetypes = { "yaml", "json" }
},
vale = {
filetypes = { "markdown", "tex", "asciidoc" }
},
Expand Down
4 changes: 2 additions & 2 deletions lua/null-ls/builtins/_meta/filetype_map.lua
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ return {
formatting = { "djhtml", "djlint" }
},
json = {
diagnostics = { "cfn_lint", "jsonlint", "spectral" },
diagnostics = { "cfn_lint", "jsonlint", "spectral", "vacuum" },
formatting = { "deno_fmt", "dprint", "fixjson", "jq", "json_tool", "prettier", "prettier_d_slim", "prettier_eslint", "prettierd" }
},
jsonc = {
Expand Down Expand Up @@ -443,7 +443,7 @@ return {
formatting = { "tidy", "xmlformat", "xmllint" }
},
yaml = {
diagnostics = { "actionlint", "cfn_lint", "spectral", "yamllint" },
diagnostics = { "actionlint", "cfn_lint", "spectral", "vacuum", "yamllint" },
formatting = { "prettier", "prettier_d_slim", "prettier_eslint", "prettierd", "yamlfmt" }
},
["yaml.ansible"] = {
Expand Down

0 comments on commit a75bba0

Please sign in to comment.