Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@ import typescriptEslint from "@typescript-eslint/eslint-plugin";
import tsParser from "@typescript-eslint/parser";
import globals from "globals";

const headerRuleCreate = header.rules.header.create;
header.rules.header.create = (context) =>
headerRuleCreate(
context.getSourceCode
? context
: Object.assign(Object.create(context), {
// eslint-plugin-header still uses the pre-ESLint 10 rule context API.
getSourceCode: () => context.sourceCode,
}),
);
header.rules.header.meta.schema = false;

export default [
Expand Down
3,449 changes: 1,901 additions & 1,548 deletions package-lock.json

Large diffs are not rendered by default.

33 changes: 20 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
],
"scripts": {
"dev": "vite",
"build": "tsup && npx downlevel-dts ./dist ./dist/ts3.9",
"build": "tsup && tsc -p tsconfig.build.json && npx downlevel-dts ./dist ./dist/ts3.9",
"clean": "rimraf dist",
"format": "prettier --check .",
"format:fix": "prettier --write .",
Expand All @@ -41,24 +41,31 @@
},
"homepage": "https://github.com/microsoft/abledom#readme",
"devDependencies": {
"@playwright/test": "^1.58.2",
"@types/node": "^25.4.0",
"@typescript-eslint/eslint-plugin": "^8.57.0",
"@typescript-eslint/parser": "^8.57.0",
"@xmldom/xmldom": "^0.9.8",
"@eslint/js": "^10.0.1",
"@playwright/test": "^1.60.0",
"@types/node": "^25.9.1",
"@typescript-eslint/eslint-plugin": "^8.59.4",
"@typescript-eslint/parser": "^8.59.4",
"@xmldom/xmldom": "^0.9.10",
"downlevel-dts": "^0.11.0",
"esbuild-plugin-inline-import": "^1.1.0",
"eslint": "^9.39.4",
"eslint": "^10.4.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-header": "^3.1.1",
"eslint-plugin-import": "^2.32.0",
"playwright": "^1.58.2",
"prettier": "^3.8.1",
"release-it": "^19.2.4",
"globals": "^17.6.0",
"playwright": "^1.60.0",
"prettier": "^3.8.3",
"release-it": "^20.0.1",
"rimraf": "^6.1.3",
"start-server-and-test": "^2.1.5",
"start-server-and-test": "^3.0.5",
"tsup": "^8.5.1",
"typescript": "^5.9.3",
"vite": "^7.3.1"
"typescript": "^6.0.3",
"vite": "^8.0.14"
},
"overrides": {
"eslint-plugin-import": {
"eslint": "$eslint"
}
}
}
Loading
Loading