diff --git a/README.md b/README.md index 9c26c22c..9592f5ee 100644 --- a/README.md +++ b/README.md @@ -62,6 +62,13 @@ Then, run the linter by: nilaway -include-pkgs="," ./... ``` +> [!TIP] +> Disable the `pretty-print` flag when output as JSON: +> ```shell +> nilaway -json -pretty-print=false -include-pkgs="," ./... +> ``` + + ### golangci-lint (>= v1.57.0) NilAway, in its current form, can report false positives. This unfortunately hinders its immediate