Skip to content

Commit f267cd9

Browse files
fix: change no-restricted-imports to @typescript-eslint/no-restricted-imports for allowTypeImports support (calcom#23860)
The allowTypeImports option is only supported by @typescript-eslint/no-restricted-imports, not the standard ESLint no-restricted-imports rule. This fixes the configuration error: 'Configuration for rule no-restricted-imports is invalid: allowTypeImports should NOT have additional properties' Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
1 parent e8c2d4f commit f267cd9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.eslintrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ module.exports = {
2222
{
2323
files: ["packages/app-store/**/*.{ts,tsx,js,jsx}"],
2424
rules: {
25-
"no-restricted-imports": [
25+
"@typescript-eslint/no-restricted-imports": [
2626
"error",
2727
{
2828
patterns: [

0 commit comments

Comments
 (0)