Skip to content

Commit 339f0d1

Browse files
committed
xo: Configure import/no-extraneous-dependencies packageDir.
Signed-off-by: Anders Kaseorg <[email protected]>
1 parent 86882c0 commit 339f0d1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

xo.config.cjs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ module.exports = {
55
rules: {
66
"@typescript-eslint/no-dynamic-delete": "off",
77
"arrow-body-style": "error",
8+
"import/no-extraneous-dependencies": [
9+
"error",
10+
{includeTypes: true, packageDir: __dirname},
11+
],
812
"import/no-restricted-paths": [
913
"error",
1014
{

0 commit comments

Comments
 (0)