Skip to content

Commit

Permalink
[Dev Deps] update eslint, @ljharb/eslint-config, `safe-publish-la…
Browse files Browse the repository at this point in the history
…test`, `tape`
  • Loading branch information
ljharb committed Dec 6, 2021
1 parent 63f0668 commit 82cee30
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 12 deletions.
6 changes: 0 additions & 6 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,7 @@

"extends": "@ljharb",

"globals": {
"Promise": false,
},

"rules": {
"dot-notation": [2, { "allowKeywords": false }],
"new-cap": [2, { "capIsNewExceptions": ["RequireObjectCoercible", "SpeciesConstructor", "IsCallable", "Type"] }],
"no-magic-numbers": 0,
},
Expand All @@ -19,7 +14,6 @@
"rules": {
"max-lines-per-function": 0,
"max-params": 0,
"multiline-comment-style": 1,
"no-invalid-this": 1,
"prefer-promise-reject-errors": 0,
},
Expand Down
13 changes: 7 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,15 @@
"license": "MIT",
"main": "index.js",
"scripts": {
"prepublish": "safe-publish-latest",
"prepublishOnly": "safe-publish-latest",
"prepublish": "not-in-publish || npm run prepublishOnly",
"pretest": "npm run --silent lint",
"test": "npm run --silent tests-only",
"posttest": "npx aud --production",
"tests-only": "nyc tape test/{implementation,index,shimmed}.js",
"test:promise-shimmed": "nyc node test/promise-shimmed",
"test:native": "nyc node test/native",
"lint": "eslint .",
"lint": "eslint --ext=.js,.mjs .",
"postlint": "es-shim-api --bound"
},
"repository": {
Expand All @@ -53,13 +54,13 @@
},
"devDependencies": {
"@es-shims/api": "^2.2.2",
"@ljharb/eslint-config": "^18.0.0",
"@ljharb/eslint-config": "^20.0.0",
"aud": "^1.1.5",
"es6-shim": "^0.35.6",
"eslint": "^7.32.0",
"eslint": "^8.4.0",
"nyc": "^10.3.2",
"safe-publish-latest": "^1.1.4",
"tape": "^5.3.1"
"safe-publish-latest": "^2.0.0",
"tape": "^5.3.2"
},
"testling": {
"files": "test/index.js",
Expand Down

0 comments on commit 82cee30

Please sign in to comment.