Skip to content

Commit

Permalink
latest
Browse files Browse the repository at this point in the history
  • Loading branch information
panoply committed Jul 11, 2023
1 parent b6c951b commit 67f04c7
Show file tree
Hide file tree
Showing 66 changed files with 5,560 additions and 4,856 deletions.
96 changes: 96 additions & 0 deletions .liquidrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
{
"engine": "11ty",
"files": {
"data": [
"./docs/src/data/*.js"
],
"includes": [
"./docs/src/views/include/*.liquid"
]
},
"format": {
"wrap": 120,
"crlf": false,
"indentSize": 2,
"preserveLine": 1,
"endNewline": false,
"wrapFraction": 90,
"liquid": {
"commentIndent": true,
"commentNewline": true,
"dedentTagList": [
"schema"
],
"delimiterPlacement": "preserve",
"delimiterTrims": "never",
"lineBreakSeparator": "before",
"indentAttribute": true,
"normalizeSpacing": true,
"preserveComment": false,
"quoteConvert": "single",
"ignoreTagList": [
"capture"
],
"forceFilter": 3,
"forceArgument": 3
},
"markup": {
"quoteConvert": "double",
"lineBreakValue": "preserve",
"commentNewline": true,
"attributeSort": [
"method",
"accept-charset",
"type",
"for",
"name",
"href",
"itemscope",
"itemprop",
"src",
"spx-",
"data-src",
"alt",
"loading",
"title",
"id",
"class",
"aria-label",
"aria-hidden",
"data-controller",
"height",
"width"
],
"forceAttribute": 2,
"delimiterTerminus": "inline",
"ignoreJS": false,
"preserveText": false
},
"json": {
"braceAllman": true,
"arrayFormat": "indent",
"objectIndent": "indent"
},
"style": {
"correct": true,
"commentNewline": true,
"commentIndent": true,
"noLeadZero": true,
"quoteConvert": "single",
"classPadding": true
},
"script": {
"correct": true,
"arrayFormat": "indent",
"objectIndent": "indent",
"methodChain": 3,
"caseSpace": true,
"quoteConvert": "single",
"elseNewline": true,
"functionNameSpace": true,
"functionSpace": true,
"commentNewline": true,
"noCaseIndent": true
}
}
}
42 changes: 33 additions & 9 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@
"**/CVS": true,
"**/.DS_Store": true,
"**/Thumbs.db": true,
"**/LICENSE":true,
//"**/node_modules": true
"**/LICENSE": true,
//"**/node_modules": true
},
"workbench.colorCustomizations": {
"window.inactiveBorder": "#00aeff",
Expand All @@ -81,6 +81,31 @@
}
]
},
"(:{3,4})": {
"regexFlags": "g",
"decorations": [
{
"color": "#E91E63"
}
]
},
"(?<=:{3,4}\\s)(grid|rule|note)": {
"decorations": [
{
"color": "#81D4FA",
"fontWeight": "900"
}
]
},
"(?<=:{3,4}[a-z ]+)([colsxmd0-9-]+)": {
"regexFlags": "g",
"decorations": [
{
"color": "#91EBC2",
"isWholeLine": true
}
]
},
"(```)(json)(\\:)(rules)(\\@)?(range)?(\\:)?(\\w+)?": {
"regexFlags": "g",
"decorations": [
Expand Down Expand Up @@ -128,13 +153,13 @@
}
},
"liquid.engine": "11ty",
"liquid.config.method": "workspace",
"liquid.format.ignore": [
"tests/samples/**"
],
"liquid.files.snippets": [
"./docs/src/views/include/*"
],
"liquid.format.rules": {
"wrap": 120,
"wrapFraction": 80,
"liquid": {
"commentIndent": true,
"commentNewline": true,
Expand All @@ -144,20 +169,19 @@
"normalizeSpacing": true,
"preserveComment": false,
"quoteConvert": "single",
"valueForce": "intent"
"forceFilter": 3,
"forceArgument": 4
},
"markup": {
"quoteConvert": "double",
"commentNewline": true,
"forceIndent": true,
"ignoreJS": false,
"attributeSortList": [],
"forceAttribute": 2
}
},
"[liquid]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "sissel.shopify-liquid"
}

}
}
Loading

0 comments on commit 67f04c7

Please sign in to comment.