From 080871782cdb6c22795e2a4f8e12c6a1c2ffeb7f Mon Sep 17 00:00:00 2001 From: Leroy Korterink Date: Fri, 23 Feb 2024 11:44:06 +0100 Subject: [PATCH] Add configuration for @typescript-eslint/naming-convention import selector --- packages/eslint-config-typescript-react/index.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/eslint-config-typescript-react/index.js b/packages/eslint-config-typescript-react/index.js index d32ead4..3480351 100644 --- a/packages/eslint-config-typescript-react/index.js +++ b/packages/eslint-config-typescript-react/index.js @@ -9,6 +9,10 @@ module.exports = { leadingUnderscore: 'allow', trailingUnderscore: 'forbid', }, + { + selector: 'import', + format: ['camelCase', 'PascalCase'], + }, { selector: ['variable', 'function'], format: ['StrictPascalCase', 'strictCamelCase'],