{
  "$comment": "Source: https://www.djlint.com/docs/configuration",
  "$id": "https://json.schemastore.org/djlint.json",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "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"
}
