Skip to content

no-large-snapshots should not care about file types #370

@G-Rath

Description

@G-Rath

Currently, no-large-snapshots checks if the file being linted ends w/ the .js file extension, preventing it from linting other files, such as .tsx, .ts, & .jsx.

This file check should be removed.

} else if (context.getFilename().endsWith('.js')) {

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions