From 0f3b3a07568ce1a3f27072b09361808536dd6d1a Mon Sep 17 00:00:00 2001 From: oxc-bot Date: Thu, 12 Sep 2024 17:26:47 +0800 Subject: [PATCH] release: v0.9.5 (#156) Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action Co-authored-by: Boshen --- package.json | 4 +- pnpm-lock.yaml | 267 ++++++++++++++++++++++++++++++++------- src/rules-by-category.ts | 55 ++++---- src/rules-by-scope.ts | 5 + 4 files changed, 257 insertions(+), 74 deletions(-) diff --git a/package.json b/package.json index b35bc5b..9eea45a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "eslint-plugin-oxlint", - "version": "0.9.3", + "version": "0.9.5", "description": "Turn off all rules already supported by oxlint", "type": "module", "packageManager": "pnpm@9.9.0", @@ -68,7 +68,7 @@ "husky": "^9.0.11", "lint-staged": "^15.2.5", "memfs": "^4.9.2", - "oxlint": "^0.6.1", + "oxlint": "^0.9.5", "prettier": "^3.3.1", "shelljs": "^0.8.5", "typescript": "^5.4.5", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 03aeb6a..964008f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -38,7 +38,7 @@ importers: version: 2.0.5(vitest@2.0.5(@types/node@22.5.2)) bumpp: specifier: ^9.4.1 - version: 9.5.2(magicast@0.3.4) + version: 9.5.2(magicast@0.3.5) dedent: specifier: ^1.5.3 version: 1.5.3 @@ -61,8 +61,8 @@ importers: specifier: ^4.9.2 version: 4.11.1 oxlint: - specifier: ^0.6.1 - version: 0.6.1 + specifier: ^0.9.5 + version: 0.9.5 prettier: specifier: ^3.3.1 version: 3.3.3 @@ -77,7 +77,7 @@ importers: version: 5.4.2(@types/node@22.5.2) vite-plugin-dts: specifier: ^4.0.0 - version: 4.1.0(@types/node@22.5.2)(rollup@4.21.0)(typescript@5.5.4)(vite@5.4.2(@types/node@22.5.2)) + version: 4.1.0(@types/node@22.5.2)(rollup@4.21.3)(typescript@5.5.4)(vite@5.4.2(@types/node@22.5.2)) vitest: specifier: ^2.0.0 version: 2.0.5(@types/node@22.5.2) @@ -457,43 +457,43 @@ packages: '@oxc-node/core@0.0.14': resolution: {integrity: sha512-RWhR6jfbFaVK0kV3NNo0ptNxSWVITnB/MQQNmJ4HdtX4NZLKG1LpksY21AyoRtL3fz35QjCTdLteYHTItZ31Bw==} - '@oxlint/darwin-arm64@0.6.1': - resolution: {integrity: sha512-qnPtdpX4a2wZJYHo/7pO5oHGFfA1t47M+gN9d/ds2+C7UzfZyp1kgE6cjeBidnkpSnFWUPfOmuoOOrFs8Ig+Sw==} + '@oxlint/darwin-arm64@0.9.5': + resolution: {integrity: sha512-+PzOfZga1MY+Bx7CXjqp+3OuA575bCcwKI2hbRvfcrmynpQB+sT9vy9TY0XvWsJpWDikQSHHFF3GipSvEqslfw==} cpu: [arm64] os: [darwin] - '@oxlint/darwin-x64@0.6.1': - resolution: {integrity: sha512-/M126TTjEfzNRwYgopJ1qMxbJMUzzrMY64PjbXTID7ig7nLyxcMSAp454Znf8Sh/3uulPODynmkCdkReiGqPvw==} + '@oxlint/darwin-x64@0.9.5': + resolution: {integrity: sha512-vvkfBnWs2nari8Qqas8BPI7M+CbDwBMSORy5LgoCS+hUlFQ6PsRlTXYtMpLCdvBamp7FtcRSUDrX5+wK+cVDQg==} cpu: [x64] os: [darwin] - '@oxlint/linux-arm64-gnu@0.6.1': - resolution: {integrity: sha512-120Qbek2yJz59iIzS0bwoM2717UTd6MRggDBgRw70rN0zdzkAZhORSywuC+EPq8U6ltIqYeMfcl+sGq7ZyhPyg==} + '@oxlint/linux-arm64-gnu@0.9.5': + resolution: {integrity: sha512-xCRr3wbqrqbDVnu9a43tKOWqNmc11ryH8OR6k2Z1H28iAohT5kP3dUxGfZfhM/LdxkTFHyU1d3+jFyJsUmCkWg==} cpu: [arm64] os: [linux] - '@oxlint/linux-arm64-musl@0.6.1': - resolution: {integrity: sha512-wT0T+YOW8Ng2WGcLnWCylEpHwUDRun2HomTNslRed4RQzTWOisyp6hNB8sS6JZlRGYoCGUePgwBy7GM2P0IQYw==} + '@oxlint/linux-arm64-musl@0.9.5': + resolution: {integrity: sha512-DDjaFIwgGlHU7sl4PVkp4cKqh8KECEdtEg6zs5t1++T8Lqm6ThZUAtT/oBWM+jR1bPawptpH9BzYSeGs4OmDdg==} cpu: [arm64] os: [linux] - '@oxlint/linux-x64-gnu@0.6.1': - resolution: {integrity: sha512-4qUcfTDXGOrm3/ohiCG09ZvjpCZImg1yI/IaOo25ij9VXLoaWUYJ6vbxY1GqPQegqZhli7fbFXQ5FP6AwjhBtQ==} + '@oxlint/linux-x64-gnu@0.9.5': + resolution: {integrity: sha512-xZc8M42EbAeqBjLVwuUnEqfyAit0WbZYaSJ4rd6N7EVfnKxTRRu7JGy5yuR0nOtveekhQyj59VC92HipOdmZig==} cpu: [x64] os: [linux] - '@oxlint/linux-x64-musl@0.6.1': - resolution: {integrity: sha512-v0O46xwi0EW+J3QxIZAU1h+2voIsq+BZc6/mPKzkSlnyYSPECBDFOG6IJF/rf7qzsjvIeFqdYB+sGGCxoxM5mg==} + '@oxlint/linux-x64-musl@0.9.5': + resolution: {integrity: sha512-V6k4h2fOXFlQ3B6AhSvJv56DBQ7Ki23IU+tilpDzvPDTjUYsA18VWsaM2DQU00/eCxTFaqvjP1ahtGJlaZm0/w==} cpu: [x64] os: [linux] - '@oxlint/win32-arm64@0.6.1': - resolution: {integrity: sha512-51NQgkd/XDQzAvFHKanjhFyKoPXvomNBHJnQF3iEYKmAGT2+VOOF9N6ism/FTLn+xGdzLBVU51xwRlmpCXt3kQ==} + '@oxlint/win32-arm64@0.9.5': + resolution: {integrity: sha512-5qbr5KwczXCXpj31NiL600cJe0LfNSBj4y4VovpYT3EH+HCP8NhOk7aMe2TDdc4yD4Few9qJfMlMbW4GltJGVw==} cpu: [arm64] os: [win32] - '@oxlint/win32-x64@0.6.1': - resolution: {integrity: sha512-T8uLmIxbs1X2wbiZzIjxHJgtYEOGl7d+wZTzj701JsKHsY8DWtOCvMMgmd3EoO0XX8PPxpJYdZDWupdiIlYQ4Q==} + '@oxlint/win32-x64@0.9.5': + resolution: {integrity: sha512-6zZK5S0mrIO8+/metreSb0ydq5JgC5VLve7dNnbYMxZFajdjNGGTCTatJm6cuLXhupHkcMI28AIvrMmPsfrb7A==} cpu: [x64] os: [win32] @@ -515,81 +515,161 @@ packages: cpu: [arm] os: [android] + '@rollup/rollup-android-arm-eabi@4.21.3': + resolution: {integrity: sha512-MmKSfaB9GX+zXl6E8z4koOr/xU63AMVleLEa64v7R0QF/ZloMs5vcD1sHgM64GXXS1csaJutG+ddtzcueI/BLg==} + cpu: [arm] + os: [android] + '@rollup/rollup-android-arm64@4.21.0': resolution: {integrity: sha512-a1sR2zSK1B4eYkiZu17ZUZhmUQcKjk2/j9Me2IDjk1GHW7LB5Z35LEzj9iJch6gtUfsnvZs1ZNyDW2oZSThrkA==} cpu: [arm64] os: [android] + '@rollup/rollup-android-arm64@4.21.3': + resolution: {integrity: sha512-zrt8ecH07PE3sB4jPOggweBjJMzI1JG5xI2DIsUbkA+7K+Gkjys6eV7i9pOenNSDJH3eOr/jLb/PzqtmdwDq5g==} + cpu: [arm64] + os: [android] + '@rollup/rollup-darwin-arm64@4.21.0': resolution: {integrity: sha512-zOnKWLgDld/svhKO5PD9ozmL6roy5OQ5T4ThvdYZLpiOhEGY+dp2NwUmxK0Ld91LrbjrvtNAE0ERBwjqhZTRAA==} cpu: [arm64] os: [darwin] + '@rollup/rollup-darwin-arm64@4.21.3': + resolution: {integrity: sha512-P0UxIOrKNBFTQaXTxOH4RxuEBVCgEA5UTNV6Yz7z9QHnUJ7eLX9reOd/NYMO3+XZO2cco19mXTxDMXxit4R/eQ==} + cpu: [arm64] + os: [darwin] + '@rollup/rollup-darwin-x64@4.21.0': resolution: {integrity: sha512-7doS8br0xAkg48SKE2QNtMSFPFUlRdw9+votl27MvT46vo44ATBmdZdGysOevNELmZlfd+NEa0UYOA8f01WSrg==} cpu: [x64] os: [darwin] + '@rollup/rollup-darwin-x64@4.21.3': + resolution: {integrity: sha512-L1M0vKGO5ASKntqtsFEjTq/fD91vAqnzeaF6sfNAy55aD+Hi2pBI5DKwCO+UNDQHWsDViJLqshxOahXyLSh3EA==} + cpu: [x64] + os: [darwin] + '@rollup/rollup-linux-arm-gnueabihf@4.21.0': resolution: {integrity: sha512-pWJsfQjNWNGsoCq53KjMtwdJDmh/6NubwQcz52aEwLEuvx08bzcy6tOUuawAOncPnxz/3siRtd8hiQ32G1y8VA==} cpu: [arm] os: [linux] + '@rollup/rollup-linux-arm-gnueabihf@4.21.3': + resolution: {integrity: sha512-btVgIsCjuYFKUjopPoWiDqmoUXQDiW2A4C3Mtmp5vACm7/GnyuprqIDPNczeyR5W8rTXEbkmrJux7cJmD99D2g==} + cpu: [arm] + os: [linux] + '@rollup/rollup-linux-arm-musleabihf@4.21.0': resolution: {integrity: sha512-efRIANsz3UHZrnZXuEvxS9LoCOWMGD1rweciD6uJQIx2myN3a8Im1FafZBzh7zk1RJ6oKcR16dU3UPldaKd83w==} cpu: [arm] os: [linux] + '@rollup/rollup-linux-arm-musleabihf@4.21.3': + resolution: {integrity: sha512-zmjbSphplZlau6ZTkxd3+NMtE4UKVy7U4aVFMmHcgO5CUbw17ZP6QCgyxhzGaU/wFFdTfiojjbLG3/0p9HhAqA==} + cpu: [arm] + os: [linux] + '@rollup/rollup-linux-arm64-gnu@4.21.0': resolution: {integrity: sha512-ZrPhydkTVhyeGTW94WJ8pnl1uroqVHM3j3hjdquwAcWnmivjAwOYjTEAuEDeJvGX7xv3Z9GAvrBkEzCgHq9U1w==} cpu: [arm64] os: [linux] + '@rollup/rollup-linux-arm64-gnu@4.21.3': + resolution: {integrity: sha512-nSZfcZtAnQPRZmUkUQwZq2OjQciR6tEoJaZVFvLHsj0MF6QhNMg0fQ6mUOsiCUpTqxTx0/O6gX0V/nYc7LrgPw==} + cpu: [arm64] + os: [linux] + '@rollup/rollup-linux-arm64-musl@4.21.0': resolution: {integrity: sha512-cfaupqd+UEFeURmqNP2eEvXqgbSox/LHOyN9/d2pSdV8xTrjdg3NgOFJCtc1vQ/jEke1qD0IejbBfxleBPHnPw==} cpu: [arm64] os: [linux] + '@rollup/rollup-linux-arm64-musl@4.21.3': + resolution: {integrity: sha512-MnvSPGO8KJXIMGlQDYfvYS3IosFN2rKsvxRpPO2l2cum+Z3exiExLwVU+GExL96pn8IP+GdH8Tz70EpBhO0sIQ==} + cpu: [arm64] + os: [linux] + '@rollup/rollup-linux-powerpc64le-gnu@4.21.0': resolution: {integrity: sha512-ZKPan1/RvAhrUylwBXC9t7B2hXdpb/ufeu22pG2psV7RN8roOfGurEghw1ySmX/CmDDHNTDDjY3lo9hRlgtaHg==} cpu: [ppc64] os: [linux] + '@rollup/rollup-linux-powerpc64le-gnu@4.21.3': + resolution: {integrity: sha512-+W+p/9QNDr2vE2AXU0qIy0qQE75E8RTwTwgqS2G5CRQ11vzq0tbnfBd6brWhS9bCRjAjepJe2fvvkvS3dno+iw==} + cpu: [ppc64] + os: [linux] + '@rollup/rollup-linux-riscv64-gnu@4.21.0': resolution: {integrity: sha512-H1eRaCwd5E8eS8leiS+o/NqMdljkcb1d6r2h4fKSsCXQilLKArq6WS7XBLDu80Yz+nMqHVFDquwcVrQmGr28rg==} cpu: [riscv64] os: [linux] + '@rollup/rollup-linux-riscv64-gnu@4.21.3': + resolution: {integrity: sha512-yXH6K6KfqGXaxHrtr+Uoy+JpNlUlI46BKVyonGiaD74ravdnF9BUNC+vV+SIuB96hUMGShhKV693rF9QDfO6nQ==} + cpu: [riscv64] + os: [linux] + '@rollup/rollup-linux-s390x-gnu@4.21.0': resolution: {integrity: sha512-zJ4hA+3b5tu8u7L58CCSI0A9N1vkfwPhWd/puGXwtZlsB5bTkwDNW/+JCU84+3QYmKpLi+XvHdmrlwUwDA6kqw==} cpu: [s390x] os: [linux] + '@rollup/rollup-linux-s390x-gnu@4.21.3': + resolution: {integrity: sha512-R8cwY9wcnApN/KDYWTH4gV/ypvy9yZUHlbJvfaiXSB48JO3KpwSpjOGqO4jnGkLDSk1hgjYkTbTt6Q7uvPf8eg==} + cpu: [s390x] + os: [linux] + '@rollup/rollup-linux-x64-gnu@4.21.0': resolution: {integrity: sha512-e2hrvElFIh6kW/UNBQK/kzqMNY5mO+67YtEh9OA65RM5IJXYTWiXjX6fjIiPaqOkBthYF1EqgiZ6OXKcQsM0hg==} cpu: [x64] os: [linux] + '@rollup/rollup-linux-x64-gnu@4.21.3': + resolution: {integrity: sha512-kZPbX/NOPh0vhS5sI+dR8L1bU2cSO9FgxwM8r7wHzGydzfSjLRCFAT87GR5U9scj2rhzN3JPYVC7NoBbl4FZ0g==} + cpu: [x64] + os: [linux] + '@rollup/rollup-linux-x64-musl@4.21.0': resolution: {integrity: sha512-1vvmgDdUSebVGXWX2lIcgRebqfQSff0hMEkLJyakQ9JQUbLDkEaMsPTLOmyccyC6IJ/l3FZuJbmrBw/u0A0uCQ==} cpu: [x64] os: [linux] + '@rollup/rollup-linux-x64-musl@4.21.3': + resolution: {integrity: sha512-S0Yq+xA1VEH66uiMNhijsWAafffydd2X5b77eLHfRmfLsRSpbiAWiRHV6DEpz6aOToPsgid7TI9rGd6zB1rhbg==} + cpu: [x64] + os: [linux] + '@rollup/rollup-win32-arm64-msvc@4.21.0': resolution: {integrity: sha512-s5oFkZ/hFcrlAyBTONFY1TWndfyre1wOMwU+6KCpm/iatybvrRgmZVM+vCFwxmC5ZhdlgfE0N4XorsDpi7/4XQ==} cpu: [arm64] os: [win32] + '@rollup/rollup-win32-arm64-msvc@4.21.3': + resolution: {integrity: sha512-9isNzeL34yquCPyerog+IMCNxKR8XYmGd0tHSV+OVx0TmE0aJOo9uw4fZfUuk2qxobP5sug6vNdZR6u7Mw7Q+Q==} + cpu: [arm64] + os: [win32] + '@rollup/rollup-win32-ia32-msvc@4.21.0': resolution: {integrity: sha512-G9+TEqRnAA6nbpqyUqgTiopmnfgnMkR3kMukFBDsiyy23LZvUCpiUwjTRx6ezYCjJODXrh52rBR9oXvm+Fp5wg==} cpu: [ia32] os: [win32] + '@rollup/rollup-win32-ia32-msvc@4.21.3': + resolution: {integrity: sha512-nMIdKnfZfzn1Vsk+RuOvl43ONTZXoAPUUxgcU0tXooqg4YrAqzfKzVenqqk2g5efWh46/D28cKFrOzDSW28gTA==} + cpu: [ia32] + os: [win32] + '@rollup/rollup-win32-x64-msvc@4.21.0': resolution: {integrity: sha512-2jsCDZwtQvRhejHLfZ1JY6w6kEuEtfF9nzYsZxzSlNVKDX+DpsDJ+Rbjkm74nvg2rdx0gwBS+IMdvwJuq3S9pQ==} cpu: [x64] os: [win32] + '@rollup/rollup-win32-x64-msvc@4.21.3': + resolution: {integrity: sha512-fOvu7PCQjAj4eWDEuD8Xz5gpzFqXzGlxHZozHP4b9Jxv9APtdxL6STqztDzMLuRXEc4UpXGGhx029Xgm91QBeA==} + cpu: [x64] + os: [win32] + '@rushstack/node-core-library@5.5.1': resolution: {integrity: sha512-ZutW56qIzH8xIOlfyaLQJFx+8IBqdbVCZdnj+XT1MorQ1JqqxHse8vbCpEM+2MjsrqcbxcgDIbfggB1ZSQ2A3g==} peerDependencies: @@ -1478,6 +1558,9 @@ packages: magicast@0.3.4: resolution: {integrity: sha512-TyDF/Pn36bBji9rWKHlZe+PZb6Mx5V8IHCSxk7X4aljM4e/vyDvZZYwHewdVaqiA0nb3ghfHU/6AUpDxWoER2Q==} + magicast@0.3.5: + resolution: {integrity: sha512-L0WhttDl+2BOsybvEOLK7fW3UA0OQ0IQ2d6Zl2x/a6vVRs3bAY0ECOSHHeL5jD+SbOpOCUEi0y1DgHEn9Qn1AQ==} + make-dir@4.0.0: resolution: {integrity: sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==} engines: {node: '>=10'} @@ -1597,8 +1680,8 @@ packages: resolution: {integrity: sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==} engines: {node: '>= 0.8.0'} - oxlint@0.6.1: - resolution: {integrity: sha512-V66/akd9Gu2+KE6zP/QNTqlmBChL2Q9tPYR9CguKML1SaR/URXmgpvx+0ZfFIA+pDz/VzOOM0w79ozfakbW82w==} + oxlint@0.9.5: + resolution: {integrity: sha512-Jw1QnE3GPwkKU6JUIfA+b8W5e+Oq9gAPDkEUK2ImE/1kPGoO2iHUmvnI0FS7sHeivHWbe1lsfdetWgxeW5YBZA==} engines: {node: '>=14.*'} hasBin: true @@ -1772,6 +1855,11 @@ packages: engines: {node: '>=18.0.0', npm: '>=8.0.0'} hasBin: true + rollup@4.21.3: + resolution: {integrity: sha512-7sqRtBNnEbcBtMeRVc6VRsJMmpI+JU1z9VTvW8D4gXIYQFz0aLcsE6rRkyghZkLfEgUZgVvOG7A5CVz/VW5GIA==} + engines: {node: '>=18.0.0', npm: '>=8.0.0'} + hasBin: true + run-parallel@1.2.0: resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==} @@ -1827,6 +1915,10 @@ packages: resolution: {integrity: sha512-itJW8lvSA0TXEphiRoawsCksnlf8SyvmFzIhltqAHluXd88pkCd+cXJVHTDwdCr0IzwptSm035IHQktUu1QUMg==} engines: {node: '>=0.10.0'} + source-map-js@1.2.1: + resolution: {integrity: sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA==} + engines: {node: '>=0.10.0'} + source-map@0.6.1: resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==} engines: {node: '>=0.10.0'} @@ -2475,89 +2567,137 @@ snapshots: '@oxc-node/core-win32-ia32-msvc': 0.0.14 '@oxc-node/core-win32-x64-msvc': 0.0.14 - '@oxlint/darwin-arm64@0.6.1': + '@oxlint/darwin-arm64@0.9.5': optional: true - '@oxlint/darwin-x64@0.6.1': + '@oxlint/darwin-x64@0.9.5': optional: true - '@oxlint/linux-arm64-gnu@0.6.1': + '@oxlint/linux-arm64-gnu@0.9.5': optional: true - '@oxlint/linux-arm64-musl@0.6.1': + '@oxlint/linux-arm64-musl@0.9.5': optional: true - '@oxlint/linux-x64-gnu@0.6.1': + '@oxlint/linux-x64-gnu@0.9.5': optional: true - '@oxlint/linux-x64-musl@0.6.1': + '@oxlint/linux-x64-musl@0.9.5': optional: true - '@oxlint/win32-arm64@0.6.1': + '@oxlint/win32-arm64@0.9.5': optional: true - '@oxlint/win32-x64@0.6.1': + '@oxlint/win32-x64@0.9.5': optional: true '@pkgjs/parseargs@0.11.0': optional: true - '@rollup/pluginutils@5.1.0(rollup@4.21.0)': + '@rollup/pluginutils@5.1.0(rollup@4.21.3)': dependencies: '@types/estree': 1.0.5 estree-walker: 2.0.2 picomatch: 2.3.1 optionalDependencies: - rollup: 4.21.0 + rollup: 4.21.3 '@rollup/rollup-android-arm-eabi@4.21.0': optional: true + '@rollup/rollup-android-arm-eabi@4.21.3': + optional: true + '@rollup/rollup-android-arm64@4.21.0': optional: true + '@rollup/rollup-android-arm64@4.21.3': + optional: true + '@rollup/rollup-darwin-arm64@4.21.0': optional: true + '@rollup/rollup-darwin-arm64@4.21.3': + optional: true + '@rollup/rollup-darwin-x64@4.21.0': optional: true + '@rollup/rollup-darwin-x64@4.21.3': + optional: true + '@rollup/rollup-linux-arm-gnueabihf@4.21.0': optional: true + '@rollup/rollup-linux-arm-gnueabihf@4.21.3': + optional: true + '@rollup/rollup-linux-arm-musleabihf@4.21.0': optional: true + '@rollup/rollup-linux-arm-musleabihf@4.21.3': + optional: true + '@rollup/rollup-linux-arm64-gnu@4.21.0': optional: true + '@rollup/rollup-linux-arm64-gnu@4.21.3': + optional: true + '@rollup/rollup-linux-arm64-musl@4.21.0': optional: true + '@rollup/rollup-linux-arm64-musl@4.21.3': + optional: true + '@rollup/rollup-linux-powerpc64le-gnu@4.21.0': optional: true + '@rollup/rollup-linux-powerpc64le-gnu@4.21.3': + optional: true + '@rollup/rollup-linux-riscv64-gnu@4.21.0': optional: true + '@rollup/rollup-linux-riscv64-gnu@4.21.3': + optional: true + '@rollup/rollup-linux-s390x-gnu@4.21.0': optional: true + '@rollup/rollup-linux-s390x-gnu@4.21.3': + optional: true + '@rollup/rollup-linux-x64-gnu@4.21.0': optional: true + '@rollup/rollup-linux-x64-gnu@4.21.3': + optional: true + '@rollup/rollup-linux-x64-musl@4.21.0': optional: true + '@rollup/rollup-linux-x64-musl@4.21.3': + optional: true + '@rollup/rollup-win32-arm64-msvc@4.21.0': optional: true + '@rollup/rollup-win32-arm64-msvc@4.21.3': + optional: true + '@rollup/rollup-win32-ia32-msvc@4.21.0': optional: true + '@rollup/rollup-win32-ia32-msvc@4.21.3': + optional: true + '@rollup/rollup-win32-x64-msvc@4.21.0': optional: true + '@rollup/rollup-win32-x64-msvc@4.21.3': + optional: true + '@rushstack/node-core-library@5.5.1(@types/node@22.5.2)': dependencies: ajv: 8.13.0 @@ -2897,10 +3037,10 @@ snapshots: builtin-modules@3.3.0: {} - bumpp@9.5.2(magicast@0.3.4): + bumpp@9.5.2(magicast@0.3.5): dependencies: '@jsdevtools/ez-spawn': 3.0.4 - c12: 1.11.1(magicast@0.3.4) + c12: 1.11.1(magicast@0.3.5) cac: 6.7.14 escalade: 3.1.2 fast-glob: 3.3.2 @@ -2911,7 +3051,7 @@ snapshots: transitivePeerDependencies: - magicast - c12@1.11.1(magicast@0.3.4): + c12@1.11.1(magicast@0.3.5): dependencies: chokidar: 3.6.0 confbox: 0.1.7 @@ -2926,7 +3066,7 @@ snapshots: pkg-types: 1.2.0 rc9: 2.1.2 optionalDependencies: - magicast: 0.3.4 + magicast: 0.3.5 cac@6.7.14: {} @@ -3562,6 +3702,13 @@ snapshots: '@babel/types': 7.25.6 source-map-js: 1.2.0 + magicast@0.3.5: + dependencies: + '@babel/parser': 7.25.6 + '@babel/types': 7.25.6 + source-map-js: 1.2.1 + optional: true + make-dir@4.0.0: dependencies: semver: 7.6.3 @@ -3679,16 +3826,16 @@ snapshots: type-check: 0.4.0 word-wrap: 1.2.5 - oxlint@0.6.1: + oxlint@0.9.5: optionalDependencies: - '@oxlint/darwin-arm64': 0.6.1 - '@oxlint/darwin-x64': 0.6.1 - '@oxlint/linux-arm64-gnu': 0.6.1 - '@oxlint/linux-arm64-musl': 0.6.1 - '@oxlint/linux-x64-gnu': 0.6.1 - '@oxlint/linux-x64-musl': 0.6.1 - '@oxlint/win32-arm64': 0.6.1 - '@oxlint/win32-x64': 0.6.1 + '@oxlint/darwin-arm64': 0.9.5 + '@oxlint/darwin-x64': 0.9.5 + '@oxlint/linux-arm64-gnu': 0.9.5 + '@oxlint/linux-arm64-musl': 0.9.5 + '@oxlint/linux-x64-gnu': 0.9.5 + '@oxlint/linux-x64-musl': 0.9.5 + '@oxlint/win32-arm64': 0.9.5 + '@oxlint/win32-x64': 0.9.5 p-limit@2.3.0: dependencies: @@ -3854,6 +4001,29 @@ snapshots: '@rollup/rollup-win32-x64-msvc': 4.21.0 fsevents: 2.3.3 + rollup@4.21.3: + dependencies: + '@types/estree': 1.0.5 + optionalDependencies: + '@rollup/rollup-android-arm-eabi': 4.21.3 + '@rollup/rollup-android-arm64': 4.21.3 + '@rollup/rollup-darwin-arm64': 4.21.3 + '@rollup/rollup-darwin-x64': 4.21.3 + '@rollup/rollup-linux-arm-gnueabihf': 4.21.3 + '@rollup/rollup-linux-arm-musleabihf': 4.21.3 + '@rollup/rollup-linux-arm64-gnu': 4.21.3 + '@rollup/rollup-linux-arm64-musl': 4.21.3 + '@rollup/rollup-linux-powerpc64le-gnu': 4.21.3 + '@rollup/rollup-linux-riscv64-gnu': 4.21.3 + '@rollup/rollup-linux-s390x-gnu': 4.21.3 + '@rollup/rollup-linux-x64-gnu': 4.21.3 + '@rollup/rollup-linux-x64-musl': 4.21.3 + '@rollup/rollup-win32-arm64-msvc': 4.21.3 + '@rollup/rollup-win32-ia32-msvc': 4.21.3 + '@rollup/rollup-win32-x64-msvc': 4.21.3 + fsevents: 2.3.3 + optional: true + run-parallel@1.2.0: dependencies: queue-microtask: 1.2.3 @@ -3898,6 +4068,9 @@ snapshots: source-map-js@1.2.0: {} + source-map-js@1.2.1: + optional: true + source-map@0.6.1: {} spdx-correct@3.2.0: @@ -4070,10 +4243,10 @@ snapshots: - supports-color - terser - vite-plugin-dts@4.1.0(@types/node@22.5.2)(rollup@4.21.0)(typescript@5.5.4)(vite@5.4.2(@types/node@22.5.2)): + vite-plugin-dts@4.1.0(@types/node@22.5.2)(rollup@4.21.3)(typescript@5.5.4)(vite@5.4.2(@types/node@22.5.2)): dependencies: '@microsoft/api-extractor': 7.47.4(@types/node@22.5.2) - '@rollup/pluginutils': 5.1.0(rollup@4.21.0) + '@rollup/pluginutils': 5.1.0(rollup@4.21.3) '@volar/typescript': 2.4.1 '@vue/language-core': 2.0.29(typescript@5.5.4) compare-versions: 6.1.1 diff --git a/src/rules-by-category.ts b/src/rules-by-category.ts index e3c25bd..0547ef3 100644 --- a/src/rules-by-category.ts +++ b/src/rules-by-category.ts @@ -27,25 +27,15 @@ const pedanticRules = { 'react/checked-requires-onchange-or-readonly': 'off', 'react/jsx-no-useless-fragment': 'off', 'react/no-unescaped-entities': 'off', - '@typescript-eslint/ban-types': 'off', '@typescript-eslint/no-duplicate-enum-values': 'off', - '@typescript-eslint/prefer-enum-initializers': 'off', 'unicorn/new-for-builtins': 'off', 'unicorn/no-lonely-if': 'off', - 'unicorn/no-negated-condition': 'off', - 'unicorn/no-negation-in-equality-check': 'off', - 'unicorn/no-new-buffer': 'off', 'unicorn/no-object-as-default-parameter': 'off', 'unicorn/no-static-only-class': 'off', 'unicorn/no-this-assignment': 'off', - 'unicorn/no-typeof-undefined': 'off', 'unicorn/no-unreadable-iife': 'off', - 'unicorn/no-useless-switch-case': 'off', - 'unicorn/prefer-blob-reading-methods': 'off', - 'unicorn/prefer-dom-node-dataset': 'off', 'unicorn/prefer-dom-node-remove': 'off', 'unicorn/prefer-event-target': 'off', - 'unicorn/prefer-math-trunc': 'off', }; const nurseryRules = { @@ -64,6 +54,7 @@ const nurseryRules = { const restrictionRules = { 'default-case': 'off', + 'no-alert': 'off', 'no-bitwise': 'off', 'no-console': 'off', 'no-empty-function': 'off', @@ -87,7 +78,6 @@ const restrictionRules = { 'promise/spec-only': 'off', 'react/button-has-type': 'off', 'react/no-danger': 'off', - 'react/no-unknown-property': 'off', '@typescript-eslint/explicit-function-return-type': 'off', '@typescript-eslint/no-dynamic-delete': 'off', '@typescript-eslint/no-namespace': 'off', @@ -97,11 +87,9 @@ const restrictionRules = { '@typescript-eslint/prefer-literal-enum-member': 'off', 'unicorn/no-abusive-eslint-disable': 'off', 'unicorn/no-anonymous-default-export': 'off', - 'unicorn/no-array-for-each': 'off', 'unicorn/no-array-reduce': 'off', 'unicorn/no-magic-array-flat-depth': 'off', 'unicorn/no-process-exit': 'off', - 'unicorn/prefer-number-properties': 'off', }; const styleRules = { @@ -144,15 +132,10 @@ const styleRules = { 'react/prefer-es6-class': 'off', '@typescript-eslint/adjacent-overload-signatures': 'off', '@typescript-eslint/no-empty-interface': 'off', - '@typescript-eslint/prefer-for-of': 'off', - 'unicorn/catch-error-name': 'off', 'unicorn/error-message': 'off', 'unicorn/filename-case': 'off', 'unicorn/no-await-expression-member': 'off', 'unicorn/no-unreadable-array-destructuring': 'off', - 'unicorn/prefer-includes': 'off', - 'unicorn/prefer-logical-operator-over-ternary': 'off', - 'unicorn/prefer-modern-dom-apis': 'off', 'unicorn/prefer-reflect-apply': 'off', 'vitest/prefer-each': 'off', }; @@ -217,10 +200,10 @@ const correctnessRules = { 'no-func-assign': 'off', 'no-global-assign': 'off', 'no-import-assign': 'off', + 'no-invalid-regexp': 'off', 'no-irregular-whitespace': 'off', 'no-loss-of-precision': 'off', 'no-new-native-nonconstructor': 'off', - 'no-nonoctal-decimal-escape': 'off', 'no-obj-calls': 'off', 'no-self-assign': 'off', 'no-setter-return': 'off', @@ -291,7 +274,6 @@ const correctnessRules = { 'nextjs/no-styled-jsx-in-document': 'off', 'nextjs/no-sync-scripts': 'off', 'nextjs/no-title-in-document-head': 'off', - 'nextjs/no-typos': 'off', 'nextjs/no-unwanted-polyfillio': 'off', 'promise/valid-params': 'off', 'react/jsx-key': 'off', @@ -315,11 +297,8 @@ const correctnessRules = { 'unicorn/no-document-cookie': 'off', 'unicorn/no-empty-file': 'off', 'unicorn/no-invalid-remove-event-listener': 'off', - 'unicorn/no-new-array': 'off', 'unicorn/no-thenable': 'off', - 'unicorn/no-useless-length-check': 'off', 'vitest/no-conditional-tests': 'off', - 'vitest/require-local-test-context-for-concurrent-snapshots': 'off', }; const perfRules = { @@ -420,12 +399,40 @@ const fixDangerousRules = { const pendingRules = { 'no-extra-boolean-cast': 'off', 'no-fallthrough': 'off', + 'no-magic-numbers': 'off', + 'no-nonoctal-decimal-escape': 'off', + 'sort-keys': 'off', + 'sort-vars': 'off', 'jsx-a11y/tabindex-no-positive': 'off', + 'nextjs/no-typos': 'off', + 'react/no-unknown-property': 'off', 'react/self-closing-comp': 'off', + '@typescript-eslint/ban-types': 'off', + '@typescript-eslint/no-confusing-non-null-assertion': 'off', + '@typescript-eslint/prefer-enum-initializers': 'off', + '@typescript-eslint/prefer-for-of': 'off', + 'unicorn/catch-error-name': 'off', 'unicorn/consistent-function-scoping': 'off', + 'unicorn/no-array-for-each': 'off', + 'unicorn/no-negated-condition': 'off', + 'unicorn/no-negation-in-equality-check': 'off', + 'unicorn/no-new-array': 'off', + 'unicorn/no-new-buffer': 'off', + 'unicorn/no-typeof-undefined': 'off', + 'unicorn/no-useless-length-check': 'off', + 'unicorn/no-useless-switch-case': 'off', + 'unicorn/prefer-add-event-listener': 'off', + 'unicorn/prefer-blob-reading-methods': 'off', + 'unicorn/prefer-dom-node-dataset': 'off', + 'unicorn/prefer-includes': 'off', + 'unicorn/prefer-logical-operator-over-ternary': 'off', + 'unicorn/prefer-math-trunc': 'off', + 'unicorn/prefer-modern-dom-apis': 'off', 'unicorn/prefer-modern-math-apis': 'off', 'unicorn/prefer-native-coercion-functions': 'off', + 'unicorn/prefer-number-properties': 'off', 'unicorn/prefer-structured-clone': 'off', + 'vitest/require-local-test-context-for-concurrent-snapshots': 'off', }; const suspiciousRules = { @@ -438,10 +445,8 @@ const suspiciousRules = { 'jest/no-commented-out-tests': 'off', 'react/jsx-no-comment-textnodes': 'off', 'react/react-in-jsx-scope': 'off', - '@typescript-eslint/no-confusing-non-null-assertion': 'off', '@typescript-eslint/no-extraneous-class': 'off', '@typescript-eslint/no-unnecessary-type-constraint': 'off', - 'unicorn/prefer-add-event-listener': 'off', }; const dangerousSuggestionRules = { diff --git a/src/rules-by-scope.ts b/src/rules-by-scope.ts index c90b245..9f1aa67 100644 --- a/src/rules-by-scope.ts +++ b/src/rules-by-scope.ts @@ -14,6 +14,7 @@ const eslintRules = { 'max-classes-per-file': 'off', 'max-lines': 'off', 'max-params': 'off', + 'no-alert': 'off', 'no-array-constructor': 'off', 'no-async-promise-executor': 'off', 'no-await-in-loop': 'off', @@ -51,10 +52,12 @@ const eslintRules = { 'no-global-assign': 'off', 'no-import-assign': 'off', 'no-inner-declarations': 'off', + 'no-invalid-regexp': 'off', 'no-irregular-whitespace': 'off', 'no-iterator': 'off', 'no-label-var': 'off', 'no-loss-of-precision': 'off', + 'no-magic-numbers': 'off', 'no-multi-str': 'off', 'no-new': 'off', 'no-new-func': 'off', @@ -99,6 +102,8 @@ const eslintRules = { 'require-await': 'off', 'require-yield': 'off', 'sort-imports': 'off', + 'sort-keys': 'off', + 'sort-vars': 'off', 'symbol-description': 'off', 'unicode-bom': 'off', 'use-isnan': 'off',