From 1a397fb344c61be745b7f21e22920a96ad468d6c Mon Sep 17 00:00:00 2001 From: neverland Date: Thu, 27 Aug 2026 17:37:13 +0800 Subject: [PATCH] chore(deps): upgrade Rslint to v0.8.2 --- package.json | 2 +- pnpm-lock.yaml | 74 ++++++++++++++++++++++++------------------------ rslint.config.ts | 11 +------ 3 files changed, 39 insertions(+), 48 deletions(-) diff --git a/package.json b/package.json index ac9e932..df3606c 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "devDependencies": { "@rsbuild/core": "^2.0.9", "@rslib/core": "^0.23.2", - "@rslint/core": "^0.8.0", + "@rslint/core": "^0.8.2", "@rstackjs/test-utils": "^0.2.0", "@rstest/core": "^0.11.1", "@rstest/playwright": "^0.11.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 095e5d9..7b0bb2d 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -15,8 +15,8 @@ importers: specifier: ^0.23.2 version: 0.23.2(typescript@7.0.2) '@rslint/core': - specifier: ^0.8.0 - version: 0.8.0 + specifier: ^0.8.2 + version: 0.8.2 '@rstackjs/test-utils': specifier: ^0.2.0 version: 0.2.0 @@ -174,8 +174,8 @@ packages: typescript: optional: true - '@rslint/core@0.8.0': - resolution: {integrity: sha512-MfMC6lxiXoKPWsYRu9fuAxWA9mCD/I4E5Aa6Sl20a6q5w8r2C12fJM+bceC01AMGYuvWygKHqS3QBJdJHjniRw==} + '@rslint/core@0.8.2': + resolution: {integrity: sha512-O7c9hg5Soo1MOta0Aj+3Td2Bjd6ZZUV+lLPWJvVRNqaZEzl2FKmkS9xuT9o4jHXTXhTvlxGuyyaJUUlEpW57Cw==} hasBin: true peerDependencies: jiti: ^2.7.0 @@ -183,47 +183,47 @@ packages: jiti: optional: true - '@rslint/native-darwin-arm64@0.8.0': - resolution: {integrity: sha512-Bo6kXL1/TkjVUl6maZ3Sw+JEnZUkgpUD35v06jyBTcjpxlXE6yqFj66NAzB/G2CVu220ADp/FEE7l2Kocrefhg==} + '@rslint/native-darwin-arm64@0.8.2': + resolution: {integrity: sha512-SdGy7Mh8a53VQiMbQQ+pvtaivwUCeBdYP0QeORZfUWqcqqaTdfTQnaCm/7BG9NRIjAwSZcwooJnklZwqky2gGA==} cpu: [arm64] os: [darwin] - '@rslint/native-darwin-x64@0.8.0': - resolution: {integrity: sha512-F5pabdH7dluxoj7PGuQjPYuoNU+yxnctcJzqrb/CZ122FLP3uJPrbiLufh+ZF9e5ui700rNyb7macJqnHlBV2w==} + '@rslint/native-darwin-x64@0.8.2': + resolution: {integrity: sha512-Yp8+zNxhkO92QpNFTcJLYPU/Q02QC0GIR9BRn2DdMHtVattFctZKXujWprLFNafh7Di/5fitebNKeqck2+pxoQ==} cpu: [x64] os: [darwin] - '@rslint/native-linux-arm64-gnu@0.8.0': - resolution: {integrity: sha512-SSgSjyaeXI032Wk8bq6VmkLQTWOEqHZH5MWAk3831pd/G2rWr2XcoDi5Wf6w0o2rSCeYzkYbIejOePYwIKT4Lg==} + '@rslint/native-linux-arm64-gnu@0.8.2': + resolution: {integrity: sha512-LUp+w/bDgyyEpuDDp8fO18JsdyZndF5pRSeOnxPs1Ms6cUI3JRUJ/al7RMUQEzfMuNHPSrmEnFZW1nAjLOubdA==} cpu: [arm64] os: [linux] libc: [glibc] - '@rslint/native-linux-arm64-musl@0.8.0': - resolution: {integrity: sha512-50VDZQFAc9kp6rbOUOjyppVjC3d3AdbOJyA6JxlhK3mp8a/8sPIqWG0BlfcN/7ZpwdZrFsQt2Ds+0yMXITfu5A==} + '@rslint/native-linux-arm64-musl@0.8.2': + resolution: {integrity: sha512-dDPAy1+EsXT6kKVy2qgzCJSBCZ+ry2LVLbo5eLX1kueTB6uGQATnKVKhS0SiSkdqC9clxiviBRs/XBivbc4uVQ==} cpu: [arm64] os: [linux] libc: [musl] - '@rslint/native-linux-x64-gnu@0.8.0': - resolution: {integrity: sha512-wfc/UfnuTBAofwLPK5MLB2Hus1YYnsxP2MVchp380fUvMfQuGFPzz1WOAUY66zqrsrDKpUJsh3V1bx7c8DTlJA==} + '@rslint/native-linux-x64-gnu@0.8.2': + resolution: {integrity: sha512-n5TOiNTQGpfAjw7LScEdxYv41CaNpF2ff/6GVUuUBlA/GJr3pWApZUR3lP+RQmM/Ov2i+2Yfn2KrP+fIT1we5A==} cpu: [x64] os: [linux] libc: [glibc] - '@rslint/native-linux-x64-musl@0.8.0': - resolution: {integrity: sha512-MTYcAMz6IZWb6ZmLo12pakCBA8mS3EW9cOI0jd3At6vs0Yia9YbeOAUiWbIC4Z9yyp75b8ZQCQMRSnY6rDnbaA==} + '@rslint/native-linux-x64-musl@0.8.2': + resolution: {integrity: sha512-kP1uGWoHgtJuRcfMRqbu22tpMNkH2MIDQfQFu0O37PZQYh9uc0/yQzS6c5ILPKqr0PnBu4uljHa+I6a34kZ+Mw==} cpu: [x64] os: [linux] libc: [musl] - '@rslint/native-win32-arm64-msvc@0.8.0': - resolution: {integrity: sha512-hids2jgNWBxZf2mSBLZJxubWRLWlJapEfeJHVokzjpRpBZZNv7O06enoyXSb4Lswff9WaHssIqu1sfZIc9lC2g==} + '@rslint/native-win32-arm64-msvc@0.8.2': + resolution: {integrity: sha512-FYeEm0xa/vmgEHduoDrHj4k4oRBuX8xCS3JNgJALuqwUqPsh9h/pLmV+11M4X3aoiMWvqADfG4mZ0hbf79uzSQ==} cpu: [arm64] os: [win32] - '@rslint/native-win32-x64-msvc@0.8.0': - resolution: {integrity: sha512-bun7uURKl6NdChwmw/i2mk3Yj9klZQyh1uRbIQG0RDEJ9oTIbU5M3c7K5sd/Rukat0TVCGgbBAzR+YB0DAXPZQ==} + '@rslint/native-win32-x64-msvc@0.8.2': + resolution: {integrity: sha512-AyJTA/pMW7o1fXZ8oS6xwrQ89BdQwAuwCgVUB3tRUHYFNqbmjjjQAEqXz9xKSKbZlaENSRuDDptu0gq5VWPGmQ==} cpu: [x64] os: [win32] @@ -707,41 +707,41 @@ snapshots: - '@typescript/native-preview' - core-js - '@rslint/core@0.8.0': + '@rslint/core@0.8.2': dependencies: picomatch: 4.0.5 optionalDependencies: - '@rslint/native-darwin-arm64': 0.8.0 - '@rslint/native-darwin-x64': 0.8.0 - '@rslint/native-linux-arm64-gnu': 0.8.0 - '@rslint/native-linux-arm64-musl': 0.8.0 - '@rslint/native-linux-x64-gnu': 0.8.0 - '@rslint/native-linux-x64-musl': 0.8.0 - '@rslint/native-win32-arm64-msvc': 0.8.0 - '@rslint/native-win32-x64-msvc': 0.8.0 + '@rslint/native-darwin-arm64': 0.8.2 + '@rslint/native-darwin-x64': 0.8.2 + '@rslint/native-linux-arm64-gnu': 0.8.2 + '@rslint/native-linux-arm64-musl': 0.8.2 + '@rslint/native-linux-x64-gnu': 0.8.2 + '@rslint/native-linux-x64-musl': 0.8.2 + '@rslint/native-win32-arm64-msvc': 0.8.2 + '@rslint/native-win32-x64-msvc': 0.8.2 - '@rslint/native-darwin-arm64@0.8.0': + '@rslint/native-darwin-arm64@0.8.2': optional: true - '@rslint/native-darwin-x64@0.8.0': + '@rslint/native-darwin-x64@0.8.2': optional: true - '@rslint/native-linux-arm64-gnu@0.8.0': + '@rslint/native-linux-arm64-gnu@0.8.2': optional: true - '@rslint/native-linux-arm64-musl@0.8.0': + '@rslint/native-linux-arm64-musl@0.8.2': optional: true - '@rslint/native-linux-x64-gnu@0.8.0': + '@rslint/native-linux-x64-gnu@0.8.2': optional: true - '@rslint/native-linux-x64-musl@0.8.0': + '@rslint/native-linux-x64-musl@0.8.2': optional: true - '@rslint/native-win32-arm64-msvc@0.8.0': + '@rslint/native-win32-arm64-msvc@0.8.2': optional: true - '@rslint/native-win32-x64-msvc@0.8.0': + '@rslint/native-win32-x64-msvc@0.8.2': optional: true '@rspack/binding-darwin-arm64@2.0.5': diff --git a/rslint.config.ts b/rslint.config.ts index 03ad78f..4269a7e 100644 --- a/rslint.config.ts +++ b/rslint.config.ts @@ -1,12 +1,3 @@ import { defineConfig, js, ts } from '@rslint/core'; -export default defineConfig([ - js.configs.recommended, - ts.configs.recommended, - { - files: ['playground/**/*', 'test/**/*'], - rules: { - 'no-undef': 'off', - }, - }, -]); +export default defineConfig([js.configs.recommended, ts.configs.recommended]);