Skip to content

Commit

Permalink
docs: update advanced config section
Browse files Browse the repository at this point in the history
  • Loading branch information
radiovisual committed Jun 1, 2024
1 parent 1c665cf commit 0ff0474
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/rules/no-empty-messages/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ de.json: { 'hello': 'Hallo!' }

## Example Configuration

Simple configuration where you just supply the severity level:

```json
{
"rules": {
Expand All @@ -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.

0 comments on commit 0ff0474

Please sign in to comment.