ESLint and Prettier appears to have issues with running on Windows 11. It couldn't seems to find the matching pattern when compared to Mac OS and Linux when running npm run lint or any related scripts with single quote '
Reproduction Steps:
1. Use a Windows computer
2. Attempt to run npm run lint3. See issue
Expected Behavior:
To run ESLint and Prettier similar to how it is on Mac OS and Linux.
Actual Behavior:
It errors out by not finding the correct matches.
Desktop (please complete the following information):
OS: Windows 11
Possible Solution (optional):
Have discussed and tested solution with Hauvert on his computer which is using Windows. The solution to this is to run ESLint and Prettier with double quotes ". This solution also works for Mac OS and Linux.
Bug Description:
ESLint and Prettier appears to have issues with running on Windows 11. It couldn't seems to find the matching pattern when compared to Mac OS and Linux when running
npm run lint
or any related scripts with single quote'
Reproduction Steps:
1. Use a Windows computer 2. Attempt to run
npm run lint
3. See issueExpected Behavior:
To run ESLint and Prettier similar to how it is on Mac OS and Linux.
Actual Behavior:
It errors out by not finding the correct matches.
Desktop (please complete the following information):
Possible Solution (optional):
Have discussed and tested solution with Hauvert on his computer which is using Windows. The solution to this is to run ESLint and Prettier with double quotes
"
. This solution also works for Mac OS and Linux.https://github.com/codeforpdx/PASS/assets/14917816/0c2921b1-6a97-4990-bfab-6b5ea34c370a