File tree Expand file tree Collapse file tree 4 files changed +14
-112
lines changed
Expand file tree Collapse file tree 4 files changed +14
-112
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ node_js:
1414 - " 5"
1515 - " 6"
1616 - " 7"
17+ - " 8"
1718
1819cache :
1920 directories :
Original file line number Diff line number Diff line change 11{
22 "name" : " npm-package-json-lint-config-default" ,
3- "version" : " 1.0 .0" ,
3+ "version" : " 1.1 .0" ,
44 "description" : " Default npm-package-json-lint shareable config" ,
55 "keywords" : [
66 " lint" ,
2424 "main" : " index.js" ,
2525 "scripts" : {
2626 "eslint" : " eslint *.js --format=node_modules/eslint-formatter-pretty" ,
27- "jscs" : " jscs *.js" ,
2827 "jsonlint" : " jsonlint *.json" ,
29- "lint" : " npm run npmpackagejsonlint && npm run eslint && npm run jscs && npm run jsonlint" ,
28+ "lint" : " npm run npmpackagejsonlint && npm run eslint && npm run jsonlint" ,
3029 "npmpackagejsonlint" : " pjl-cli -c .npmpackagejsonlintrc.json" ,
31- "test" : " mocha test "
30+ "test" : " mocha"
3231 },
3332 "devDependencies" : {
34- "eslint" : " ^3.15.0" ,
35- "eslint-config-tc" : " ^1.4.0" ,
33+ "chai" : " ^4.1.0" ,
34+ "eslint" : " ^4.3.0" ,
35+ "eslint-config-tc" : " ^2.1.0" ,
3636 "eslint-formatter-pretty" : " ^1.1.0" ,
3737 "is-plain-obj" : " ^1.1.0" ,
38- "jscs" : " ^3.0.7" ,
3938 "jsonlint" : " ^1.6.2" ,
40- "mocha" : " ^3.2.0" ,
41- "npm-package-json-lint" : " ^2.0.2" ,
42- "should" : " ^11.2.0" ,
43- "temp-write" : " ^3.1.0"
39+ "mocha" : " ^3.5.0" ,
40+ "npm-package-json-lint" : " ^2.6.0" ,
41+ "temp-write" : " ^3.3.0"
4442 },
4543 "peerDependencies" : {
4644 "npm-package-json-lint" : " >= 2"
Original file line number Diff line number Diff line change 11'use strict' ;
22
3- const should = require ( 'should ' ) ;
3+ const chai = require ( 'chai ' ) ;
44const isPlainObj = require ( 'is-plain-obj' ) ;
55const config = require ( './../index.js' ) ;
66const lint = require ( './helper/testHelper.js' ) ;
77
8+ const should = chai . should ( ) ;
9+
810describe ( 'npm-package-json-lint config tests' , ( ) => {
911 context ( 'npm-package-json-lint config object' , ( ) => {
1012 it ( 'should be an object' , ( ) => {
@@ -27,7 +29,7 @@ describe('npm-package-json-lint config tests', () => {
2729 const expectedErrorCount = 2 ;
2830
2931 results . errors . length . should . equal ( expectedErrorCount ) ;
30- results . hasOwnProperty ( 'warnings' ) . should . be . false ( ) ;
32+ results . hasOwnProperty ( 'warnings' ) . should . be . false ;
3133 } ) ;
3234 } ) ;
3335} ) ;
You can’t perform that action at this time.
0 commit comments