Skip to content

Commit

Permalink
Fix special characters in filenames
Browse files Browse the repository at this point in the history
  • Loading branch information
saberduck committed Dec 20, 2024
1 parent 3cef7de commit a0d07be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/jsts/src/linter/wrapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ export class LinterWrapper {
}
const config = {
...linterConfig,
files: [`**/${path.posix.basename(toUnixPath(filePath))}`],
files: [`**/*${path.posix.extname(toUnixPath(filePath))}`],
settings: { ...linterConfig.settings, fileType },
};
const options = { filename: filePath, allowInlineConfig: false };
Expand Down

0 comments on commit a0d07be

Please sign in to comment.