Last change
on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
2.0 KB
|
Rev | Line | |
---|
[6a3a178] | 1 | {
|
---|
| 2 | "$schema": "http://json-schema.org/draft-07/schema",
|
---|
| 3 | "title": "TSlint Target",
|
---|
| 4 | "description": "TSlint target options for Build Facade.",
|
---|
| 5 | "type": "object",
|
---|
| 6 | "properties": {
|
---|
| 7 | "tslintConfig": {
|
---|
| 8 | "type": "string",
|
---|
| 9 | "description": "The name of the TSLint configuration file."
|
---|
| 10 | },
|
---|
| 11 | "tsConfig": {
|
---|
| 12 | "description": "The name of the TypeScript configuration file.",
|
---|
| 13 | "oneOf": [
|
---|
| 14 | { "type": "string" },
|
---|
| 15 | {
|
---|
| 16 | "type": "array",
|
---|
| 17 | "items": {
|
---|
| 18 | "type": "string"
|
---|
| 19 | }
|
---|
| 20 | }
|
---|
| 21 | ]
|
---|
| 22 | },
|
---|
| 23 | "fix": {
|
---|
| 24 | "type": "boolean",
|
---|
| 25 | "description": "Fixes linting errors (may overwrite linted files).",
|
---|
| 26 | "default": false
|
---|
| 27 | },
|
---|
| 28 | "typeCheck": {
|
---|
| 29 | "type": "boolean",
|
---|
| 30 | "description": "Controls the type check for linting.",
|
---|
| 31 | "default": false
|
---|
| 32 | },
|
---|
| 33 | "force": {
|
---|
| 34 | "type": "boolean",
|
---|
| 35 | "description": "Succeeds even if there was linting errors.",
|
---|
| 36 | "default": false
|
---|
| 37 | },
|
---|
| 38 | "silent": {
|
---|
| 39 | "type": "boolean",
|
---|
| 40 | "description": "Show output text.",
|
---|
| 41 | "default": false
|
---|
| 42 | },
|
---|
| 43 | "format": {
|
---|
| 44 | "type": "string",
|
---|
| 45 | "description": "Output format (prose, json, stylish, verbose, pmd, msbuild, checkstyle, vso, fileslist).",
|
---|
| 46 | "default": "stylish",
|
---|
| 47 | "anyOf": [
|
---|
| 48 | {
|
---|
| 49 | "enum": [
|
---|
| 50 | "checkstyle",
|
---|
| 51 | "codeFrame",
|
---|
| 52 | "filesList",
|
---|
| 53 | "json",
|
---|
| 54 | "junit",
|
---|
| 55 | "msbuild",
|
---|
| 56 | "pmd",
|
---|
| 57 | "prose",
|
---|
| 58 | "stylish",
|
---|
| 59 | "tap",
|
---|
| 60 | "verbose",
|
---|
| 61 | "vso"
|
---|
| 62 | ]
|
---|
| 63 | },
|
---|
| 64 | { "minLength": 1 }
|
---|
| 65 | ]
|
---|
| 66 | },
|
---|
| 67 | "exclude": {
|
---|
| 68 | "type": "array",
|
---|
| 69 | "description": "Files to exclude from linting.",
|
---|
| 70 | "default": [],
|
---|
| 71 | "items": {
|
---|
| 72 | "type": "string"
|
---|
| 73 | }
|
---|
| 74 | },
|
---|
| 75 | "files": {
|
---|
| 76 | "type": "array",
|
---|
| 77 | "description": "Files to include in linting.",
|
---|
| 78 | "default": [],
|
---|
| 79 | "items": {
|
---|
| 80 | "type": "string"
|
---|
| 81 | }
|
---|
| 82 | }
|
---|
| 83 | },
|
---|
| 84 | "additionalProperties": false,
|
---|
| 85 | "required": []
|
---|
| 86 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.