Skip to content

Commit

Permalink
Linting all root javascript files
Browse files Browse the repository at this point in the history
  • Loading branch information
avoidwork committed Nov 1, 2017
1 parent 65bef38 commit 72d9290
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions Gruntfile.js
Original file line number Diff line number Diff line change
@@ -1,36 +1,37 @@
module.exports = function (grunt) {
grunt.initConfig({
pkg : grunt.file.readJSON("package.json"),
pkg: grunt.file.readJSON("package.json"),
eslint: {
target: [
"*.js",
"lib/*.js",
"test/*.js",
"www/assets/js/*.es6"
]
},
mochaTest : {
mochaTest: {
options: {
reporter: "spec"
},
test : {
src : ["test/*_test.js"]
test: {
src: ["test/*_test.js"]
}
},
nsp: {
package: grunt.file.readJSON("package.json")
},
watch : {
js : {
files : ["lib/*.js"],
tasks : "build"
watch: {
js: {
files: ["lib/*.js"],
tasks: "build"
},
pkg: {
files : "package.json",
tasks : "build"
files: "package.json",
tasks: "build"
},
readme : {
files : "README.md",
tasks : "build"
readme: {
files: "README.md",
tasks: "build"
}
}
});
Expand Down

0 comments on commit 72d9290

Please sign in to comment.