Code style issues found in the above file(s). Forgot to run Prettier?
I have this problem when I try to check style with prettier --check
Code style issues found in the above file(s). Forgot to run Prettier?
Solution 1:
You need to format your code first. Run the following commands:
# Install Prettier CLI globally on your machine
1. npm i -g prettier
# Format all files supported by Prettier in the current directory and its subdirectories
2. prettier --write .
# Output a human-friendly message and a list of unformatted files, if any
3. prettier --check .