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

file-name PascalCase suggests and allows spaces in filename #271

Open
aekoch opened this issue May 13, 2022 · 0 comments
Open

file-name PascalCase suggests and allows spaces in filename #271

aekoch opened this issue May 13, 2022 · 0 comments

Comments

@aekoch
Copy link

aekoch commented May 13, 2022

Relevant config: "file-name": ["on", {"style": "PascalCase"}]

The following file name correctly violates the rule: some_lint_violating_feature.feature

However, the suggestion is SomeLint Violating Feature.feature, instead of the expected suggestion: SomeLintViolatingFeature.feature.

When the suggested filename is used, SomeLint Violating Feature.feature, it passes lint, even though that is not PascalCase.
When the correct filename is used, SomeLintViolatingFeature.feature, it does not pass lint.

This is incorrect behavior, and I know of no workaround.

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

No branches or pull requests

1 participant