I'm configuring Prettier in my React project and I'm having difficulties with the .prettierignore file.
I'm passing the following instruction to it:
/*
!src/**/*.{ts,tsx}
The idea was to make Prettier ignore all files and folders and then have it format only the .ts and .tsx files inside the src folder and its subfolders.
Here is a screenshot of my current structure:
I did a search on the forums but I didn't find a similar use case. Thanks for your time and your answers.