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