grunt-jsvalidate
grunt-jsvalidate copied to clipboard
grunt-jsvalidate tries to read folder.js as a file
Warning: Unable to read "foo/bar/folder.js" file (Error code: EISDIR). Use --force to continue.
Can we see your configuration?
jsvalidate: {
options:{
globals: {},
esprimaOptions: {},
verbose: true
},
targetName:{
files:{
src:[
'*.js',
]
}
}
},
PhoneNumber.js is a folder, '*.js' match it, grunt-jsvalidate try to read it as a file.
Here is stdout:
➜ repo git:(master) ✗ grunt jsvalidate
Running "jsvalidate:all" (jsvalidate) task
Validating Gruntfile.js OK
Warning: Unable to read "PhoneNumber.js" file (Error code: EISDIR). Use --force to continue.
Aborted due to warnings.
➜ repo git:(master) ✗
Why do you need to name your folder with a file extension?