diff --git a/src/rules/no-empty-messages/README.md b/src/rules/no-empty-messages/README.md index 492d2d1..4d069db 100644 --- a/src/rules/no-empty-messages/README.md +++ b/src/rules/no-empty-messages/README.md @@ -35,6 +35,8 @@ de.json: { 'hello': 'Hallo!' } ## Example Configuration +Simple configuration where you just supply the severity level: + ```json { "rules": { @@ -43,6 +45,19 @@ de.json: { 'hello': 'Hallo!' } } ``` +Advanced configuration where you can pass extra configuration to the rule: + +```json +{ + "rules": { + "no-empty-messages": { + "severity": "error", + "ignoreKeys": ["foo"] + } + } +} +``` + ## Version This rule was introduced in i18n-validator v1.0.0.