SuperQ
1a8f06bb7a
Update sync script.
...
* Fix the path to the golanci-lint target filename.
* Use the target filename when printing errors.
* Put the yamllint filename back to previous name.
Signed-off-by: SuperQ <superq@gmail.com>
2023-07-01 11:37:16 +02:00
Matthieu MOREL
d5b33e1419
yamllint: don’t check keys and add file extension to config file
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2023-04-08 10:26:06 +02:00
Matthieu MOREL
7063b47abb
lint(yaml) : simplify ignore path for all github workflows
...
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2023-01-20 09:43:35 +01:00
SuperQ
a62a9e4942
Relax yamllint
...
Relax indentation to allow non-indented sequences. This helps with
generated yaml linke the snmp_exporter config output.
Signed-off-by: SuperQ <superq@gmail.com>
2022-05-06 09:59:59 +02:00
Levi Harrison
cc77593176
Switch golangci-lint to GitHub Actions ( #9232 )
...
* Added golangci-lint action
Signed-off-by: Levi Harrison <git@leviharrison.dev>
2021-09-10 16:30:18 +02:00
Michal Wasilewski
b4f12e4c7a
avoid glob pattern for key-duplicates
...
Signed-off-by: Michal Wasilewski <mwasilewski@gmx.com>
2021-06-12 13:12:47 +02:00
Michal Wasilewski
4a811c2b44
ignore truthy in selected files
...
Signed-off-by: Michal Wasilewski <mwasilewski@gmx.com>
2021-06-12 13:12:00 +02:00
Michal Wasilewski
6f1d3e66b5
ignore duplicate key in a file that is deliberately broken
...
Signed-off-by: Michal Wasilewski <mwasilewski@gmx.com>
2021-06-12 12:53:35 +02:00
Michal Wasilewski
b0f08f7adb
disable warning about missing document start in yamllint
...
Signed-off-by: Michal Wasilewski <mwasilewski@gmx.com>
2021-06-12 12:48:47 +02:00
Michal Wasilewski
cd0281e766
Adds yamllinting to Makefile.common
...
* adds yamllint target to Makefile.common for use by all Prometheus projects
Signed-off-by: Michal Wasilewski <mwasilewski@gmx.com>
2021-06-12 11:17:59 +02:00