Skip to content

linter: no-empty-file does not respect disable directive comments #4005

@DonIsaac

Description

@DonIsaac

When oxlint -D no-empty-file is run on a file like this:

/* eslint-disable no-empty-file */

no-empty-file's reported error is not filtered out by DisableDirectives.

Metadata

Metadata

Assignees

Labels

A-linterArea - LinterC-bugCategory - Bug

Type

No type

Priority

None yet

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions