-
- 'no-useless-constructor': 'off',
-
- 'jsdoc/match-description': [
- 'warn',
- {
- // mainDescription:
- // '/^[A-Z`].+?(\\.|:)(\\n\\n.*((\\n{1,2}- .+)|(_.+_)|`.+`|\\n\\n---))?$/us',
- // matchDescription: '^[A-Z`].+(\\.|`.+`)$',
- contexts: ['any'],
- tags: {
- param: true,
- returns: true
- }
- }
- ],
- 'jsdoc/no-types': 'error',
- 'jsdoc/require-jsdoc': [
- 'warn',
- {
- contexts: [
- 'ClassDeclaration',
- 'ClassProperty:not([accessibility=/(private|protected)/])',
- 'ExportNamedDeclaration:has(VariableDeclaration)',
- 'FunctionExpression',
- 'MethodDefinition:not([accessibility=/(private|protected)/]) > FunctionExpression',
- 'TSEnumDeclaration',
- 'TSInterfaceDeclaration',
- 'TSMethodSignature',
- // 'TSPropertySignature',
- 'TSTypeAliasDeclaration'
- ]
- }
- ],
- 'jsdoc/require-param-type': 'off',
- 'jsdoc/require-returns-type': 'off'