Skip to content

#7306 | chore(eslint): disable eqeqeq rule and unused disable directi…#7787

Open
dhruvpatil972 wants to merge 1 commit into
sugarlabs:masterfrom
dhruvpatil972:#7306-disable-eqeqeq
Open

#7306 | chore(eslint): disable eqeqeq rule and unused disable directi…#7787
dhruvpatil972 wants to merge 1 commit into
sugarlabs:masterfrom
dhruvpatil972:#7306-disable-eqeqeq

Conversation

@dhruvpatil972

@dhruvpatil972 dhruvpatil972 commented Jul 11, 2026

Copy link
Copy Markdown

Summary

Disables the eqeqeq rule globally in ESLint to eliminate ~350 noise warnings across the codebase. Also disables the reporting of unused disable directives to prevent warnings from existing local eslint-disable eqeqeq comments.

Fixes #7306

PR Category

  • Bug Fix
  • Feature
  • Performance
  • Tests
  • Documentation
  • CI/CD

Changes

ESLint Configuration

  • Set "eqeqeq" rule to "off" in eslint.config.mjs.
  • Configured linterOptions: { reportUnusedDisableDirectives: "off" } in eslint.config.mjs.

Verification

  • npm run lint — ✅ Passes with zero warnings/errors

@github-actions github-actions Bot added ci Changes to CI/CD workflows and automation size/XS Extra small: < 10 lines changed tests Adds or updates test coverage documentation Updates to docs, comments, or README performance Improves performance (load time, memory, rendering) bug fix Fixes a bug or incorrect behavior feature Adds new functionality labels Jul 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug fix Fixes a bug or incorrect behavior ci Changes to CI/CD workflows and automation documentation Updates to docs, comments, or README feature Adds new functionality performance Improves performance (load time, memory, rendering) size/XS Extra small: < 10 lines changed tests Adds or updates test coverage

Projects

Development

Successfully merging this pull request may close these issues.

[Chore] disable eqeqeq rule to eliminate 350+ false-positive warnings

1 participant