Adding upstream version 1.34.4.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
e393c3af3f
commit
4978089aab
4963 changed files with 677545 additions and 0 deletions
29
tools/readme_linter/README.md
Normal file
29
tools/readme_linter/README.md
Normal file
|
@ -0,0 +1,29 @@
|
|||
# README.md linter
|
||||
|
||||
## Building
|
||||
|
||||
```shell
|
||||
telegraf/tools/readme_linter$ go build .
|
||||
```
|
||||
|
||||
## Running
|
||||
|
||||
Run readme_linter with the filenames of the readme files you want to lint.
|
||||
|
||||
```shell
|
||||
telegraf/tools/readme_linter$ ./readme_linter <path to readme>
|
||||
```
|
||||
|
||||
You can lint multiple filenames at once. This works well with shell globs.
|
||||
|
||||
To lint all the plugin readmes:
|
||||
|
||||
```shell
|
||||
telegraf/tools/readme_linter$ ./readme_linter ../../plugins/*/*/README.md
|
||||
```
|
||||
|
||||
To lint readmes for inputs starting a-d:
|
||||
|
||||
```shell
|
||||
telegraf/tools/readme_linter$ ./readme_linter ../../plugins/inputs/[a-d]*/README.md
|
||||
```
|
Loading…
Add table
Add a link
Reference in a new issue