{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/creatomic/latest.json",
  "title": "JSON schema for Creatomic configuration file",
  "x-lintel": {
    "source": "https://www.schemastore.org/creatomic.json",
    "sourceSha256": "1e3ed0017179f6d286aa1fb324381a0a6d897b4ef331f8833b94fb2aa6f45d9c",
    "fileMatch": [
      ".creatomic"
    ]
  },
  "type": "object",
  "properties": {
    "tslint.enable": {
      "type": "boolean",
      "default": true,
      "description": "Control whether tslint is enabled for TypeScript files or not."
    },
    "tslint.jsEnable": {
      "type": "boolean",
      "default": false,
      "description": "Control whether tslint is enabled for JavaScript files or not.",
      "scope": "resource"
    },
    "tslint.rulesDirectory": {
      "type": [
        "string",
        "array"
      ],
      "items": {
        "type": "string"
      },
      "description": "An additional rules directory",
      "default": "",
      "scope": "resource"
    },
    "tslint.validateWithDefaultConfig": {
      "type": "boolean",
      "description": "Validate a file when there is only a default tslint configuration is found",
      "default": false,
      "scope": "resource"
    },
    "tslint.configFile": {
      "type": "string",
      "description": "The path to the rules configuration file",
      "default": "",
      "scope": "resource"
    },
    "tslint.ignoreDefinitionFiles": {
      "type": "boolean",
      "default": true,
      "description": "Control if TypeScript definition files should be ignored",
      "scope": "resource"
    },
    "tslint.exclude": {
      "type": [
        "string",
        "array"
      ],
      "items": {
        "type": "string"
      },
      "description": "Configure glob patterns of file paths to exclude from linting",
      "scope": "resource"
    },
    "tslint.run": {
      "type": "string",
      "enum": [
        "onSave",
        "onType"
      ],
      "default": "onType",
      "description": "Run the linter on save (onSave) or on type (onType)",
      "scope": "window"
    },
    "tslint.nodePath": {
      "type": "string",
      "default": "",
      "description": "A path added to NODE_PATH when resolving the tslint module.",
      "scope": "resource"
    },
    "tslint.autoFixOnSave": {
      "type": [
        "boolean",
        "array"
      ],
      "items": {
        "type": "string"
      },
      "default": false,
      "description": "Turns auto fix on save on or off, or defines which rules (e.g. `no-var-keyword`) to auto fix on save.",
      "scope": "resource"
    },
    "tslint.alwaysShowRuleFailuresAsWarnings": {
      "type": "boolean",
      "default": false,
      "description": "Always show rule failures as warnings, independent of the tslint configuration.",
      "scope": "resource"
    }
  },
  "id": "https://json.schemastore.org/creatomic.json"
}
