Skip to content

Commit a32584c

Browse files
committed
feat(typescript): Add @typescript-eslint/block-spacing rule
1 parent 8ca5a6d commit a32584c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

configurations/typescript/rules/typescript.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,11 @@ module.exports = {
9898
extendDefaults: false,
9999
}],
100100

101+
// Disallow or enforce spaces inside of blocks
102+
// after opening block and before closing block (autofixable)
103+
// https://typescript-eslint.io/rules/block-spacing
104+
...extendFromBase('+block-spacing'),
105+
101106
// Enforce consistent brace style for blocks (autofixable)
102107
// https://typescript-eslint.io/rules/brace-style
103108
...extendFromBase('+brace-style'),

0 commit comments

Comments
 (0)