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
25 changes: 24 additions & 1 deletion src/api/json/catalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -5174,6 +5174,18 @@
"fileMatch": [".map.yml", ".map.yaml", ".map.json"],
"url": "https://www.schemastore.org/mapehr.json"
},
{
"name": "mcdreforged.plugin.json",
"description": "MCDReforged multi-file plugin metadata file",
"fileMatch": ["mcdreforged.plugin.json"],
"url": "https://raw.githubusercontent.com/MCDReforged/schema/master/schemas/mcdreforged-plugin-metadata.json"
},
{
"name": "mcdreforged.linked_directory_plugin.json",
"description": "MCDReforged linked directory plugin configuration file",
"fileMatch": ["mcdreforged.linked_directory_plugin.json"],
"url": "https://raw.githubusercontent.com/MCDReforged/schema/master/schemas/mcdreforged-link-directory-plugin.json"
},
{
"name": "A micro editor config",
"description": "A micro editor config",
Expand Down Expand Up @@ -6574,6 +6586,17 @@
"fileMatch": ["alertmanager.yml", "alertmanager.yaml"],
"url": "https://www.schemastore.org/prometheus-alertmanager.json"
},
{
"name": "Promtail",
"description": "An agent which ships the contents of local logs to a private Grafana Loki instance or Grafana Cloud",
"fileMatch": [
"promtail.yaml",
"promtail.yml",
"promtail-config.yaml",
"promtail-config.yml"
],
"url": "https://www.schemastore.org/promtail.json"
},
{
"name": "proxies.json",
"description": "Azure Function Proxies proxies.json files",
Expand Down Expand Up @@ -9208,7 +9231,7 @@
{
"name": "djlint",
"description": "djLint configuration file",
"fileMatch": [".djlintrc"],
"fileMatch": [".djlintrc", "djlint.toml", ".djlint.toml"],
"url": "https://www.schemastore.org/djlint.json"
},
{
Expand Down
3 changes: 0 additions & 3 deletions src/negative_test/djlint/invalid-profile.json

This file was deleted.

1 change: 1 addition & 0 deletions src/schema-validation.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,7 @@
// Add JSON schema to skiptest[] to skip the whole validation process
// Below this line are the 'empty' schemas that should not be validated and also redirect to an external schema via a single $ref
"block.json",
"djlint.json",
"golangci-lint.json",
"haxelib.json",
"ksp-avc.json",
Expand Down
135 changes: 1 addition & 134 deletions src/schemas/json/djlint.json
Original file line number Diff line number Diff line change
@@ -1,137 +1,4 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://json.schemastore.org/djlint.json",
"$comment": "Source: https://www.djlint.com/docs/configuration",
"additionalProperties": false,
"default": {
"format_attribute_template_tags": false,
"profile": "html"
},
"definitions": {
"css-beautify": {
"type": "object"
},
"js-beautify": {
"type": "object"
}
},
"description": "JSON schema fcor djLint's configuration file",
"properties": {
"$schema": {
"type": "string"
},
"blank_line_after_tag": {
"type": "string"
},
"blank_line_before_tag": {
"type": "string"
},
"close_void_tags": {
"type": "boolean"
},
"css": {
"$ref": "#/definitions/css-beautify"
},
"custom_blocks": {
"type": "string"
},
"custom_html": {
"type": "string"
},
"exclude": {
"type": "string"
},
"extend_exclude": {
"type": "string"
},
"extension": {
"type": "string"
},
"files": {
"items": {
"type": "string"
},
"type": "array"
},
"format_attribute_template_tags": {
"type": "boolean"
},
"format_css": {
"type": "boolean"
},
"format_js": {
"type": "boolean"
},
"ignore": {
"type": "string"
},
"ignore_blocks": {
"type": "string"
},
"ignore_case": {
"type": "boolean"
},
"include": {
"type": "string"
},
"indent": {
"type": "number"
},
"js": {
"$ref": "#/definitions/js-beautify"
},
"line_break_after_multiline_tag": {
"type": "boolean"
},
"linter_output_format": {
"examples": ["{filename}:{line}: {code} {message} {match}"],
"type": "string"
},
"max_attribute_length": {
"type": "number"
},
"max_blank_lines": {
"type": "number"
},
"max_line_length": {
"type": "number"
},
"no_function_formatting": {
"type": "boolean"
},
"no_line_after_yaml": {
"type": "boolean"
},
"no_set_formatting": {
"type": "boolean"
},
"per-file-ignores": {
"type": "object"
},
"preserve_blank_lines": {
"type": "boolean"
},
"preserve_leading_space": {
"type": "boolean"
},
"profile": {
"enum": [
"html",
"django",
"jinja",
"nunjucks",
"handlebars",
"golang",
"angular"
]
},
"require_pragma": {
"type": "boolean"
},
"use_gitignore": {
"type": "boolean"
}
},
"title": "djlint schema",
"type": "object"
"$ref": "https://djlint.com/schema/djlint.json"
}
Loading
Loading