Skip to content

Commit

Permalink
Fix typo in configuration page
Browse files Browse the repository at this point in the history
  • Loading branch information
Kampfkarren committed Nov 6, 2019
1 parent 294c4d5 commit 55d279a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/src/cli/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Configuration files are placed in the directory you are running selene in and ar
You can change the severity of lints by entering the following into selene.toml:

```toml
[config]
[rules]
lint_1 = "severity"
lint_2 = "severity"
...
Expand All @@ -25,7 +25,7 @@ Note that "deny" and "warn" are effectively the same, only warn will give orange
You can configure specific rules by entering the following into selene.toml:

```toml
[rules]
[config]
rule1 = ...
rule2 = ...
...
Expand All @@ -34,7 +34,7 @@ rule2 = ...
Where the value is whatever the special configuration of that rule is. You can learn these on the lints specific page in the [list of lints](../lints/index.md). For example, if we wanted to allow empty if branches if the contents contain comments, then we would write:

```toml
[rules]
[config]
empty_if = { comments_count = false }
```

Expand Down

0 comments on commit 55d279a

Please sign in to comment.