hopglass/tasks/linting.js
Nils Schneider bfe6fe346d grunt
2015-03-29 14:43:02 +02:00

36 lines
658 B
JavaScript

"use strict"
module.exports = function (grunt) {
grunt.config.merge({
checkDependencies: {
options: {
install: true
},
bower: {
options: {
packageManager: "bower"
}
},
npm: {}
},
eslint: {
options: {
rule: {
semi: [2, "never"],
strict: [2, "never"],
curly: [2, "multi"]
}
},
sources: {
src: ["app.js", "!Gruntfile.js", "lib/*.js"]
},
grunt: {
src: ["Gruntfile.js", "tasks/*.js"]
}
}
})
grunt.loadNpmTasks("grunt-check-dependencies")
grunt.loadNpmTasks("grunt-eslint")
}