propertieslint
Small Go CLI for linting Java Properties
files. It catches common issues like duplicate keys, missing value and
unterminated line continuations. Rules are configured with local
.propertieslint.json file or with -c/--config flag.
Download#
go install github.com/hanggrian/propertieslint@latestUsage#
The CLI walks directories recursively and lints every .properties file it
finds.
propertieslint some_file.properties ./some_dirAll rules are enabled by default.
For example, to disable certain rules, refer to the rule ID within group name
and set it to false. To disable all rules in a group, set the group name to
false.
{
"comment": {
"comment-spaces": false
},
"format": false
}