Open tylergaw opened 5 years ago
Example repo: https://github.com/tylergaw/precise-commits-n
style.css has incorrect formatting. precise-commits does not correct the formatting.
precise-commits
git add style.css
yarn precise-commits
# yarn precise-commits yarn run v1.15.2 $ precise-commits ✔ precise-commits: 1 modified file(s) found ✔ [1/1] Processing file: style.css ℹ --> No formatting changes required in: style.css ✔ Formatting complete 🎉
I would expect precise-commits to have found and fixed the formatting issues in style.css
style.css
I thought maybe it was a prettier config issue so I tried adding:
"prettier": { "files": "*.css" }
to package.json
package.json
That didn't get it so I also tried creating a .prettierrc and adding:
.prettierrc
{ "files": "*.css" }
Neither of those fixed the issue.
Example repo: https://github.com/tylergaw/precise-commits-n
Issue
style.css has incorrect formatting.
precise-commits
does not correct the formatting.Steps
git add style.css
yarn precise-commits
Expectation
I would expect precise-commits to have found and fixed the formatting issues in
style.css
Things I tried
I thought maybe it was a prettier config issue so I tried adding:
to
package.json
That didn't get it so I also tried creating a
.prettierrc
and adding:Neither of those fixed the issue.