Lints - Stringtables
sorted
Code: L-L01
Default Severity: Warning
Minimum Severity: Help
Checks if stringtables are sorted
Stringtables should be sorted alphabetically and the keys in the order from the Arma 3 Wiki.
usage
Code: L-L02
Default Severity: Warning
Minimum Severity: Help
Checks for unused, missing, or duplicate stringtable keys.
Stringtable keys should be unique and used. This lint checks for unused, missing, or duplicate keys.
Configuration
- ignore: Array of stringtable entries to ignore, supports regex or wildcards (
*) - ignore_missing: Bool to ignore missing stringtables (still written to .hemttout when disabled)
- ignore_unused: Bool to ignore missing stringtables (still written to .hemttout when disabled)
- ignore_duplicate: Bool to ignore missing stringtables (still written to .hemttout when disabled)
[lints.stringtables.usage]
options.ignore = [
"str_myproject_mystring",
]
options.ignore_unused = true
***
## no_newlines_in_tags
Code: **L-L03**
Default Severity: **Warning**
Minimum Severity: Help
Checks that localization tags do not contain leading or trailing newlines
Localization tags should not contain leading or trailing newlines. When stringtable contains newlines inside tags like `<English>\n Text\n</English>`, after binarization in Arma it will include unwanted whitespace: `" Text "`.