Skip to content

Commit

Permalink
[Dev Deps] add eslint, drop jscs
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Nov 19, 2019
1 parent f48732a commit 0b33130
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 124 deletions.
5 changes: 5 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"root": true,

"extends": "@ljharb",
}
120 changes: 0 additions & 120 deletions .jscs.json

This file was deleted.

9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,10 @@
},
"dependencies": {},
"devDependencies": {
"@ljharb/eslint-config": "^15.0.2",
"auto-changelog": "^1.16.2",
"covert": "^1.1.0",
"jscs": "^2.1.0",
"eslint": "^6.6.0",
"tape": "^4.0.3"
},
"license": "MIT",
Expand All @@ -35,10 +36,10 @@
}
],
"scripts": {
"test": "npm run lint && node test/index.js && npm run coverage-quiet",
"pretest": "npm run lint",
"test": "node test && npm run coverage -- --quiet",
"coverage": "covert test/index.js",
"coverage-quiet": "covert test/index.js --quiet",
"lint": "jscs *.js */*.js",
"lint": "eslint .",
"version": "auto-changelog && git add CHANGELOG.md",
"postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
},
Expand Down
2 changes: 2 additions & 0 deletions test/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use strict';

var test = require('tape');

var isObject = require('../index');
Expand Down

0 comments on commit 0b33130

Please sign in to comment.