Skip to content

Commit 697c2fd

Browse files
committed
chore: autoformat with shopify liquid vscode plugin
1 parent 65a56e8 commit 697c2fd

File tree

5 files changed

+7
-18
lines changed

5 files changed

+7
-18
lines changed

.devcontainer/devcontainer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@
1717
},
1818
"extensions": [
1919
"eamodio.gitlens",
20-
"esbenp.prettier-vscode",
20+
"prettier.prettier-vscode",
2121
"mhutchie.git-graph",
2222
"redhat.vscode-xml",
23-
"sissel.shopify-liquid",
23+
"shopify.theme-check-vscode",
2424
"tombi-toml.tombi"
2525
]
2626
}

.djlintrc

Lines changed: 0 additions & 6 deletions
This file was deleted.

.pre-commit-config.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,6 @@ repos:
3131
- id: check-added-large-files
3232
args: ["--maxkb=2500"]
3333

34-
- repo: https://github.com/djlint/djLint
35-
rev: v1.36.4
36-
hooks:
37-
- id: djlint-reformat-jinja
38-
files: \.html$
39-
types_or: ["html"]
40-
4134
- repo: local
4235
hooks:
4336
- id: frontmatter-timestamp

.prettierrc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
{
22
"tabWidth": 2,
33
"useTabs": false,
4-
"printWidth": 130
4+
"printWidth": 130,
5+
"liquidSingleQuote": false,
6+
"plugins": ["@shopify/prettier-plugin-liquid"]
57
}

.vscode/settings.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"editor.formatOnSave": true,
3-
"editor.defaultFormatter": "esbenp.prettier-vscode",
3+
"editor.defaultFormatter": "prettier.prettier-vscode",
44
"files.encoding": "utf8",
55
"files.eol": "\n",
66
"files.insertFinalNewline": true,
@@ -11,7 +11,7 @@
1111
"*.html": "liquid"
1212
},
1313
"[liquid]": {
14-
"editor.defaultFormatter": "sissel.shopify-liquid",
14+
"editor.defaultFormatter": "Shopify.theme-check-vscode",
1515
"editor.formatOnSave": true
1616
}
1717
}

0 commit comments

Comments
 (0)