summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorJustin Wernick <justin@worthe-it.co.za>2023-06-06 23:06:11 +0200
committerJustin Wernick <justin@worthe-it.co.za>2023-06-06 23:06:11 +0200
commit9f10668a88df2255fc1494c38846a09a9c516b64 (patch)
tree1dae64d65fb6989128039b26d2f180666cabeafd /package.json
parente0b1e3df773c8b60d523a8feac6f7242e0f70d88 (diff)
Switched jshint to eslint
This happened to find an error in the one test. Oops. Fix #8
Diffstat (limited to 'package.json')
-rw-r--r--package.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/package.json b/package.json
index 0237bc0..6550f3e 100644
--- a/package.json
+++ b/package.json
@@ -4,7 +4,7 @@
"description": "A library for parsing and validating South African ID Numbers.",
"main": "south-african-id-parser.js",
"scripts": {
- "pretest": "jshint **/*.js",
+ "pretest": "eslint ./",
"test": "mocha"
},
"keywords": [
@@ -29,7 +29,7 @@
},
"devDependencies": {
"chai": "^4.3.7",
- "jshint": "^2.13.6",
+ "eslint": "^8.42.0",
"mocha": "^10.2.0"
}
}