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
F3401440: D10542.diff
Mon, Dec 2, 12:08 PM
Unknown Object (File)
Thu, Nov 14, 8:33 PM
Unknown Object (File)
Thu, Nov 7, 8:15 AM
Unknown Object (File)
Oct 31 2024, 5:22 AM
Unknown Object (File)
Oct 31 2024, 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
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
No Lint Coverage
Unit
No Test Coverage

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