scalar icon indicating copy to clipboard operation
scalar copied to clipboard

feat: enforce file names

Open hanspagel opened this issue 6 months ago • 7 comments

Problem

Currently, we have different approaches to name files in the repository. This feels very inconsistent.

Solution

With this PR we’re introducing https://ls-lint.org/ to lint file names. Unfortunately, it doesn’t fix file names. So I’ve added a tiny script that tries to fix file names.

It’s only configured for the mock server, the void server and the core package for now. Let’s start easy.

I’ve also added a Git commit hook.

Checklist

I’ve gone through the following:

  • [x] I’ve added an explanation why this change is needed.
  • [ ] I’ve added a changeset (pnpm changeset).
  • [ ] I’ve added tests for the regression or new feature.
  • [ ] I’ve updated the documentation.

hanspagel avatar Apr 22 '25 10:04 hanspagel