eclint
eclint copied to clipboard
Glob pattern match does't work as expected
trafficstars
This pattern below actually checks under frontend/icon/**/*. Is this how eclint works?
yarn eclint check "frontend/**/*" "[!]frontend/icon/**/*"
how about try this: yarn eclint check "frontend/**/*" "!frontend/icon/**/*"?
wow it works. thanks!
So README's description is incorrect...? or does this depend on the environment...?
Unfortunately, in bash, you can't add a negative glob with "!foo.js". Instead, you can put square brackets around the ! and eclint will take care of it. For example, "[!]foo.js".
So README's description is incorrect...?
I'm not sure, because I work under Windows 10.