You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In our project, we are using kebab case for file naming. To distinguish between "layers," we are using suffixes.
For User, we might have several files: user.entity.ts, user.service.ts, user.repository.ts, user.use-case.ts. This works really well.
However, the problem is with user.use-case.ts Biome shows an error: The file extension should be in lowercase without any special characters.
Other examples include user.unit-test.ts and user.e2e-test.ts.
The expected result is no error for the second and following extensions.
Code of Conduct
I agree to follow Biome's Code of Conduct
The text was updated successfully, but these errors were encountered:
Environment information
Rule name
useFilenamingConvention
Playground link
Not reproducible in the playground.
Expected result
In our project, we are using kebab case for file naming. To distinguish between "layers," we are using suffixes.
For User, we might have several files:
user.entity.ts, user.service.ts, user.repository.ts, user.use-case.ts.
This works really well.However, the problem is with
user.use-case.ts
Biome shows an error:The file extension should be in lowercase without any special characters.
Other examples include
user.unit-test.ts
anduser.e2e-test.ts
.The expected result is no error for the second and following extensions.
Code of Conduct
The text was updated successfully, but these errors were encountered: