mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 21:58:48 +02:00
tools: enforce errors to not be documented in legacy section
PR-URL: https://github.com/nodejs/node/pull/55218 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
This commit is contained in:
parent
78f421de88
commit
5a3da7b4e4
3 changed files with 130 additions and 85 deletions
|
@ -27,11 +27,6 @@ new RuleTester().run('documented-errors', rule, {
|
|||
message: `"${invalidCode}" is not documented in doc/api/errors.md`,
|
||||
line: 2
|
||||
},
|
||||
{
|
||||
message:
|
||||
`doc/api/errors.md does not have an anchor for "${invalidCode}"`,
|
||||
line: 2
|
||||
},
|
||||
]
|
||||
},
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue