Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 18 additions & 1 deletion src/api/json/catalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -1095,7 +1095,7 @@
{
"name": "Catalog Info Backstage",
"description": "Backstage Catalog Info",
"fileMatch": ["catalog-info.yaml"],
"fileMatch": ["catalog-info.yaml", "*.catalog-info.yaml"],
"url": "https://www.schemastore.org/catalog-info.json"
},
{
Expand Down Expand Up @@ -5638,6 +5638,12 @@
"fileMatch": ["stella.yml", "stella.json"],
"url": "https://raw.githubusercontent.com/Shravan-1908/stellapy/master/schema.json"
},
{
"name": "Streamlit configuration file",
"description": "Streamlit configuration file",
"fileMatch": ["**/.streamlit/config.toml"],
"url": "https://www.schemastore.org/streamlit-config.json"
},
{
"name": "stripe-app.json",
"description": "Stripe Apps manifest file",
Expand Down Expand Up @@ -6446,6 +6452,17 @@
],
"url": "https://www.schemastore.org/lintstagedrc.schema.json"
},
{
"name": ".mdxlintrc",
"description": "An mdxlint configuration file",
"fileMatch": [
".mdxlintrc",
".mdxlintrc.json",
".mdxlintrc.yaml",
".mdxlintrc.yml"
],
"url": "https://www.schemastore.org/mdxlintrc.json"
},
{
"name": "mirrord config",
"description": "mirrord",
Expand Down
1 change: 1 addition & 0 deletions src/schema-validation.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@
"lgtm.json",
"libman.json",
"lintstagedrc.schema.json",
"mdxlintrc.json",
"metricshub.json",
"metricshub-connector.json",
"minecraft-advancement.json",
Expand Down
132 changes: 132 additions & 0 deletions src/schemas/json/mdxlintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"id": "https://json.schemastore.org/mdxlintrc.json",
"properties": {
"plugins": {
"description": "The plugins field, related to plugins in options, has either an array of plugin names (or paths) or plugin–options tuples, or an object mapping plugins to their options.\nPlugin options can be false, which specifies that a plugin should not be used. In all other cases, they are treated as an object, and merged by the cascade. Thus, it's possible to specify part of the options from one configuration file, and overwrite or extend it from another file.",
"oneOf": [
{
"type": "array",
"items": {
"oneOf": [
{
"type": "string"
},
{
"type": "array",
"additionalItems": true,
"items": [
{
"type": "string"
}
]
}
]
}
},
{
"type": "object"
}
]
},
"settings": {
"type": "object",
"additionalProperties": false,
"properties": {
"bullet": {
"description": "Marker to use to for bullets of items in unordered lists.",
"enum": ["*", "+", "-"],
"default": "*"
},
"closeAtx": {
"description": "Whether to add the same number of number signs (#) at the end of an ATX heading as the opening sequence.",
"type": "boolean",
"default": false
},
"emphasis": {
"description": "Marker to use to serialize emphasis.",
"enum": ["*", "_"],
"default": "*"
},
"fence": {
"description": "Marker to use to serialize fenced code.",
"enum": ["`", "~"],
"default": "`"
},
"fences": {
"description": "Whether to use fenced code always. The default is to fenced code if there is a language defined, if the code is empty, or if it starts or ends in empty lines",
"type": "boolean",
"default": false
},
"incrementListMarker": {
"description": "Whether to increment the value of bullets of items in ordered lists.",
"type": "boolean",
"default": true
},
"listItemIndent": {
"description": "Whether to indent the content of list items with the size of the bullet plus one space (when 'one') or a tab stop ('tab'), or depending on the item and its parent list ('mixed', uses 'one' if the item and list are tight and 'tab' otherwise)",
"enum": ["one", "tab", "mixed"],
"default": "tab"
},
"printWidth": {
"description": "Try and wrap syntax at this width. When set to a finite number (say, 80), the formatter will print attributes on separate lines when a tag doesn’t fit on one line. The normal behavior is to print attributes with spaces between them instead of line endings.",
"type": "integer"
},
"quote": {
"description": "Marker to use to serialize titles and attribute values.",
"enum": ["\"", "'"],
"default": "\""
},
"quoteSmart": {
"description": "Use the other quote if that results in less bytes.",
"type": "boolean",
"default": false
},
"resourceLink": {
"description": "Whether to use resource links ([text](url)) always. The default is to use autolinks (<https://example.com>) when possible.",
"type": "boolean",
"default": false
},
"rule": {
"description": "Marker to use for thematic breaks.",
"enum": ["*", "-", "_"],
"default": "*"
},
"ruleRepetition": {
"description": "Number of markers to use for thematic breaks.",
"type": "integer",
"minimum": 3,
"default": 3
},
"ruleSpaces": {
"description": "Whether to add spaces between markers in thematic breaks.",
"type": "boolean",
"default": false
},
"setext": {
"description": "Whether to use setext headings when possible. Setext headings are not possible for headings with a rank more than 2 or when they're empty.",
"type": "boolean",
"default": false
},
"strong": {
"description": "Marker to use to serialize strong.",
"enum": ["*", "_"],
"default": "_"
},
"tightDefinitions": {
"description": "Whether to join definitions w/o a blank line.",
"type": "boolean",
"default": false
},
"tightSelfClosing": {
"description": "do not use an extra space when closing self-closing elements: <img/> instead of <img />",
"type": "boolean",
"default": false
}
}
}
},
"title": "JSON schema for .mdxlintrc",
"type": "object"
}
Loading