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

--no-resolve-config flag is not applying for liquid files #122

Open
blanks88 opened this issue Feb 5, 2021 · 1 comment
Open

--no-resolve-config flag is not applying for liquid files #122

blanks88 opened this issue Feb 5, 2021 · 1 comment

Comments

@blanks88
Copy link

blanks88 commented Feb 5, 2021

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?

@JounQin
Copy link
Member

JounQin commented Jan 16, 2024

Not sure to understand what's the issue.

A minimal but runnable online reproduction is required.

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

2 participants