From 01e5e04e826f7a865ca11f92573d31a79072abd2 Mon Sep 17 00:00:00 2001 From: Timo Hocker Date: Thu, 7 May 2020 19:16:22 +0200 Subject: [PATCH] tsdoc --- index.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 75b6385..ee61b84 100644 --- a/index.js +++ b/index.js @@ -18,7 +18,8 @@ module.exports = { ], plugins: [ - '@typescript-eslint' + '@typescript-eslint', + 'eslint-plugin-tsdoc' ], parserOptions: { @@ -45,6 +46,8 @@ module.exports = { } ], '@typescript-eslint/no-use-before-define': 'off', + 'tsdoc/syntax': 'error', + // deactivating commonjs rules 'id-match': ['error', '^([a-z][a-z0-9_]*|[A-Z][a-zA-Z]*)$', { onlyDeclarations: true }], 'no-underscore-dangle': 'off' }