This commit is contained in:
Timo Hocker 2020-05-07 19:16:22 +02:00
parent 1e02ebb94b
commit 01e5e04e82

View File

@ -18,7 +18,8 @@ module.exports = {
], ],
plugins: [ plugins: [
'@typescript-eslint' '@typescript-eslint',
'eslint-plugin-tsdoc'
], ],
parserOptions: { parserOptions: {
@ -45,6 +46,8 @@ module.exports = {
} }
], ],
'@typescript-eslint/no-use-before-define': 'off', '@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 }], 'id-match': ['error', '^([a-z][a-z0-9_]*|[A-Z][a-zA-Z]*)$', { onlyDeclarations: true }],
'no-underscore-dangle': 'off' 'no-underscore-dangle': 'off'
} }