feat: replace gomnd by mnd ()

This commit is contained in:
Ludovic Fernandez 2024-03-28 21:23:44 +01:00 committed by GitHub
parent a7868b3e84
commit 288c847019
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 167 additions and 135 deletions
docs/src/docs/usage

View file

@ -49,8 +49,8 @@ In the following example, all the reports from the linters (`linters`) that cont
issues:
exclude-rules:
- linters:
- gomnd
text: "mnd: Magic number: 9"
- mnd
text: "Magic number: 9"
```
In the following example, all the reports from the linters (`linters`) that originated from the source (`source`) are excluded: