Previously, running npm run prettier would show help in the terminal rather than format the files. This is because the directory was not specified in the prettier script. Providing the directory fixes the problem and the script correctly formats the files.
Previously, running
npm run prettier
would show help in the terminal rather than format the files. This is because the directory was not specified in the prettier script. Providing the directory fixes the problem and the script correctly formats the files.