Page MenuHomePhabricator

[RN72][skip-ci] Automatic deletion of all unused ESLint disable directives
ClosedPublic

Authored by ashoat on Jan 4 2024, 12:38 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 7, 8:15 AM
Unknown Object (File)
Thu, Oct 31, 5:22 AM
Unknown Object (File)
Thu, Oct 31, 5:22 AM
Unknown Object (File)
Oct 3 2024, 1:24 PM
Unknown Object (File)
Oct 3 2024, 1:24 PM
Unknown Object (File)
Oct 3 2024, 1:24 PM
Unknown Object (File)
Oct 3 2024, 1:24 PM
Unknown Object (File)
Sep 4 2024, 5:33 AM
Subscribers

Details

Summary

As of ESLint 8, unused disable directives can be automatically fixed. In the next diff we'll introduce --report-unused-disable-directives to our ESLint invocations. I'm removing the unused ESLint disable directives in this diff (prior to the introduction of --report-unused-disable-directives) to avoid unnecessary CI failures.

Depends on D10541

Test Plan

In combination with the next diff, run yarn eslint:fix from the repo root

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Remove unnecessarily inserted newlines

Looks good


As an aside, noticed the following CI jobs were still running with [skip-ci]:

ab0c0b.png (208×978 px, 42 KB)

Went ahead and updated those Herald rules so they should be skipped going forward.

This revision is now accepted and ready to land.Jan 4 2024, 2:39 PM