File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ env :
2+ node : true
3+ browser : true
4+ parserOptions :
5+ ecmaVersion : 5
6+ sourceType : script
7+ extends : semistandard
8+ rules :
9+ strict :
10+ - error
11+ - safe
Original file line number Diff line number Diff line change 11BROWSERIFY := "node_modules/.bin/browserify"
2- SEMISTANDARD : = "node_modules/.bin/semistandard "
2+ ESLINT := "node_modules/.bin/eslint "
33KARMA := "node_modules/.bin/karma"
44MOCHA := "bin/mocha"
55NYC := "node_modules/.bin/nyc"
3434
3535lint :
3636 @printf " ==> [Test :: Lint]\n"
37- $(SEMISTANDARD ) $(SRC )
38- $(SEMISTANDARD ) --env mocha --global assert --global expect --global run $(TESTS )
39- $(SEMISTANDARD ) bin/* scripts/* .js * .js
37+ $(ESLINT ) . " bin/*"
4038
4139test-node : test-bdd test-tdd test-qunit test-exports test-unit test-integration test-jsapi test-compilers test-glob test-requires test-reporters test-only test-global-only
4240
Original file line number Diff line number Diff line change 1+ env :
2+ node : false
3+ browser : false
4+ commonjs : true
Original file line number Diff line number Diff line change 323323 "browserify" : " ^13.0.0" ,
324324 "coffee-script" : " ^1.10.0" ,
325325 "coveralls" : " ^2.11.15" ,
326+ "eslint" : " ^3.11.1" ,
327+ "eslint-config-semistandard" : " ^7.0.0" ,
328+ "eslint-config-standard" : " ^6.2.1" ,
329+ "eslint-plugin-promise" : " ^3.4.0" ,
330+ "eslint-plugin-standard" : " 2.0.1" ,
326331 "expect.js" : " ^0.3.1" ,
327332 "istanbul-combine" : " ^0.3.0" ,
328333 "karma" : " 1.3.0" ,
336341 "nyc" : " ^10.0.0" ,
337342 "phantomjs" : " 1.9.8" ,
338343 "rimraf" : " ^2.5.2" ,
339- "semistandard" : " ^9.2.1" ,
340344 "should" : " ^11.1.1" ,
341345 "through2" : " ^2.0.1" ,
342346 "watchify" : " ^3.7.0"
369373 " phantomjs" ,
370374 " lodash.create"
371375 ]
372- },
373- "semistandard" : {
374- "ignore" : [
375- " /mocha.js" ,
376- " /lib/to-iso-string/**/*.js"
377- ]
378376 }
379377}
Original file line number Diff line number Diff line change 1+ env :
2+ mocha : true
3+ globals :
4+ expect : false
5+ assert : false
6+ # https://github.com/sindresorhus/globals/pull/102
7+ run : false
You can’t perform that action at this time.
0 commit comments