From eecb88973acfc69cdaab045fe793e5c259ccb1ed Mon Sep 17 00:00:00 2001 From: Matteo Collina Date: Wed, 10 May 2023 00:19:34 -0700 Subject: [PATCH] doc: document make lint-md-clean MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Matteo Collina PR-URL: https://github.com/nodejs/node/pull/47926 Reviewed-By: Tobias Nießen Reviewed-By: Yagiz Nizipli Reviewed-By: Rich Trott Reviewed-By: Rafael Gonzaga Reviewed-By: James M Snell --- doc/contributing/using-internal-errors.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/contributing/using-internal-errors.md b/doc/contributing/using-internal-errors.md index 6e88ca9863f5a0..b24c96d9ccd243 100644 --- a/doc/contributing/using-internal-errors.md +++ b/doc/contributing/using-internal-errors.md @@ -85,6 +85,9 @@ for the error code should be added to the `doc/api/errors.md` file. This will give users a place to go to easily look up the meaning of individual error codes. +In case `make lint` fails to detect the new error codes added into `errors.md`, +the markdown linting cache must be cleaned with `make lint-md-clean`. + ## Testing new errors When adding a new error, corresponding test(s) for the error message