Skip to content

Commit ff3819c

Browse files
mochaaPgithub-actions[bot]
authored andcommitted
chore: Auto generate docs
1 parent 6f07f57 commit ff3819c

File tree

6 files changed

+61
-1
lines changed

6 files changed

+61
-1
lines changed

doc/BUILTINS.md

+34
Original file line numberDiff line numberDiff line change
@@ -1125,6 +1125,23 @@ local sources = { null_ls.builtins.diagnostics.protolint }
11251125
- Command: `protolint`
11261126
- Args: `{ "--reporter", "json", "$FILENAME" }`
11271127

1128+
### [puppet_lint](http://puppet-lint.com/)
1129+
1130+
Check that your Puppet manifest conforms to the style guide.
1131+
1132+
#### Usage
1133+
1134+
```lua
1135+
local sources = { null_ls.builtins.diagnostics.puppet_lint }
1136+
```
1137+
1138+
#### Defaults
1139+
1140+
- Filetypes: `{ "puppet", "epuppet" }`
1141+
- Method: `diagnostics`
1142+
- Command: `puppet-lint`
1143+
- Args: `{ "--json", "$FILENAME" }`
1144+
11281145
### [pylint](https://github.com/PyCQA/pylint)
11291146

11301147
Pylint is a Python static code analysis tool which looks for programming
@@ -3135,6 +3152,23 @@ local sources = { null_ls.builtins.formatting.ptop }
31353152
- Command: `ptop`
31363153
- Args: `{ "$FILENAME", "$FILENAME" }`
31373154

3155+
### [puppet_lint](http://puppet-lint.com/)
3156+
3157+
Check that your Puppet manifest conforms to the style guide
3158+
3159+
#### Usage
3160+
3161+
```lua
3162+
local sources = { null_ls.builtins.formatting.puppet_lint }
3163+
```
3164+
3165+
#### Defaults
3166+
3167+
- Filetypes: `{ "puppet", "epuppet" }`
3168+
- Method: `formatting`
3169+
- Command: `puppet-lint`
3170+
- Args: `{ "--fix", "$FILENAME" }`
3171+
31383172
### [purs_tidy](https://github.com/natefaubion/purescript-tidy)
31393173

31403174
A syntax tidy-upper (formatter) for PureScript.

doc/builtins.json

+12
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,12 @@
300300
"proto"
301301
]
302302
},
303+
"puppet_lint": {
304+
"filetypes": [
305+
"puppet",
306+
"epuppet"
307+
]
308+
},
303309
"pylint": {
304310
"filetypes": [
305311
"python"
@@ -937,6 +943,12 @@
937943
"delphi"
938944
]
939945
},
946+
"puppet_lint": {
947+
"filetypes": [
948+
"puppet",
949+
"epuppet"
950+
]
951+
},
940952
"purs_tidy": {
941953
"filetypes": [
942954
"purescript"

doc/null-ls.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*null-ls.txt* Last change: 2024 March 01
1+
*null-ls.txt* Last change: 2024 March 02
22

33
==============================================================================
44
Table of Contents *null-ls-table-of-contents*

lua/null-ls/builtins/_meta/diagnostics.lua

+3
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,9 @@ return {
142142
protolint = {
143143
filetypes = { "proto" }
144144
},
145+
puppet_lint = {
146+
filetypes = { "puppet", "epuppet" }
147+
},
145148
pylint = {
146149
filetypes = { "python" }
147150
},

lua/null-ls/builtins/_meta/filetype_map.lua

+8
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,10 @@ return {
9696
elm = {
9797
formatting = { "elm_format" }
9898
},
99+
epuppet = {
100+
diagnostics = { "puppet_lint" },
101+
formatting = { "puppet_lint" }
102+
},
99103
erlang = {
100104
formatting = { "erlfmt" }
101105
},
@@ -286,6 +290,10 @@ return {
286290
ps1 = {
287291
hover = { "printenv" }
288292
},
293+
puppet = {
294+
diagnostics = { "puppet_lint" },
295+
formatting = { "puppet_lint" }
296+
},
289297
purescript = {
290298
formatting = { "purs_tidy" }
291299
},

lua/null-ls/builtins/_meta/formatting.lua

+3
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,9 @@ return {
229229
ptop = {
230230
filetypes = { "pascal", "delphi" }
231231
},
232+
puppet_lint = {
233+
filetypes = { "puppet", "epuppet" }
234+
},
232235
purs_tidy = {
233236
filetypes = { "purescript" }
234237
},

0 commit comments

Comments
 (0)