From c839b331f704f6ef558f1efe2ca5847ba6fbaea8 Mon Sep 17 00:00:00 2001 From: Gareth Jones Date: Fri, 21 Feb 2020 11:00:23 +1300 Subject: [PATCH] fix(@typescript-eslint): require typeLike names to be PascalCase --- @typescript-eslint.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/@typescript-eslint.js b/@typescript-eslint.js index 3be84c01..7bead5e3 100644 --- a/@typescript-eslint.js +++ b/@typescript-eslint.js @@ -28,8 +28,8 @@ const config = { { private: '^_', protected: '^_' } ], '@typescript-eslint/naming-convention': [ - 'error' - // + 'error', + { selector: 'typeLike', format: ['PascalCase'] } ], '@typescript-eslint/no-dynamic-delete': 'error', '@typescript-eslint/no-extra-non-null-assertion': 'error',