move eslintrc up a directory

This commit is contained in:
Thomas Grainger 2017-04-28 16:51:57 +01:00
parent f7547db272
commit ee07b72415
No known key found for this signature in database
GPG key ID: 995EA0A029283160
4 changed files with 12 additions and 12 deletions

View file

@ -92,13 +92,13 @@ module.exports = function (grunt) {
}, function(error, result) {
if (error) {
if (error instanceof Error) {
done(error)
done(error);
} else {
done(new Error(error));
done(new Error(error));
}
} else {
grunt.file.write("build/prod/cyberchef.htm", result);
done(true);
grunt.file.write("build/prod/cyberchef.htm", result);
done(true);
}
});
}
@ -113,7 +113,7 @@ module.exports = function (grunt) {
},
eslint: {
options: {
configFile: "src/.eslintrc.json"
configFile: "./.eslintrc.json"
},
configs: ["Gruntfile.js"],
core: ["src/core/**/*.js", "!src/core/lib/**/*"],