Skip to content

Commit 8ef1804

Browse files
committed
chore(monorepo): fix the no-missing-require error
1 parent 059d6f9 commit 8ef1804

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.eslintrc.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,11 @@ module.exports = {
6060
"node/no-missing-require": [
6161
"error",
6262
{
63+
"resolvePaths": ["./packages"],
6364
"allowModules": [
6465
"webpack",
65-
"webapack-cli-utils/*",
66-
"webpack-cli-generators/*",
66+
"webapack-cli-utils",
67+
"webpack-cli-generators",
6768
"webpack-loader-generators",
6869
"webpack-plugin-generators"
6970
]

0 commit comments

Comments
 (0)