Skip to content

chore: enable e18e lint rules - #947

Merged
fengmk2 merged 1 commit into
masterfrom
chore/e18e-eslint-plugin
Oct 17, 2026
Merged

fengmk2 merged 1 commit into
masterfrom
chore/e18e-eslint-plugin

Conversation

@fengmk2

@fengmk2 fengmk2 commented Oct 17, 2026 •

Copy link
Copy Markdown
Member

Enable 13 @e18e/eslint-plugin rules through the existing Vite+ configuration to detect inefficient code patterns. The rules support the ES2022 target and Oxlint.

Use Object.hasOwn() in multipart filename handling. Keep regular expressions inline in tests and mark the dynamically loaded plugin as used in Fallow.

Summary by CodeRabbit

  • Bug Fixes
    • Improved handling of form data by checking for an own httpVersion property, avoiding reliance on potentially overridden object methods.
  • Chores
    • Added additional code-quality checks to the development workflow and updated dependency tracking configuration.

Copilot AI balanced review requested due to automatic review settings October 17, 2026 07:28
@agentscanapp

agentscanapp Bot commented Oct 17, 2026

Copy link
Copy Markdown

Mixed activity

Activity patterns show a mix of organic and automated signals.

View full analysis →

Evidence
  • Very high PR volume (daily): 35 PRs within a single 24-hour window

Last 5 PRs:

This is an automated analysis by AgentScan

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Added@​e18e/​eslint-plugin@​0.8.110010010092100

View full report

@coderabbitai

coderabbitai Bot commented Oct 17, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: e486cb76-b9b1-4adf-becc-d39939e6977a
📥 Commits

Reviewing files that changed from the base of the PR and between 0455df0 and 657d014.

⛔ Files ignored due to path filters: 1
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing: 4
  • .fallowrc.jsonc
  • package.json
  • src/FormData.ts
  • vite.config.ts

Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.

📝 Walkthrough

The pull request adds the @e18e/eslint-plugin development dependency, enables 13 e18e lint rules with a test-file override, updates dependency ignore configuration, and replaces a hasOwnProperty call in FormData with Object.hasOwn.

Changes: Lint rules and FormData update

Layer / File(s) Summary
Configure e18e lint rules and update FormData
package.json, vite.config.ts, .fallowrc.jsonc, src/FormData.ts
Adds the e18e plugin and configures its rules, including a test-file override. Adds the plugin to the ignored dependency list. FormData now checks for an own httpVersion property with Object.hasOwn.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Other

Suggested reviewers: copilot

Merge Risk: ⚪ Minimal · up to 657d0

The lint changes have no established codebase violations, and the FormData change is compatible with the documented Node.js minimum. No concrete user-facing regression is identified; the PR is ready for normal checks.

Pre-merge checks: Passed 5
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly and concisely describes the primary change: enabling e18e lint rules.
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 2…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 2 files. (2 skipped: 2 unsupported.)

✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@pkg-pr-new

pkg-pr-new Bot commented Oct 17, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/node-modules/urllib@947

commit: 657d014

@codecov

codecov Bot commented Oct 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.77%. Comparing base (0455df0) to head (657d014).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #947   +/-   ##
=======================================
  Coverage   94.77%   94.77%           
=======================================
  Files          10       10           
  Lines         746      746           
  Branches      235      235           
=======================================
  Hits          707      707           
  Misses         36       36           
  Partials        3        3           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@fengmk2
fengmk2 merged commit c5c3c60 into master Oct 17, 2026
20 checks passed
@fengmk2
fengmk2 deleted the chore/e18e-eslint-plugin branch October 17, 2026 07:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants