I cloned the source code of react-admin from https://github.com/marmelab/react-admin.
When I tried formatting the source code by VS Code (Windows) with "Prettier - Code formatter" or "TypeScript and Javascript Language Features", the source code is formatted differently with the current format of react-admin source code.
Which source code formatter are they using?
It's using eslint with prettier, but with a specific config:
You should configure your editor to read the project-specific configuration for these tools.