Tyler Hawkins
1 min readMar 19, 2020

--

Thank you! I was banging my head on my desk this morning trying to understand why ESLint and Prettier were finding different files in my project despite using what I thought were the same patterns.

My Prettier npm script was not using quotes around the path, and it was missing some deeply nested subdirectories that ESLint was finding.

Adding quotes around the path in the Prettier npm script fixed the inconsistency!

--

--

Tyler Hawkins
Tyler Hawkins

Written by Tyler Hawkins

Staff software engineer. Continuous learner. Educator. http://tylerhawkins.info

No responses yet