Skip to content

Commit e1ffddb

Browse files
committed
[Dev Deps] update eslint, @ljharb/eslint-config, @es-shims/api, object-inspect, safe-publish-latest, tape
1 parent ef748a4 commit e1ffddb

3 files changed

Lines changed: 12 additions & 16 deletions

File tree

.eslintignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

.eslintrc

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,6 @@
44
"extends": "@ljharb",
55

66
"rules": {
7-
"array-bracket-newline": 0,
8-
"array-element-newline": 0,
9-
"func-name-matching": 0,
10-
"max-statements-per-line": [2, { "max": 2 }],
11-
"max-statements": 0,
127
"new-cap": [2, {
138
"capIsNewExceptions": [
149
"ArraySpeciesCreate",

package.json

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,14 @@
2020
"license": "MIT",
2121
"main": "index",
2222
"scripts": {
23-
"prepublish": "safe-publish-latest",
24-
"pretest": "npm run --silent lint && evalmd README.md",
23+
"prepublishOnly": "safe-publish-latest",
24+
"prepublish": "not-in-publish || npm run prepublishOnly",
25+
"pretest": "npm run lint",
2526
"test": "npm run tests-only",
2627
"posttest": "aud --production",
2728
"tests-only": "nyc tape 'test/**/*.js'",
28-
"lint": "eslint .",
29+
"prelint": "evalmd README.md",
30+
"lint": "eslint --ext=js,mjs .",
2931
"postlint": "es-shim-api --bound"
3032
},
3133
"repository": {
@@ -49,18 +51,18 @@
4951
"es-abstract": "^1.19.0"
5052
},
5153
"devDependencies": {
52-
"@es-shims/api": "^2.2.1",
53-
"@ljharb/eslint-config": "^18.0.0",
54+
"@es-shims/api": "^2.2.3",
55+
"@ljharb/eslint-config": "^20.1.0",
5456
"aud": "^1.1.5",
5557
"covert": "^1.1.1",
56-
"eslint": "^7.32.0",
57-
"evalmd": "0.0.19",
58+
"eslint": "^8.4.1",
59+
"evalmd": "^0.0.19",
5860
"foreach": "^2.0.5",
5961
"has-strict-mode": "^1.0.1",
6062
"nyc": "^10.3.2",
61-
"object-inspect": "^1.11.0",
62-
"safe-publish-latest": "^1.1.4",
63-
"tape": "^5.3.1"
63+
"object-inspect": "^1.11.1",
64+
"safe-publish-latest": "^2.0.0",
65+
"tape": "^5.3.2"
6466
},
6567
"testling": {
6668
"files": [

0 commit comments

Comments
 (0)