Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot stat files with names that start with + #313

Open
gwax opened this issue Oct 12, 2023 · 2 comments
Open

Cannot stat files with names that start with + #313

gwax opened this issue Oct 12, 2023 · 2 comments
Labels
bug a bug which occured hacktoberfest

Comments

@gwax
Copy link

gwax commented Oct 12, 2023

Svelte/SvelteKit use + as a prefix to indicate the role of certain files in a project (e.g. +page.ts or +layout.svelte)

When I attempt to run editorconfig-checker against a svelte project, I encounter a great many errors of the form:

Could not get the ContentType of file: +page.svelte
stat +page.svelte: no such file or directory
Don't add +page.svelte to be checked

and the files do not get checked

All files not prefixed with + seem to work as expected

@mstruebing
Copy link
Member

Hey @gwax thanks for your issue - could you please create an issue in https://github.com/editorconfig-checker/editorconfig-checker as this javascript version uses the other project under the hood?

@theoludwig theoludwig transferred this issue from editorconfig-checker/editorconfig-checker.javascript Nov 17, 2023
@theoludwig theoludwig added bug a bug which occured hacktoberfest labels Nov 17, 2023
@greut
Copy link
Contributor

greut commented Nov 17, 2023

@gwax I've tried it locally with https://github.com/tsukhu/sveltekit-demo - no issues, do you have anything public where the error occurs?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug a bug which occured hacktoberfest
Projects
None yet
Development

No branches or pull requests

4 participants