diff --git a/.eslintignore b/.eslintignore deleted file mode 100644 index 84828550a4..0000000000 --- a/.eslintignore +++ /dev/null @@ -1,2 +0,0 @@ -dist -benchmarks diff --git a/oxlint.json b/.oxlintrc.json similarity index 89% rename from oxlint.json rename to .oxlintrc.json index 56817f31bc..c35b60fffd 100644 --- a/oxlint.json +++ b/.oxlintrc.json @@ -1,4 +1,9 @@ { + "$schema": "./node_modules/oxlint/configuration_schema.json", + "ignorePatterns": [ + "**/dist/**", + "benchmarks/**" + ], "rules": { "camelcase": [ 1, diff --git a/package.json b/package.json index a20bd071ce..961c2fe0be 100644 --- a/package.json +++ b/package.json @@ -141,7 +141,7 @@ "test:ts:compat": "tsc -p compat/test/ts/", "lint": "run-s oxlint tsc", "tsc": "tsc -p jsconfig-lint.json", - "oxlint": "oxlint -c oxlint.json src test/browser test/node test/shared debug compat hooks test-utils", + "oxlint": "oxlint src test/browser test/node test/shared debug compat hooks test-utils", "format": "biome format --write .", "format:check": "biome format ." }, diff --git a/sizereport.config.js b/sizereport.config.js deleted file mode 100644 index 9511c8cbd6..0000000000 --- a/sizereport.config.js +++ /dev/null @@ -1,5 +0,0 @@ -module.exports = { - repo: 'preactjs/preact', - path: ['./{compat,debug,hooks,}/dist/**/!(*.map)'], - branch: 'main' -};