Skip to content

Commit 45abe49

Browse files
committed
feat(eslint): sensible default
1 parent 2f22dcb commit 45abe49

File tree

1 file changed

+1
-1
lines changed
  • packages/eslint-config-recommended/src

1 file changed

+1
-1
lines changed

packages/eslint-config-recommended/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ export function defineScTsConfig(...configs: Parameters<typeof defineConfig>): R
217217
rules: {
218218
'import/no-deprecated': 'error',
219219
'import/no-extraneous-dependencies': 'error',
220-
'import/no-internal-modules': 'error',
220+
'import/no-internal-modules': ['error', { allow: ['aws-cdk-lib/*', '@aws-cdk/*'] }],
221221

222222
// no-unused-vars does not support a fixer for "unused imports" which is highly shitty.
223223
// therefore we use another plugin "unused-imports" which can splits up the unused-vars rule into two rules

0 commit comments

Comments
 (0)