Skip to content

Commit d32fa91

Browse files
committed
1 parent c8c50e8 commit d32fa91

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

index.js

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,15 @@ module.exports = {
191191
// }
192192
// ],
193193

194-
'@typescript-eslint/no-extraneous-class': 'error',
194+
'@typescript-eslint/no-extraneous-class': [
195+
'error',
196+
{
197+
allowConstructorOnly: false,
198+
allowEmpty: false,
199+
allowStaticOnly: false,
200+
allowWithDecorator: true
201+
}
202+
],
195203

196204
// Disabled because of https://github.com/typescript-eslint/typescript-eslint/issues/647
197205
// '@typescript-eslint/no-floating-promises': 'error',

0 commit comments

Comments
 (0)