Skip to content

Update deps #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Aug 3, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
99 changes: 0 additions & 99 deletions .jscsrc

This file was deleted.

1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ node_js:
- "5"
- "6"
- "7"
- "8"

cache:
directories:
Expand Down
20 changes: 9 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "npm-package-json-lint-config-default",
"version": "1.0.0",
"version": "1.1.0",
"description": "Default npm-package-json-lint shareable config",
"keywords": [
"lint",
Expand All @@ -24,23 +24,21 @@
"main": "index.js",
"scripts": {
"eslint": "eslint *.js --format=node_modules/eslint-formatter-pretty",
"jscs": "jscs *.js",
"jsonlint": "jsonlint *.json",
"lint": "npm run npmpackagejsonlint && npm run eslint && npm run jscs && npm run jsonlint",
"lint": "npm run npmpackagejsonlint && npm run eslint && npm run jsonlint",
"npmpackagejsonlint": "pjl-cli -c .npmpackagejsonlintrc.json",
"test": "mocha test"
"test": "mocha"
},
"devDependencies": {
"eslint": "^3.15.0",
"eslint-config-tc": "^1.4.0",
"chai": "^4.1.0",
"eslint": "^4.3.0",
"eslint-config-tc": "^2.1.0",
"eslint-formatter-pretty": "^1.1.0",
"is-plain-obj": "^1.1.0",
"jscs": "^3.0.7",
"jsonlint": "^1.6.2",
"mocha": "^3.2.0",
"npm-package-json-lint": "^2.0.2",
"should": "^11.2.0",
"temp-write": "^3.1.0"
"mocha": "^3.5.0",
"npm-package-json-lint": "^2.6.0",
"temp-write": "^3.3.0"
},
"peerDependencies": {
"npm-package-json-lint": ">= 2"
Expand Down
6 changes: 4 additions & 2 deletions test/tests.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
'use strict';

const should = require('should');
const chai = require('chai');
const isPlainObj = require('is-plain-obj');
const config = require('./../index.js');
const lint = require('./helper/testHelper.js');

const should = chai.should();

describe('npm-package-json-lint config tests', () => {
context('npm-package-json-lint config object', () => {
it('should be an object', () => {
Expand All @@ -27,7 +29,7 @@ describe('npm-package-json-lint config tests', () => {
const expectedErrorCount = 2;

results.errors.length.should.equal(expectedErrorCount);
results.hasOwnProperty('warnings').should.be.false();
results.hasOwnProperty('warnings').should.be.false;
});
});
});