File tree Expand file tree Collapse file tree 5 files changed +29
-11
lines changed Expand file tree Collapse file tree 5 files changed +29
-11
lines changed 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 1
1
BROWSERIFY := "node_modules/.bin/browserify"
2
- SEMISTANDARD : = "node_modules/.bin/semistandard "
2
+ ESLINT := "node_modules/.bin/eslint "
3
3
KARMA := "node_modules/.bin/karma"
4
4
MOCHA := "bin/mocha"
5
5
NYC := "node_modules/.bin/nyc"
34
34
35
35
lint :
36
36
@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/*"
40
38
41
39
test-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
42
40
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 323
323
"browserify" : " ^13.0.0" ,
324
324
"coffee-script" : " ^1.10.0" ,
325
325
"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" ,
326
331
"expect.js" : " ^0.3.1" ,
327
332
"istanbul-combine" : " ^0.3.0" ,
328
333
"karma" : " 1.3.0" ,
336
341
"nyc" : " ^10.0.0" ,
337
342
"phantomjs" : " 1.9.8" ,
338
343
"rimraf" : " ^2.5.2" ,
339
- "semistandard" : " ^9.2.1" ,
340
344
"should" : " ^11.1.1" ,
341
345
"through2" : " ^2.0.1" ,
342
346
"watchify" : " ^3.7.0"
369
373
" phantomjs" ,
370
374
" lodash.create"
371
375
]
372
- },
373
- "semistandard" : {
374
- "ignore" : [
375
- " /mocha.js" ,
376
- " /lib/to-iso-string/**/*.js"
377
- ]
378
376
}
379
377
}
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