Update: deprecate Node.js & CommonJS rules #12898
Thoughts on leaving the
Hi. I apologies that I have not been active while a time. At last, I have released
@mysticatea I've been trying to update this PR to use the updated plugin, and I've been wrestling with the new
I've tried the following:
// Doesn't work because we're resolving to actual files now instead of just patterns "**/lib/cli-engine/**/*"
[path.join(__dirname, "lib/cli-engine/**/*"), path.join(__dirname, "!lib/cli-engine")]
// Are `!` allowed inside the path, or only at the beginning? Looking at the code/minimatch docs, it looks like they might only be allowed at the beginning. "lib/cli-engine/(!index.js|**)/*}"
// I thought this one would work! [path.join(__dirname, "lib/cli-engine/**/*"), path.join(__dirname, "!lib/cli-engine/index.js")]
Do you see anything glaringly wrong here? I'll take a look at the rule to figure it out, but I've spent enough time trying to figure the glob out that I figured I should just ask :) Thanks!