First crack at updating JSHint rules

This commit is contained in:
Andrew Stewart 2014-12-12 17:10:05 -08:00
parent 0e77dc2ae8
commit 5315c8b9ae
2 changed files with 30 additions and 33 deletions

View File

@ -1,36 +1,33 @@
{
"curly": true,
"eqeqeq": true,
"immed": true,
"latedef": true,
"newcap": true,
"noarg": true,
"sub": true,
"undef": true,
"unused": true,
"boss": true,
"eqnull": true,
"node": true,
"globals": [
"Adaptor",
"Cylon",
"CylonConfig",
"Driver",
"DigitalPin",
"Logger",
"BasicLogger",
"NullLogger",
"Loopback",
"Ping",
"Robot",
"TestDriver",
"sinon",
"subclass",
"proxyTestStubs",
"proxyFunctionsToObject",
"every",
"hasProp",
"bind"
]
"globals": {
"every": true,
"after": true,
"constantly": true,
"it": true,
"expect": true,
"source": true,
"describe": true,
"beforeEach": true,
"afterEach": true
},
"boss": true,
"curly": true,
"eqeqeq": true,
"eqnull": true,
"immed": true,
"indent": 2,
"latedef": true,
"maxlen": 80,
"newcap": true,
"noarg": true,
"nonew": true,
"quotmark": "double",
"strict": true,
"sub": true,
"undef": true,
"unused": true
}

View File

@ -15,7 +15,7 @@ cover:
@istanbul cover $(BIN)/_mocha $(TEST_FILES) --report lcovonly -- -R spec
lint:
@jshint ./lib
@jshint ./lib/**/*.js ./spec/lib/**/*.js ./examples/**/*.js
release:
@git push origin master