eslint-webpack-plugin: ERR_INVALID_ARG_TYPE #15745
-
For more context:
I added some debugging output within the ESLint file. function isFilePath(nameOrPath) {
console.log({nameOrPath});
return (
/^\.{1,2}[/\\]/u.test(nameOrPath) ||
path.isAbsolute(nameOrPath)
);
} Just before the failure, I get: {
nameOrPath: ESLintWebpackPlugin {
key: 'ESLintWebpackPlugin',
options: {
extensions: [Array],
emitError: true,
emitWarning: true,
failOnError: true
},
run: [Function: bound run] AsyncFunction
}
} So, my current understanding, is that ESLint is not meant to consume objects within the Did I misconfigure something, or is this a proper bug? |
Beta Was this translation helpful? Give feedback.
Answered by
alexander-akait
May 1, 2022
Replies: 1 comment 3 replies
-
Please open an issue in |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
shmolf
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please open an issue in
eslint-webpack-plugin
, thanks