Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
xobotyi committed Jan 4, 2024
1 parent 62d3e99 commit 5001d9b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ Flags:
`exhaustruct` supports comment directives to mark individual structures as ignored during linting or enforce it's check
regardless global configuration. Comment directives have precedence over global configuration.

- `//exhaustruct:ignore` - ignore structure during linting
- `//exhaustruct:enforce` - enforce structure check during linting even in case global configuration says it should be
ignored.
- **`//exhaustruct:ignore`** - ignore structure during linting
- **`//exhaustruct:enforce`** - enforce structure check during linting, even in case global configuration says it should
be ignored.

> Note: all directives can be placed in the end of structure declaration or on the line above it.
>
Expand Down Expand Up @@ -98,4 +98,4 @@ var b Shape = a.Shape{
var b Shape = a.Shape{
Length: 5,
}
```
```

0 comments on commit 5001d9b

Please sign in to comment.