Skip to content

Commit

Permalink
upgrade dev deps
Browse files Browse the repository at this point in the history
  • Loading branch information
mourner committed Sep 10, 2024
1 parent 0309d1e commit 872c965
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 12 deletions.
8 changes: 8 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import config from 'eslint-config-mourner';

export default [
...config,
{
ignores: ['kdbush.js', 'kdbush.min.js']
}
];
15 changes: 6 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,19 @@
"url": "git://github.com/mourner/kdbush.git"
},
"devDependencies": {
"@rollup/plugin-terser": "^0.4.1",
"eslint": "^8.38.0",
"eslint-config-mourner": "^3.0.0",
"rollup": "^3.20.6",
"typescript": "^5.0.4"
"@rollup/plugin-terser": "^0.4.4",
"eslint": "^9.10.0",
"eslint-config-mourner": "^4.0.2",
"rollup": "^4.21.2",
"typescript": "^5.6.2"
},
"scripts": {
"pretest": "eslint index.js test.js bench.js rollup.config.js",
"pretest": "eslint",
"test": "tsc && node test.js",
"bench": "node bench.js",
"build": "rollup -c",
"prepublishOnly": "npm run test && npm run build"
},
"eslintConfig": {
"extends": "mourner"
},
"keywords": [
"index",
"points",
Expand Down
2 changes: 1 addition & 1 deletion test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import KDBush from './index.js';
import test from 'node:test';
import assert from 'node:assert/strict';

/* eslint comma-spacing: 0 */
/* eslint @stylistic/js/comma-spacing: 0 */

const points = [
[54,1],[97,21],[65,35],[33,54],[95,39],[54,3],[53,54],[84,72],[33,34],[43,15],[52,83],[81,23],[1,61],[38,74],
Expand Down
3 changes: 1 addition & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
"strict": true,
"emitDeclarationOnly": true,
"declaration": true,
"target": "es2017",
"moduleResolution": "nodenext"
"target": "es2017"
},
"files": [
"index.js"
Expand Down

0 comments on commit 872c965

Please sign in to comment.