Skip to content
Merged
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
11 changes: 11 additions & 0 deletions src/schemas/json/ruff.json
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,13 @@
"$ref": "#/definitions/RuleSelector"
}
},
"extension": {
"description": "A mapping of custom file extensions to known file types (overridden\nby the `--extension` command-line flag).\n\nSupported file types include `python`, `pyi`, `ipynb`, and `markdown`.",
"type": ["object", "null"],
"additionalProperties": {
"$ref": "#/definitions/Language"
}
},
"external": {
"description": "A list of rule codes or prefixes that are unsupported by Ruff, but should be\npreserved when (e.g.) validating `# noqa` directives. Useful for\nretaining `# noqa` directives that cover plugins not yet implemented\nby Ruff.",
"type": ["array", "null"],
Expand Down Expand Up @@ -1600,6 +1607,10 @@
},
"additionalProperties": false
},
"Language": {
"type": "string",
"enum": ["python", "pyi", "ipynb", "markdown"]
},
"LineEnding": {
"oneOf": [
{
Expand Down