mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 13:48:44 +02:00
meta: enable jsdoc/check-tag-names rule
PR-URL: https://github.com/nodejs/node/pull/58521 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: LiviaMedeiros <livia@cirno.name> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
This commit is contained in:
parent
036b1fd66d
commit
0fd1ecded6
86 changed files with 495 additions and 247 deletions
|
@ -262,17 +262,21 @@ export default [
|
|||
// ESLint recommended rules that we disable.
|
||||
'no-inner-declarations': 'off',
|
||||
|
||||
// JSDoc recommended rules that we disable.
|
||||
// JSDoc rules.
|
||||
'jsdoc/require-jsdoc': 'off',
|
||||
'jsdoc/require-param-description': 'off',
|
||||
'jsdoc/newline-after-description': 'off',
|
||||
'jsdoc/require-returns-description': 'off',
|
||||
'jsdoc/valid-types': 'off',
|
||||
'jsdoc/no-defaults': 'off',
|
||||
'jsdoc/valid-types': 'error',
|
||||
'jsdoc/no-defaults': 'error',
|
||||
'jsdoc/no-undefined-types': 'off',
|
||||
'jsdoc/require-param': 'off',
|
||||
'jsdoc/check-tag-names': 'off',
|
||||
'jsdoc/require-returns': 'off',
|
||||
'jsdoc/check-tag-names': 'error',
|
||||
'jsdoc/require-returns': 'error',
|
||||
'jsdoc/check-line-alignment': ['error', 'any', {
|
||||
tags: ['param', 'property', 'returns', 'file'],
|
||||
wrapIndent: ' ',
|
||||
}],
|
||||
'jsdoc/check-alignment': 'error',
|
||||
|
||||
// Stylistic rules.
|
||||
'@stylistic/js/arrow-parens': 'error',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue