From 3ffe678c599e0084b64c99388476ce57b0e0b22e Mon Sep 17 00:00:00 2001 From: Bart Veneman Date: Mon, 10 Nov 2025 22:46:33 +0100 Subject: [PATCH 1/2] chore: use @projectwallace/preset-oxlint --- .oxlintrc.json | 55 ++--------------------------------------------- package-lock.json | 20 +++++++++++++++++ package.json | 1 + src/index.test.ts | 4 ++-- 4 files changed, 25 insertions(+), 55 deletions(-) diff --git a/.oxlintrc.json b/.oxlintrc.json index 22c91c1..f66da2b 100644 --- a/.oxlintrc.json +++ b/.oxlintrc.json @@ -1,59 +1,8 @@ { "$schema": "./node_modules/oxlint/configuration_schema.json", - "plugins": [ - "import", - "typescript", - "oxc", - "unicorn" - ], + "extends": ["@projectwallace/preset-oxlint"], "env": { "node": true, - "browser": true, - "es2024": true - }, - "categories": { - "perf": "error", - "correctness": "error", - "pedantic": "error" - }, - "rules": { - "unicorn/no-null": "error", - "unicorn/prefer-set-has": "off", - "prefer-string-slice": "off", - "prefer-code-point": "off", - "no-lonely-if": "off", - "unicorn/no-lonely-if": "off", - "no-unused-vars": "off", - "no-await-in-loop": "off", - "prefer-query-selector": "off", - "max-dependencies": "off", - "ban-types": "off", - "no-undefined": "off", - "no-useless-undefined": "off", - "max-classes-per-file": "off", - "max-lines-per-function": "off", - "prefer-math-trunc": "off", - "max-lines": "off", - "max-depth": [ - "warn", - { - "max": 5 - } - ], - "explicit-function-return-type": "off", - "no-console": "off", - "no-optional-chaining": "off", - "no-commonjs": "off", - "unambiguous": "off", - "no-default-export": "off", - "no-async-await": "off", - "no-non-null-assertion": "off", - "no-plusplus": "off", - "no-bitwise": "off", - "default-case": "off", - "no-rest-spread-properties": "off", - "require-await": "warn", - "no-null": "off", - "no-warning-comments": "off" + "browser": true } } \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index 081ce3b..3c702a5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,6 +14,7 @@ }, "devDependencies": { "@codecov/vite-plugin": "^1.9.1", + "@projectwallace/preset-oxlint": "^0.0.6", "@types/css-tree": "^2.3.11", "c8": "^10.1.3", "oxlint": "^1.26.0", @@ -1200,6 +1201,16 @@ "node": ">=14" } }, + "node_modules/@projectwallace/preset-oxlint": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/@projectwallace/preset-oxlint/-/preset-oxlint-0.0.6.tgz", + "integrity": "sha512-DFcKZano3DymmGNSFDZKlFc9LGvgEwYBOBdsTfEiGLVUqD+/duSSsIS1KAkhyktta8mv3OcyWaiaQUxSUf9mSA==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "oxlint": "^1.0.0" + } + }, "node_modules/@publint/pack": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/@publint/pack/-/pack-0.1.2.tgz", @@ -2896,6 +2907,7 @@ "integrity": "sha512-KRpL+SMi07JQyggv5ldIF+wt2pnrKm8NLW0B+8bK+0HZsLmH9/qGA+qMWie5Vf7lnlMBllJmsuzHaKFEGY3rIA==", "dev": true, "license": "MIT", + "peer": true, "bin": { "oxc_language_server": "bin/oxc_language_server", "oxlint": "bin/oxlint" @@ -4612,6 +4624,13 @@ "dev": true, "optional": true }, + "@projectwallace/preset-oxlint": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/@projectwallace/preset-oxlint/-/preset-oxlint-0.0.6.tgz", + "integrity": "sha512-DFcKZano3DymmGNSFDZKlFc9LGvgEwYBOBdsTfEiGLVUqD+/duSSsIS1KAkhyktta8mv3OcyWaiaQUxSUf9mSA==", + "dev": true, + "requires": {} + }, "@publint/pack": { "version": "0.1.2", "resolved": "https://registry.npmjs.org/@publint/pack/-/pack-0.1.2.tgz", @@ -5730,6 +5749,7 @@ "resolved": "https://registry.npmjs.org/oxlint/-/oxlint-1.26.0.tgz", "integrity": "sha512-KRpL+SMi07JQyggv5ldIF+wt2pnrKm8NLW0B+8bK+0HZsLmH9/qGA+qMWie5Vf7lnlMBllJmsuzHaKFEGY3rIA==", "dev": true, + "peer": true, "requires": { "@oxlint/darwin-arm64": "1.26.0", "@oxlint/darwin-x64": "1.26.0", diff --git a/package.json b/package.json index 3d4b4f7..2f6ec72 100644 --- a/package.json +++ b/package.json @@ -53,6 +53,7 @@ }, "devDependencies": { "@codecov/vite-plugin": "^1.9.1", + "@projectwallace/preset-oxlint": "^0.0.6", "@types/css-tree": "^2.3.11", "c8": "^10.1.3", "oxlint": "^1.26.0", diff --git a/src/index.test.ts b/src/index.test.ts index 1f99894..23c8e74 100644 --- a/src/index.test.ts +++ b/src/index.test.ts @@ -1,4 +1,4 @@ -import { test, expect, describe } from 'vitest' +import { test, it, expect, describe } from 'vitest' import { analyze, compareSpecificity, @@ -23,7 +23,7 @@ import { } from './index.js' describe('Public API', () => { - test("exposes the 'analyze' method", () => { + it("exposes the 'analyze' method", () => { expect(typeof analyze).toBe('function') }) From 87efe690c85addbfd4a82daf5d97b1e500e93a4a Mon Sep 17 00:00:00 2001 From: Bart Veneman Date: Sat, 15 Nov 2025 11:12:20 +0100 Subject: [PATCH 2/2] use oxlint preset --- package-lock.json | 156 +++++++++++++++++++++++----------------------- package.json | 4 +- 2 files changed, 80 insertions(+), 80 deletions(-) diff --git a/package-lock.json b/package-lock.json index 3c702a5..19a50b5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,10 +14,10 @@ }, "devDependencies": { "@codecov/vite-plugin": "^1.9.1", - "@projectwallace/preset-oxlint": "^0.0.6", + "@projectwallace/preset-oxlint": "^0.0.7", "@types/css-tree": "^2.3.11", "c8": "^10.1.3", - "oxlint": "^1.26.0", + "oxlint": "^1.28.0", "prettier": "^3.6.2", "publint": "^0.3.15", "typescript": "^5.9.3", @@ -1079,9 +1079,9 @@ } }, "node_modules/@oxlint/darwin-arm64": { - "version": "1.26.0", - "resolved": "https://registry.npmjs.org/@oxlint/darwin-arm64/-/darwin-arm64-1.26.0.tgz", - "integrity": "sha512-kTmm1opqyn7iZopWHO3Ml4D/44pA5eknZBepgxCnTaPrW8XgCEUI85Q5AvOOvoNve8NziTYb8ax+CyuGJIgn/Q==", + "version": "1.28.0", + "resolved": "https://registry.npmjs.org/@oxlint/darwin-arm64/-/darwin-arm64-1.28.0.tgz", + "integrity": "sha512-H7J41/iKbgm7tTpdSnA/AtjEAhxyzNzCMKWtKU5wDuP2v39jrc3fasQEJruk6hj1YXPbJY4N+1nK/jE27GMGDQ==", "cpu": [ "arm64" ], @@ -1093,9 +1093,9 @@ ] }, "node_modules/@oxlint/darwin-x64": { - "version": "1.26.0", - "resolved": "https://registry.npmjs.org/@oxlint/darwin-x64/-/darwin-x64-1.26.0.tgz", - "integrity": "sha512-/hMfZ9j7ZzVPRmMm02PHNc6MIMk0QYv5VowZJRIp40YLqLPvFfGNGZBj8e1fDVgZMFEGWDQK3yrt1uBKxXAK4Q==", + "version": "1.28.0", + "resolved": "https://registry.npmjs.org/@oxlint/darwin-x64/-/darwin-x64-1.28.0.tgz", + "integrity": "sha512-bGsSDEwpyYzNc6FIwhTmbhSK7piREUjMlmWBt7eoR3ract0+RfhZYYG4se1Ngs+4WOFC0B3gbv23fyF+cnbGGQ==", "cpu": [ "x64" ], @@ -1107,9 +1107,9 @@ ] }, "node_modules/@oxlint/linux-arm64-gnu": { - "version": "1.26.0", - "resolved": "https://registry.npmjs.org/@oxlint/linux-arm64-gnu/-/linux-arm64-gnu-1.26.0.tgz", - "integrity": "sha512-iv4wdrwdCa8bhJxOpKlvfxqTs0LgW5tKBUMvH9B13zREHm1xT9JRZ8cQbbKiyC6LNdggwu5S6TSvODgAu7/DlA==", + "version": "1.28.0", + "resolved": "https://registry.npmjs.org/@oxlint/linux-arm64-gnu/-/linux-arm64-gnu-1.28.0.tgz", + "integrity": "sha512-eNH/evMpV3xAA4jIS8dMLcGkM/LK0WEHM0RO9bxrHPAwfS72jhyPJtd0R7nZhvhG6U1bhn5jhoXbk1dn27XIAQ==", "cpu": [ "arm64" ], @@ -1121,9 +1121,9 @@ ] }, "node_modules/@oxlint/linux-arm64-musl": { - "version": "1.26.0", - "resolved": "https://registry.npmjs.org/@oxlint/linux-arm64-musl/-/linux-arm64-musl-1.26.0.tgz", - "integrity": "sha512-a3gTbnN1JzedxqYeGTkg38BAs/r3Krd2DPNs/MF7nnHthT3RzkPUk47isMePLuNc4e/Weljn7m2m/Onx22tiNg==", + "version": "1.28.0", + "resolved": "https://registry.npmjs.org/@oxlint/linux-arm64-musl/-/linux-arm64-musl-1.28.0.tgz", + "integrity": "sha512-ickvpcekNeRLND3llndiZOtJBb6LDZqNnZICIDkovURkOIWPGJGmAxsHUOI6yW6iny9gLmIEIGl/c1b5nFk6Ag==", "cpu": [ "arm64" ], @@ -1135,9 +1135,9 @@ ] }, "node_modules/@oxlint/linux-x64-gnu": { - "version": "1.26.0", - "resolved": "https://registry.npmjs.org/@oxlint/linux-x64-gnu/-/linux-x64-gnu-1.26.0.tgz", - "integrity": "sha512-cCAyqyuKpFImjlgiBuuwSF+aDBW2h19/aCmHMTMSp6KXwhoQK7/Xx7/EhZKP5wiQJzVUYq5fXr0D8WmpLGsjRg==", + "version": "1.28.0", + "resolved": "https://registry.npmjs.org/@oxlint/linux-x64-gnu/-/linux-x64-gnu-1.28.0.tgz", + "integrity": "sha512-DkgAh4LQ8NR3DwTT7/LGMhaMau0RtZkih91Ez5Usk7H7SOxo1GDi84beE7it2Q+22cAzgY4hbw3c6svonQTjxg==", "cpu": [ "x64" ], @@ -1149,9 +1149,9 @@ ] }, "node_modules/@oxlint/linux-x64-musl": { - "version": "1.26.0", - "resolved": "https://registry.npmjs.org/@oxlint/linux-x64-musl/-/linux-x64-musl-1.26.0.tgz", - "integrity": "sha512-8VOJ4vQo0G1tNdaghxrWKjKZGg73tv+FoMDrtNYuUesqBHZN68FkYCsgPwEsacLhCmtoZrkF3ePDWDuWEpDyAg==", + "version": "1.28.0", + "resolved": "https://registry.npmjs.org/@oxlint/linux-x64-musl/-/linux-x64-musl-1.28.0.tgz", + "integrity": "sha512-VBnMi3AJ2w5p/kgeyrjcGOKNY8RzZWWvlGHjCJwzqPgob4MXu6T+5Yrdi7EVJyIlouL8E3LYPYjmzB9NBi9gZw==", "cpu": [ "x64" ], @@ -1163,9 +1163,9 @@ ] }, "node_modules/@oxlint/win32-arm64": { - "version": "1.26.0", - "resolved": "https://registry.npmjs.org/@oxlint/win32-arm64/-/win32-arm64-1.26.0.tgz", - "integrity": "sha512-N8KUtzP6gfEHKvaIBZCS9g8wRfqV5v55a/B8iJjIEhtMehcEM+UX+aYRsQ4dy5oBCrK3FEp4Yy/jHgb0moLm3Q==", + "version": "1.28.0", + "resolved": "https://registry.npmjs.org/@oxlint/win32-arm64/-/win32-arm64-1.28.0.tgz", + "integrity": "sha512-tomhIks+4dKs8axB+s4GXHy+ZWXhUgptf1XnG5cZg8CzRfX4JFX9k8l2fPUgFwytWnyyvZaaXLRPWGzoZ6yoHQ==", "cpu": [ "arm64" ], @@ -1177,9 +1177,9 @@ ] }, "node_modules/@oxlint/win32-x64": { - "version": "1.26.0", - "resolved": "https://registry.npmjs.org/@oxlint/win32-x64/-/win32-x64-1.26.0.tgz", - "integrity": "sha512-7tCyG0laduNQ45vzB9blVEGq/6DOvh7AFmiUAana8mTp0zIKQQmwJ21RqhazH0Rk7O6lL7JYzKcu+zaJHGpRLA==", + "version": "1.28.0", + "resolved": "https://registry.npmjs.org/@oxlint/win32-x64/-/win32-x64-1.28.0.tgz", + "integrity": "sha512-4+VO5P/UJ2nq9sj6kQToJxFy5cKs7dGIN2DiUSQ7cqyUi7EKYNQKe+98HFcDOjtm33jQOQnc4kw8Igya5KPozg==", "cpu": [ "x64" ], @@ -1202,9 +1202,9 @@ } }, "node_modules/@projectwallace/preset-oxlint": { - "version": "0.0.6", - "resolved": "https://registry.npmjs.org/@projectwallace/preset-oxlint/-/preset-oxlint-0.0.6.tgz", - "integrity": "sha512-DFcKZano3DymmGNSFDZKlFc9LGvgEwYBOBdsTfEiGLVUqD+/duSSsIS1KAkhyktta8mv3OcyWaiaQUxSUf9mSA==", + "version": "0.0.7", + "resolved": "https://registry.npmjs.org/@projectwallace/preset-oxlint/-/preset-oxlint-0.0.7.tgz", + "integrity": "sha512-DuxHVQM7iU+3dWTb9Rfs4b9APm2gQlQT3AK74GD/UkNO4DFDf5aM7DyLKi8vX+kmuZcJiM9UAqPNRHPnJgdFag==", "dev": true, "license": "MIT", "peerDependencies": { @@ -2902,9 +2902,9 @@ } }, "node_modules/oxlint": { - "version": "1.26.0", - "resolved": "https://registry.npmjs.org/oxlint/-/oxlint-1.26.0.tgz", - "integrity": "sha512-KRpL+SMi07JQyggv5ldIF+wt2pnrKm8NLW0B+8bK+0HZsLmH9/qGA+qMWie5Vf7lnlMBllJmsuzHaKFEGY3rIA==", + "version": "1.28.0", + "resolved": "https://registry.npmjs.org/oxlint/-/oxlint-1.28.0.tgz", + "integrity": "sha512-gE97d0BcIlTTSJrim395B49mIbQ9VO8ZVoHdWai7Svl+lEeUAyCLTN4d7piw1kcB8VfgTp1JFVlAvMPD9GewMA==", "dev": true, "license": "MIT", "peer": true, @@ -2919,14 +2919,14 @@ "url": "https://github.com/sponsors/Boshen" }, "optionalDependencies": { - "@oxlint/darwin-arm64": "1.26.0", - "@oxlint/darwin-x64": "1.26.0", - "@oxlint/linux-arm64-gnu": "1.26.0", - "@oxlint/linux-arm64-musl": "1.26.0", - "@oxlint/linux-x64-gnu": "1.26.0", - "@oxlint/linux-x64-musl": "1.26.0", - "@oxlint/win32-arm64": "1.26.0", - "@oxlint/win32-x64": "1.26.0" + "@oxlint/darwin-arm64": "1.28.0", + "@oxlint/darwin-x64": "1.28.0", + "@oxlint/linux-arm64-gnu": "1.28.0", + "@oxlint/linux-arm64-musl": "1.28.0", + "@oxlint/linux-x64-gnu": "1.28.0", + "@oxlint/linux-x64-musl": "1.28.0", + "@oxlint/win32-arm64": "1.28.0", + "@oxlint/win32-x64": "1.28.0" }, "peerDependencies": { "oxlint-tsgolint": ">=0.4.0" @@ -4562,58 +4562,58 @@ } }, "@oxlint/darwin-arm64": { - "version": "1.26.0", - "resolved": "https://registry.npmjs.org/@oxlint/darwin-arm64/-/darwin-arm64-1.26.0.tgz", - "integrity": "sha512-kTmm1opqyn7iZopWHO3Ml4D/44pA5eknZBepgxCnTaPrW8XgCEUI85Q5AvOOvoNve8NziTYb8ax+CyuGJIgn/Q==", + "version": "1.28.0", + "resolved": "https://registry.npmjs.org/@oxlint/darwin-arm64/-/darwin-arm64-1.28.0.tgz", + "integrity": "sha512-H7J41/iKbgm7tTpdSnA/AtjEAhxyzNzCMKWtKU5wDuP2v39jrc3fasQEJruk6hj1YXPbJY4N+1nK/jE27GMGDQ==", "dev": true, "optional": true }, "@oxlint/darwin-x64": { - "version": "1.26.0", - "resolved": "https://registry.npmjs.org/@oxlint/darwin-x64/-/darwin-x64-1.26.0.tgz", - "integrity": "sha512-/hMfZ9j7ZzVPRmMm02PHNc6MIMk0QYv5VowZJRIp40YLqLPvFfGNGZBj8e1fDVgZMFEGWDQK3yrt1uBKxXAK4Q==", + "version": "1.28.0", + "resolved": "https://registry.npmjs.org/@oxlint/darwin-x64/-/darwin-x64-1.28.0.tgz", + "integrity": "sha512-bGsSDEwpyYzNc6FIwhTmbhSK7piREUjMlmWBt7eoR3ract0+RfhZYYG4se1Ngs+4WOFC0B3gbv23fyF+cnbGGQ==", "dev": true, "optional": true }, "@oxlint/linux-arm64-gnu": { - "version": "1.26.0", - "resolved": "https://registry.npmjs.org/@oxlint/linux-arm64-gnu/-/linux-arm64-gnu-1.26.0.tgz", - "integrity": "sha512-iv4wdrwdCa8bhJxOpKlvfxqTs0LgW5tKBUMvH9B13zREHm1xT9JRZ8cQbbKiyC6LNdggwu5S6TSvODgAu7/DlA==", + "version": "1.28.0", + "resolved": "https://registry.npmjs.org/@oxlint/linux-arm64-gnu/-/linux-arm64-gnu-1.28.0.tgz", + "integrity": "sha512-eNH/evMpV3xAA4jIS8dMLcGkM/LK0WEHM0RO9bxrHPAwfS72jhyPJtd0R7nZhvhG6U1bhn5jhoXbk1dn27XIAQ==", "dev": true, "optional": true }, "@oxlint/linux-arm64-musl": { - "version": "1.26.0", - "resolved": "https://registry.npmjs.org/@oxlint/linux-arm64-musl/-/linux-arm64-musl-1.26.0.tgz", - "integrity": "sha512-a3gTbnN1JzedxqYeGTkg38BAs/r3Krd2DPNs/MF7nnHthT3RzkPUk47isMePLuNc4e/Weljn7m2m/Onx22tiNg==", + "version": "1.28.0", + "resolved": "https://registry.npmjs.org/@oxlint/linux-arm64-musl/-/linux-arm64-musl-1.28.0.tgz", + "integrity": "sha512-ickvpcekNeRLND3llndiZOtJBb6LDZqNnZICIDkovURkOIWPGJGmAxsHUOI6yW6iny9gLmIEIGl/c1b5nFk6Ag==", "dev": true, "optional": true }, "@oxlint/linux-x64-gnu": { - "version": "1.26.0", - "resolved": "https://registry.npmjs.org/@oxlint/linux-x64-gnu/-/linux-x64-gnu-1.26.0.tgz", - "integrity": "sha512-cCAyqyuKpFImjlgiBuuwSF+aDBW2h19/aCmHMTMSp6KXwhoQK7/Xx7/EhZKP5wiQJzVUYq5fXr0D8WmpLGsjRg==", + "version": "1.28.0", + "resolved": "https://registry.npmjs.org/@oxlint/linux-x64-gnu/-/linux-x64-gnu-1.28.0.tgz", + "integrity": "sha512-DkgAh4LQ8NR3DwTT7/LGMhaMau0RtZkih91Ez5Usk7H7SOxo1GDi84beE7it2Q+22cAzgY4hbw3c6svonQTjxg==", "dev": true, "optional": true }, "@oxlint/linux-x64-musl": { - "version": "1.26.0", - "resolved": "https://registry.npmjs.org/@oxlint/linux-x64-musl/-/linux-x64-musl-1.26.0.tgz", - "integrity": "sha512-8VOJ4vQo0G1tNdaghxrWKjKZGg73tv+FoMDrtNYuUesqBHZN68FkYCsgPwEsacLhCmtoZrkF3ePDWDuWEpDyAg==", + "version": "1.28.0", + "resolved": "https://registry.npmjs.org/@oxlint/linux-x64-musl/-/linux-x64-musl-1.28.0.tgz", + "integrity": "sha512-VBnMi3AJ2w5p/kgeyrjcGOKNY8RzZWWvlGHjCJwzqPgob4MXu6T+5Yrdi7EVJyIlouL8E3LYPYjmzB9NBi9gZw==", "dev": true, "optional": true }, "@oxlint/win32-arm64": { - "version": "1.26.0", - "resolved": "https://registry.npmjs.org/@oxlint/win32-arm64/-/win32-arm64-1.26.0.tgz", - "integrity": "sha512-N8KUtzP6gfEHKvaIBZCS9g8wRfqV5v55a/B8iJjIEhtMehcEM+UX+aYRsQ4dy5oBCrK3FEp4Yy/jHgb0moLm3Q==", + "version": "1.28.0", + "resolved": "https://registry.npmjs.org/@oxlint/win32-arm64/-/win32-arm64-1.28.0.tgz", + "integrity": "sha512-tomhIks+4dKs8axB+s4GXHy+ZWXhUgptf1XnG5cZg8CzRfX4JFX9k8l2fPUgFwytWnyyvZaaXLRPWGzoZ6yoHQ==", "dev": true, "optional": true }, "@oxlint/win32-x64": { - "version": "1.26.0", - "resolved": "https://registry.npmjs.org/@oxlint/win32-x64/-/win32-x64-1.26.0.tgz", - "integrity": "sha512-7tCyG0laduNQ45vzB9blVEGq/6DOvh7AFmiUAana8mTp0zIKQQmwJ21RqhazH0Rk7O6lL7JYzKcu+zaJHGpRLA==", + "version": "1.28.0", + "resolved": "https://registry.npmjs.org/@oxlint/win32-x64/-/win32-x64-1.28.0.tgz", + "integrity": "sha512-4+VO5P/UJ2nq9sj6kQToJxFy5cKs7dGIN2DiUSQ7cqyUi7EKYNQKe+98HFcDOjtm33jQOQnc4kw8Igya5KPozg==", "dev": true, "optional": true }, @@ -4625,9 +4625,9 @@ "optional": true }, "@projectwallace/preset-oxlint": { - "version": "0.0.6", - "resolved": "https://registry.npmjs.org/@projectwallace/preset-oxlint/-/preset-oxlint-0.0.6.tgz", - "integrity": "sha512-DFcKZano3DymmGNSFDZKlFc9LGvgEwYBOBdsTfEiGLVUqD+/duSSsIS1KAkhyktta8mv3OcyWaiaQUxSUf9mSA==", + "version": "0.0.7", + "resolved": "https://registry.npmjs.org/@projectwallace/preset-oxlint/-/preset-oxlint-0.0.7.tgz", + "integrity": "sha512-DuxHVQM7iU+3dWTb9Rfs4b9APm2gQlQT3AK74GD/UkNO4DFDf5aM7DyLKi8vX+kmuZcJiM9UAqPNRHPnJgdFag==", "dev": true, "requires": {} }, @@ -5745,20 +5745,20 @@ } }, "oxlint": { - "version": "1.26.0", - "resolved": "https://registry.npmjs.org/oxlint/-/oxlint-1.26.0.tgz", - "integrity": "sha512-KRpL+SMi07JQyggv5ldIF+wt2pnrKm8NLW0B+8bK+0HZsLmH9/qGA+qMWie5Vf7lnlMBllJmsuzHaKFEGY3rIA==", + "version": "1.28.0", + "resolved": "https://registry.npmjs.org/oxlint/-/oxlint-1.28.0.tgz", + "integrity": "sha512-gE97d0BcIlTTSJrim395B49mIbQ9VO8ZVoHdWai7Svl+lEeUAyCLTN4d7piw1kcB8VfgTp1JFVlAvMPD9GewMA==", "dev": true, "peer": true, "requires": { - "@oxlint/darwin-arm64": "1.26.0", - "@oxlint/darwin-x64": "1.26.0", - "@oxlint/linux-arm64-gnu": "1.26.0", - "@oxlint/linux-arm64-musl": "1.26.0", - "@oxlint/linux-x64-gnu": "1.26.0", - "@oxlint/linux-x64-musl": "1.26.0", - "@oxlint/win32-arm64": "1.26.0", - "@oxlint/win32-x64": "1.26.0" + "@oxlint/darwin-arm64": "1.28.0", + "@oxlint/darwin-x64": "1.28.0", + "@oxlint/linux-arm64-gnu": "1.28.0", + "@oxlint/linux-arm64-musl": "1.28.0", + "@oxlint/linux-x64-gnu": "1.28.0", + "@oxlint/linux-x64-musl": "1.28.0", + "@oxlint/win32-arm64": "1.28.0", + "@oxlint/win32-x64": "1.28.0" } }, "package-json-from-dist": { diff --git a/package.json b/package.json index 2f6ec72..17473eb 100644 --- a/package.json +++ b/package.json @@ -53,10 +53,10 @@ }, "devDependencies": { "@codecov/vite-plugin": "^1.9.1", - "@projectwallace/preset-oxlint": "^0.0.6", + "@projectwallace/preset-oxlint": "^0.0.7", "@types/css-tree": "^2.3.11", "c8": "^10.1.3", - "oxlint": "^1.26.0", + "oxlint": "^1.28.0", "prettier": "^3.6.2", "publint": "^0.3.15", "typescript": "^5.9.3",