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

Support + prefix in lint/useFilenamingConvention rule #2341

Closed
Conaclos opened this issue Apr 7, 2024 Discussed in #2244 · 0 comments · Fixed by #2342
Closed

Support + prefix in lint/useFilenamingConvention rule #2341

Conaclos opened this issue Apr 7, 2024 Discussed in #2244 · 0 comments · Fixed by #2342
Assignees
Labels
A-Linter Area: linter L-JavaScript Language: JavaScript and super languages S-Enhancement Status: Improve an existing feature

Comments

@Conaclos
Copy link
Member

Conaclos commented Apr 7, 2024

Discussed in #2244

Originally posted by minht11 March 30, 2024
Sveltekit routes are defined something with + prefix something like "routes/+page.ts", trying to use Biome useFilenamingConvention rule seems to be incompatible

"useFilenamingConvention": {
	"level": "error",
	"options": {
		"filenameCases": ["kebab-case", "export", "PascalCase"]
	}
}
```</div>
@Conaclos Conaclos added A-Linter Area: linter L-JavaScript Language: JavaScript and super languages labels Apr 7, 2024
@Conaclos Conaclos self-assigned this Apr 7, 2024
@Conaclos Conaclos added the S-Enhancement Status: Improve an existing feature label Apr 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Linter Area: linter L-JavaScript Language: JavaScript and super languages S-Enhancement Status: Improve an existing feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant