Skip to content

Commit

Permalink
[Tests] use eslint, remove jshint
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Jun 2, 2018
1 parent 8639ebc commit 4344d95
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 21 deletions.
7 changes: 7 additions & 0 deletions .eslintrc
@@ -0,0 +1,7 @@
{
"root": true,
"extends": "@ljharb",
"rules": {
"indent": [2, 2],
},
}
14 changes: 0 additions & 14 deletions .jshintrc

This file was deleted.

4 changes: 4 additions & 0 deletions package.json
Expand Up @@ -26,12 +26,16 @@
"function-bind": "^1.1.1"
},
"devDependencies": {
"@ljharb/eslint-config": "^12.2.1",
"eslint": "^4.19.1",
"tape": "^4.9.0"
},
"engines": {
"node": ">= 0.8.0"
},
"scripts": {
"lint": "eslint .",
"pretest": "npm run lint",
"test": "tape test"
}
}
2 changes: 2 additions & 0 deletions src/index.js
@@ -1,3 +1,5 @@
'use strict';

var bind = require('function-bind');

module.exports = bind.call(Function.call, Object.prototype.hasOwnProperty);
7 changes: 0 additions & 7 deletions test/.jshintrc

This file was deleted.

2 changes: 2 additions & 0 deletions test/index.js
@@ -1,3 +1,5 @@
'use strict';

var test = require('tape');
var has = require('../');

Expand Down

0 comments on commit 4344d95

Please sign in to comment.