pretty-quick
pretty-quick copied to clipboard
--no-resolve-config flag is not applying for liquid files
Hey guys!,
I am trying to make work the --no-resolve-config flag to apply html format to liquid files.
This is my .prettierc file:
{
"singleQuote": true,
"printWidth": 120,
"tabWidth": 2,
"overrides": [
{
"files": "*.{liquid}",
"options": {
"parser": "html"
}
}
]
}
And my package.json:
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged --no-resolve-config"
}
}
I run
git add templates/404.liquid
I got:
husky > pre-commit (node v15.2.1)
🔍 Finding changed files since git revision b563ed5.
🎯 Found 0 changed files.
✅ Everything is awesome!
So is there something wrong?
Not sure to understand what's the issue.
A minimal but runnable online reproduction is required.