You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.
Describe the bug
The plugin formats the JSON inside a section’s schema, but the output differs from Theme Check so running both Prettier and Theme Check in a theme results in one formatter overwriting the other’s output.
Additional context
I think this is due to this plugin using the json parser, maybe the json-stringify parser would produce results more in line with Theme Check? Example in a Prettier.io Playground.
Alternatively, a setting to disable JSON formatting and let Theme Check handle it would be nice to have.
Or is disabling Theme Check’s schema JSON formatting the better solution?
The text was updated successfully, but these errors were encountered:
Acknowledged, but fixed in future version of theme-check (2.0) already running in the admin. The CLI/VS Code updates are coming soon, we're polishing things up.
Describe the bug
The plugin formats the JSON inside a section’s schema, but the output differs from Theme Check so running both Prettier and Theme Check in a theme results in one formatter overwriting the other’s output.
Unformatted source
Expected output
Actual output
Debugging information
Additional context
I think this is due to this plugin using the
json
parser, maybe thejson-stringify
parser would produce results more in line with Theme Check? Example in a Prettier.io Playground.Alternatively, a setting to disable JSON formatting and let Theme Check handle it would be nice to have.
Or is disabling Theme Check’s schema JSON formatting the better solution?
The text was updated successfully, but these errors were encountered: