Closed felixbillon closed 9 years ago
Hi, can you provide your tslink.js task config?
Hi SolomoN-ua,
You got it ! I solve my problem. Here is my tslink.js :
module.exports = {
tslint: {
options: {
configuration: grunt.file.readJSON("tslint.json")
},
files: {
src: ['**/*.ts']
}
}
};
This line don't work : grunt.file.readJSON
. So i change my file and that's work perfectly :
module.exports = function (grunt, options) {
return {
tslint: {
options: {
configuration: grunt.file.readJSON("tslint.json")
},
files: {
src: ['**/*.ts']
}
}
}
};
Hi everybody,
I'm trying tu use load-grunt-config, but the plugin not working. Here is my Grunfile.js :
I got a folder named 'Grunt' and a file named tslint.js.
Everytime i use : grunt checkCode in my CLI i got the following error :
I also try aliases file but this not work too.
Thanks for your help.