Skip to content

Commit e748183

Browse files
committed
fix(typescript): Allow leading/trailing underscores in type/interface names
1 parent 1bba62f commit e748183

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

configurations/typescript/rules/typescript.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,8 @@ module.exports = {
241241
{
242242
selector: 'typeLike',
243243
format: ['PascalCase'],
244+
leadingUnderscore: 'allow',
245+
trailingUnderscore: 'allow',
244246
}],
245247

246248
// Disallow generic Array constructors (autofixable)

0 commit comments

Comments
 (0)