Skip to content

Commit

Permalink
[Dev Deps] update eslint, @ljharb/eslint-config, @es-shims/api,…
Browse files Browse the repository at this point in the history
… `reflect.ownkeys`, `safe-publish-latest`, `tape`
  • Loading branch information
ljharb committed Dec 4, 2021
1 parent 0218e0d commit 8f80bbb
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 14 deletions.
8 changes: 1 addition & 7 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,10 @@
"ignore": [0, 1, -1]
}],
"no-negated-condition": 0,
"operator-linebreak": [2, "before"],
//"operator-linebreak": [2, "before"],
},

"overrides": [
{
"files": "**/*.mjs",
"rules": {
"no-restricted-exports": 0,
},
},
{
"files": "test/**/*",
"rules": {
Expand Down
1 change: 1 addition & 0 deletions implementation.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ module.exports = function fround(x) {
var s = v < 0 ? -1 : 1;
var mod = abs(v);
if (mod < BINARY_32_MIN_VALUE) {
/* eslint operator-linebreak: [2, "before"] */
return (
s
* roundTiesToEven(mod / BINARY_32_MIN_VALUE / BINARY_32_EPSILON)
Expand Down
16 changes: 9 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"./package.json": "./package.json"
},
"scripts": {
"prepublish": "safe-publish-latest",
"prepublishOnly": "safe-publish-latest",
"prepublish": "not-in-publish || npm run prepublishOnly",
"pretest": "npm run lint",
"lint": "eslint --ext=js,mjs .",
"postlint": "es-shim-api --bound",
Expand Down Expand Up @@ -53,17 +54,18 @@
},
"homepage": "https://github.com/es-shims/Math.fround#readme",
"devDependencies": {
"@es-shims/api": "^2.2.1",
"@ljharb/eslint-config": "^18.0.0",
"@es-shims/api": "^2.2.3",
"@ljharb/eslint-config": "^19.1.0",
"aud": "^1.1.5",
"auto-changelog": "^2.3.0",
"eslint": "^7.32.0",
"eslint": "^8.4.0",
"functions-have-names": "^1.2.2",
"has-strict-mode": "^1.0.1",
"in-publish": "^2.0.1",
"nyc": "^10.3.2",
"reflect.ownkeys": "^1.0.2",
"safe-publish-latest": "^1.1.4",
"tape": "^5.3.1"
"reflect.ownkeys": "^1.1.0",
"safe-publish-latest": "^2.0.0",
"tape": "^5.3.2"
},
"dependencies": {
"call-bind": "^1.0.2",
Expand Down

0 comments on commit 8f80bbb

Please sign in to comment.