Skip to content

chore: disable Rslint warnings#12243

Merged
chenjiahan merged 1 commit intomainfrom
disable_warnings_1120
Nov 20, 2025
Merged

chore: disable Rslint warnings#12243
chenjiahan merged 1 commit intomainfrom
disable_warnings_1120

Conversation

@chenjiahan
Copy link
Member

@chenjiahan chenjiahan commented Nov 20, 2025

Summary

Currently Rslint outputs too many warnings, which hurts log readability. This PR disables all the warning level rules to address this issue.

More rules will be enabled via #11761

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

Copilot AI review requested due to automatic review settings November 20, 2025 02:32
@netlify
Copy link

netlify bot commented Nov 20, 2025

Deploy Preview for rspack canceled.

Name Link
🔨 Latest commit 13d2a01
🔍 Latest deploy log https://app.netlify.com/projects/rspack/deploys/691e7db1273549000829bab9

@github-actions github-actions bot added the team The issue/pr is created by the member of Rspack. label Nov 20, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR disables TypeScript ESLint warning-level rules in Rslint configuration to improve log readability. The changes are temporary, with plans to incrementally re-enable rules via issue #11761.

Key Changes:

  • Disabled 24 TypeScript ESLint rules by changing their severity from "warn" to "off"
  • Removed the --max-warnings=2261 flag from the lint:type script

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
rslint.json Changed all TypeScript ESLint rule severities from "warn" to "off" to disable warnings
package.json Removed --max-warnings flag from the lint:type script, allowing the command to pass without warning limits

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions
Copy link
Contributor

📦 Binary Size-limit

Comparing 13d2a01 to feat: support prefetch and preload in css extract plugin (#12237) by harpsealjs

🙈 Size remains the same at 47.62MB

@chenjiahan chenjiahan requested a review from JSerFeng November 20, 2025 02:48
@codspeed-hq
Copy link

codspeed-hq bot commented Nov 20, 2025

CodSpeed Performance Report

Merging #12243 will not alter performance

Comparing disable_warnings_1120 (13d2a01) with main (aa49744)

Summary

✅ 17 untouched

@chenjiahan chenjiahan enabled auto-merge (squash) November 20, 2025 02:51
@chenjiahan chenjiahan merged commit 6cf96bd into main Nov 20, 2025
60 checks passed
@chenjiahan chenjiahan deleted the disable_warnings_1120 branch November 20, 2025 03:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

team The issue/pr is created by the member of Rspack.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants