aboutsummaryrefslogtreecommitdiff
path: root/tests/core/nogo/nolint/README.rst
diff options
context:
space:
mode:
Diffstat (limited to 'tests/core/nogo/nolint/README.rst')
-rw-r--r--tests/core/nogo/nolint/README.rst14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/core/nogo/nolint/README.rst b/tests/core/nogo/nolint/README.rst
new file mode 100644
index 00000000..83436898
--- /dev/null
+++ b/tests/core/nogo/nolint/README.rst
@@ -0,0 +1,14 @@
+Nolint check
+=========
+
+.. _go_library: /docs/go/core/rules.md#_go_library
+
+Tests to ensure that errors found by nogo and annotated with //nolint are
+ignored.
+
+.. contents::
+
+nolint_test
+--------
+Verified that errors emitted by ``nogo`` are ignored when `//nolint` appears as
+a comment.