Skip to content

Commit b5e80eb

Browse files
refactor: simplify most {...} globs in catalog (SchemaStore#4590)
* refactor: simplify most {...} globs in catalog Some implementations such as yaml-language-server do not support them at time of writing. redhat-developer/yaml-language-server#422 * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent b238b23 commit b5e80eb

File tree

1 file changed

+24
-4
lines changed

1 file changed

+24
-4
lines changed

src/api/json/catalog.json

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3293,7 +3293,22 @@
32933293
"name": "Lefthook",
32943294
"description": "Fast and powerful Git hooks manager",
32953295
"fileMatch": [
3296-
"{.lefthook,lefthook,lefthook-local,.lefthook-local}.{yml,yaml,toml,json}"
3296+
".lefthook.json",
3297+
".lefthook.toml",
3298+
".lefthook.yaml",
3299+
".lefthook.yml",
3300+
".lefthook-local.json",
3301+
".lefthook-local.toml",
3302+
".lefthook-local.yaml",
3303+
".lefthook-local.yml",
3304+
"lefthook.json",
3305+
"lefthook.toml",
3306+
"lefthook.yaml",
3307+
"lefthook.yml",
3308+
"lefthook-local.json",
3309+
"lefthook-local.toml",
3310+
"lefthook-local.yaml",
3311+
"lefthook-local.yml"
32973312
],
32983313
"url": "https://raw.githubusercontent.com/evilmartians/lefthook/master/schema.json"
32993314
},
@@ -5942,7 +5957,12 @@
59425957
{
59435958
"name": "mirrord config",
59445959
"description": "mirrord",
5945-
"fileMatch": ["*.mirrord.{toml,json,yaml,yml}"],
5960+
"fileMatch": [
5961+
"*.mirrord.json",
5962+
"*.mirrord.toml",
5963+
"*.mirrord.yaml",
5964+
"*.mirrord.yml"
5965+
],
59465966
"url": "https://raw.githubusercontent.com/metalbear-co/mirrord/main/mirrord-schema.json"
59475967
},
59485968
{
@@ -7729,7 +7749,7 @@
77297749
{
77307750
"name": "Viash Component Config",
77317751
"description": "Viash component config file",
7732-
"fileMatch": ["*.vsh.{yml,yaml}"],
7752+
"fileMatch": ["*.vsh.yaml", "*.vsh.yml"],
77337753
"url": "https://raw.githubusercontent.com/viash-io/viash-schemas/refs/heads/main/json_schemas/latest/config.schema.json",
77347754
"versions": {
77357755
"0.7.5": "https://raw.githubusercontent.com/viash-io/viash-schemas/refs/heads/main/json_schemas/0.7.5/config.schema.json",
@@ -7748,7 +7768,7 @@
77487768
{
77497769
"name": "Viash Package Config",
77507770
"description": "Viash package config file",
7751-
"fileMatch": ["_viash.{yml,yaml}"],
7771+
"fileMatch": ["_viash.yaml", "_viash.yml"],
77527772
"url": "https://raw.githubusercontent.com/viash-io/viash-schemas/refs/heads/main/json_schemas/latest/package.schema.json",
77537773
"versions": {
77547774
"0.7.5": "https://raw.githubusercontent.com/viash-io/viash-schemas/refs/heads/main/json_schemas/0.7.5/package.schema.json",

0 commit comments

Comments
 (0)