chore: eslint 10 (#272)

This commit is contained in:
Daniel Dietzler
2026-02-17 14:57:05 +01:00
committed by GitHub
parent 7122977de3
commit 852751c2f8
5 changed files with 614 additions and 1967 deletions
+3 -20
View File
@@ -1,31 +1,15 @@
import { FlatCompat } from '@eslint/eslintrc';
import js from '@eslint/js';
import typescriptEslint from '@typescript-eslint/eslint-plugin';
import tsParser from '@typescript-eslint/parser';
import globals from 'globals';
import path from 'node:path';
import { fileURLToPath } from 'node:url';
const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const compat = new FlatCompat({
baseDirectory: __dirname,
recommendedConfig: js.configs.recommended,
allConfig: js.configs.all,
});
import ts from 'typescript-eslint';
export default [
{
ignores: ['eslint.config.mjs'],
},
...compat.extends(
'plugin:@typescript-eslint/recommended',
),
js.configs.recommended,
...ts.configs.recommended,
{
plugins: {
'@typescript-eslint': typescriptEslint,
},
languageOptions: {
globals: {
...globals.node,
@@ -37,7 +21,6 @@ export default [
parserOptions: {
project: 'tsconfig.json',
tsconfigRootDir: __dirname,
},
},
+319 -1608
View File
File diff suppressed because it is too large Load Diff
+5 -4
View File
@@ -22,19 +22,19 @@
"devDependencies": {
"@cloudflare/vitest-pool-workers": "^0.12.0",
"@cloudflare/workers-types": "^4.20240729.0",
"@eslint/js": "^10.0.1",
"@octokit/types": "^16.0.0",
"@octokit/webhooks-types": "^7.6.1",
"@types/express": "^5.0.0",
"@types/luxon": "^3.4.2",
"@typescript-eslint/eslint-plugin": "^8.0.0",
"@typescript-eslint/parser": "^8.0.0",
"@typescript-eslint/parser": "^8.56.0",
"@vitest/coverage-istanbul": "^3.0.0",
"eslint": "^9.0.0",
"eslint-plugin-import": "^2.29.1",
"eslint": "^10.0.0",
"express": "^5.0.0",
"prettier-plugin-organize-imports": "^4.0.0",
"tsx": "^4.17.0",
"typescript": "^5.5.2",
"typescript-eslint": "^8.56.0",
"vite-node": "^5.0.0",
"vite-plugin-node-polyfills": "^0.25.0",
"wrangler": "^4.0.0"
@@ -46,6 +46,7 @@
"@octokit/graphql": "^9.0.0",
"fetch-retry": "^6.0.0",
"fflate": "^0.8.2",
"globals": "^17.3.0",
"itty-router": "^5.0.18",
"luxon": "^3.5.0",
"p-limit": "^7.0.0"
+283 -332
View File
File diff suppressed because it is too large Load Diff
+4 -3
View File
@@ -15,6 +15,7 @@
"format:fix": "prettier --write ."
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@sveltejs/adapter-static": "^3.0.6",
"@sveltejs/kit": "^2.13.0",
"@sveltejs/vite-plugin-svelte": "^6.0.0",
@@ -22,9 +23,9 @@
"@types/eslint": "^9.0.0",
"@types/luxon": "^3.4.2",
"@types/node": "^24.10.11",
"eslint": "^9.0.0",
"eslint": "^10.0.0",
"eslint-config-prettier": "^10.0.0",
"eslint-plugin-svelte": "^3.0.0",
"eslint-plugin-svelte": "^3.15.0",
"globals": "^17.0.0",
"postcss": "^8.4.39",
"prettier": "^3.1.1",
@@ -34,7 +35,7 @@
"tailwindcss": "^4.1.10",
"tslib": "^2.4.1",
"typescript": "^5.5.0",
"typescript-eslint": "^8.18.1",
"typescript-eslint": "^8.56.0",
"vite": "^7.0.0",
"vitest": "^3.0.0"
},