Adding jshint and package.json updates

... resulting from commit-hook work
This commit is contained in:
Chuck C Williams 2017-06-08 17:32:26 -04:00
parent fe6c891763
commit b7c766c0c6
3 changed files with 13 additions and 1 deletions

1
.jshintignore Normal file
View file

@ -0,0 +1 @@
node_modules

10
.jshintrc Normal file
View file

@ -0,0 +1,10 @@
{
"node": true,
"curly": true,
"latedef": true,
"quotmark": true,
"undef": true,
"unused": true,
"trailing": true
}

View file

@ -38,7 +38,8 @@
"serve": "browser-sync start --server _site -f '_site/dist/css'",
"start": "npm run build -s && npm run watch",
"postinstall": "gem install bundler && bundle install",
"validate": "npm ls"
"validate": "npm ls",
"lint": "jshint ."
},
"author": "0xfff <0xfff@protonmail.com>",
"license": "MIT",