diff --git a/packages/react/.eslintrc.json b/packages/react/.eslintrc.json index 5ab00b0ee1..5a2762d80e 100644 --- a/packages/react/.eslintrc.json +++ b/packages/react/.eslintrc.json @@ -3,6 +3,9 @@ "jest/globals": true }, "rules": { + "@typescript-eslint/consistent-type-exports": "error", + "@typescript-eslint/consistent-type-imports": "error", + "import/consistent-type-specifier-style": ["error", "prefer-inline"], "react/react-in-jsx-scope": "off" } } diff --git a/storybook/storybook-react/.eslintrc.json b/storybook/storybook-react/.eslintrc.json index 30804a8265..51365c62e0 100644 --- a/storybook/storybook-react/.eslintrc.json +++ b/storybook/storybook-react/.eslintrc.json @@ -1,5 +1,8 @@ { "rules": { + "@typescript-eslint/consistent-type-exports": "error", + "@typescript-eslint/consistent-type-imports": "error", + "import/consistent-type-specifier-style": ["error", "prefer-inline"], "react/prop-types": "off", "react/react-in-jsx-scope": "off" }