feat: add eslint-plugin-tsdoc (#430)
* feat: add eslint-plugin-tsdoc * feat(doc): update current jsdoc to tsdoc specification * chore: update deps * feat: update warn to error for jsdoc and tsdoc * chore(doc): lint
This commit is contained in:
@@ -23,6 +23,7 @@ module.exports = {
|
||||
'import',
|
||||
'import-essentials',
|
||||
'jsdoc',
|
||||
'eslint-plugin-tsdoc',
|
||||
'react-prefer-function-component',
|
||||
'@typescript-eslint',
|
||||
'simple-import-sort',
|
||||
@@ -143,7 +144,7 @@ module.exports = {
|
||||
'jsdoc/newline-after-description': 'off',
|
||||
'react/require-default-props': 'off',
|
||||
'jsdoc/require-jsdoc': [
|
||||
'warn',
|
||||
'error',
|
||||
{
|
||||
enableFixer: false,
|
||||
publicOnly: true,
|
||||
@@ -171,6 +172,7 @@ module.exports = {
|
||||
],
|
||||
},
|
||||
],
|
||||
'tsdoc/syntax': 'error',
|
||||
'@typescript-eslint/no-explicit-any': 'error',
|
||||
'@typescript-eslint/no-unused-vars': [
|
||||
'warn',
|
||||
|
||||
Reference in New Issue
Block a user