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?
Hey guys!,
I am trying to make work the
--no-resolve-configflag 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:
I run
I got:
So is there something wrong?