{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "id": "https://json.schemastore.org/creatomic.json",
  "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"
    }
  },
  "title": "JSON schema for Creatomic configuration file",
  "type": "object"
}