Home > Mobile >  Which source code formatter is being used in react-admin?
Which source code formatter is being used in react-admin?

Time:09-09

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?

CodePudding user response:

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.

  • Related