I need to lint all project files (js) and exclude one file.
I was trying:
standard "www\**\*.js" "!www\fileToIgnore.js"
and
standard ["www\**\*.js" "!www\fileToIgnore.js"]
None of this works. Any idea?
Please add the below block to your package.json
file to ignore the files that you don't want to include while linting,
"standard": {
"ignore": [
"/www/**/*.js"
]
}
Hope this helps!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With