Skip to content

Commit

Permalink
fix: Eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
d3xter666 committed Mar 27, 2024
1 parent 6f670a3 commit 34050d7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/lib/linter/_linterHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,10 @@ export function createTestsForFixtures(fixturesPath: string) {
throw new Error(`Failed to find any fixtures in directory ${fixturesPath}`);
}
for (const fileName of testFiles) {
if (!fileName.endsWith(".js") && !fileName.endsWith(".xml") && !fileName.endsWith(".json") && !fileName.endsWith(".html")) {
if (!fileName.endsWith(".js") &&
!fileName.endsWith(".xml") &&
!fileName.endsWith(".json") &&
!fileName.endsWith(".html")) {
// Ignore non-JavaScript, non-XML, non-JSON and non-HTML files
continue;
}
Expand Down

0 comments on commit 34050d7

Please sign in to comment.