Skip to content

Commit e8f5f64

Browse files
saberduckkebetsi
authored andcommitted
JS-512 Fix special characters in filenames (#5029)
1 parent f2b1514 commit e8f5f64

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/jsts/src/linter/wrapper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ export class LinterWrapper {
171171
}
172172
const config = {
173173
...linterConfig,
174-
files: [`**/${path.posix.basename(toUnixPath(filePath))}`],
174+
files: [`**/*${path.posix.extname(toUnixPath(filePath))}`],
175175
settings: { ...linterConfig.settings, fileType },
176176
};
177177
const options = { filename: filePath, allowInlineConfig: false };

0 commit comments

Comments
 (0)