Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't seem to recognize/fix formatting issues in css files #33

Open
tylergaw opened this issue Apr 19, 2019 · 0 comments
Open

Doesn't seem to recognize/fix formatting issues in css files #33

tylergaw opened this issue Apr 19, 2019 · 0 comments

Comments

@tylergaw
Copy link

Example repo: https://github.com/tylergaw/precise-commits-n

Issue

style.css has incorrect formatting. precise-commits does not correct the formatting.

Steps

  1. Make a change to style.css
  2. Stage the change with git add style.css
  3. 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant