plugins/lint: fix inconsistent description + examples

This commit is contained in:
Sascha Ohms 2024-08-26 09:51:41 +02:00 committed by GaetanLepage
parent 9af4c3970c
commit 7e3ed24e52

View file

@ -144,10 +144,8 @@ in
default = { }; default = { };
description = '' description = ''
Configure the linters you want to run per file type. Configure the linters you want to run per file type.
'';
Default: example = {
```nix
{
text = [ "vale" ]; text = [ "vale" ];
json = [ "jsonlint" ]; json = [ "jsonlint" ];
markdown = [ "vale" ]; markdown = [ "vale" ];
@ -158,11 +156,6 @@ in
clojure = [ "clj-kondo" ]; clojure = [ "clj-kondo" ];
dockerfile = [ "hadolint" ]; dockerfile = [ "hadolint" ];
terraform = [ "tflint" ]; terraform = [ "tflint" ];
}
```
'';
example = {
markdown = [ "vale" ];
}; };
}; };