From 5001d9bb1701431fb103af9b29685d0aa63f21ee Mon Sep 17 00:00:00 2001 From: Anton Zinovyev Date: Thu, 4 Jan 2024 16:45:43 +0100 Subject: [PATCH] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 4fe0eab6..0abeadc3 100644 --- a/README.md +++ b/README.md @@ -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. > @@ -98,4 +98,4 @@ var b Shape = a.Shape{ var b Shape = a.Shape{ Length: 5, } -``` \ No newline at end of file +```