let linter handle type naming conventions

Summary: {gif:kosnw403}

Reviewed By: passy

Differential Revision: D33846715

fbshipit-source-id: 5de4bb0cf88f24f5a26acedb82a0816417fb0787
This commit is contained in:
Anton Kastritskiy
2022-01-31 02:47:55 -08:00
committed by Facebook GitHub Bot
parent c28c454373
commit 1aff8466b1
5 changed files with 11 additions and 1 deletions

View File

@@ -189,6 +189,14 @@ module.exports = {
caughtErrorsIgnorePattern: '^_',
},
],
'@typescript-eslint/naming-convention': [
2,
{
selector: 'typeLike',
format: ['PascalCase', 'UPPER_CASE'],
leadingUnderscore: 'allow',
},
],
},
},
{