chore: turn on rulesdir/use-using (#10806)

This commit is contained in:
jrandolf
2023-08-30 12:02:59 +02:00
committed by GitHub
parent a540085176
commit 900a1f227d
43 changed files with 605 additions and 642 deletions

View File

@@ -144,7 +144,7 @@ module.exports = {
// Keeps comments formatted.
'rulesdir/prettier-comments': 'error',
// Enforces clean up of used resources.
'rulesdir/use-using': 'off',
'rulesdir/use-using': 'error',
// Brackets keep code readable.
curly: ['error', 'all'],
// Brackets keep code readable and `return` intentions clear.