precise-commits
precise-commits copied to clipboard
Doesn't seem to recognize/fix formatting issues in css files
Example repo: https://github.com/tylergaw/precise-commits-n
Issue
style.css has incorrect formatting. precise-commits
does not correct the formatting.
Steps
- Make a change to style.css
- Stage the change with
git add style.css
- Run
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 🎉
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:
"prettier": {
"files": "*.css"
}
to package.json
That didn't get it so I also tried creating a .prettierrc
and adding:
{
"files": "*.css"
}
Neither of those fixed the issue.