Skip to content

Commit

Permalink
[Tests] add linting
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Aug 11, 2019
1 parent b3d0834 commit 139e74b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
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",
}
8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
"description": "Unbox a boxed JS primitive value.",
"main": "index.js",
"scripts": {
"lint": "eslint .",
"pretest": "npm run lint",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
Expand All @@ -23,5 +25,9 @@
"bugs": {
"url": "https://github.com/ljharb/unbox-primitive/issues"
},
"homepage": "https://github.com/ljharb/unbox-primitive#readme"
"homepage": "https://github.com/ljharb/unbox-primitive#readme",
"devDependencies": {
"@ljharb/eslint-config": "^14.0.2",
"eslint": "^6.1.0"
}
}

0 comments on commit 139e74b

Please sign in to comment.