enable and document optional rules

This commit is contained in:
Ulf Gebhardt 2023-05-10 13:08:31 +02:00
parent ab5aac5c6b
commit ac89b845ed
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9

View File

@ -155,6 +155,9 @@ module.exports = {
'promise/no-multiple-resolved': 'error',
// eslint comments
'@eslint-community/eslint-comments/disable-enable-pair': ['error', { allowWholeFile: true }],
'@eslint-community/eslint-comments/no-restricted-disable': 'error',
'@eslint-community/eslint-comments/no-use': 'off',
'@eslint-community/eslint-comments/require-description': 'off',
},
overrides: [
// only for ts files