This repository has been archived by the owner on Jan 15, 2022. It is now read-only.
forked from microsoft/vscode-typescript-tslint-plugin
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
168 lines (168 loc) · 5.41 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
{
"name": "vscode-typescript-tslint-plugin",
"version": "1.2.2",
"private": true,
"displayName": "TSLint",
"description": "TSLint support for Visual Studio Code",
"publisher": "ms-vscode",
"icon": "docs/icon.png",
"license": "MIT",
"galleryBanner": {
"color": "#fcfcfc",
"theme": "light"
},
"repository": {
"url": "https://github.com/Microsoft/vscode-typescript-tslint-plugin.git"
},
"bugs": {
"url": "https://github.com/Microsoft/vscode-typescript-tslint-plugin/issues"
},
"categories": [
"Programming Languages"
],
"keywords": [
"tslint",
"typescript",
"lint",
"ts",
"linters"
],
"engines": {
"vscode": "^1.32.0"
},
"activationEvents": [
"onLanguage:javascript",
"onLanguage:javascriptreact",
"onLanguage:typescript",
"onLanguage:typescriptreact"
],
"main": "./out/index.js",
"contributes": {
"jsonValidation": [
{
"fileMatch": "tslint.json",
"url": "http://json.schemastore.org/tslint"
},
{
"fileMatch": "jsconfig*.json",
"url": "./schemas/tsconfig.schema.json"
},
{
"fileMatch": "tsconfig*.json",
"url": "./schemas/tsconfig.schema.json"
}
],
"problemPatterns": [
{
"name": "tslint4",
"regexp": "^(\\(\\S*\\)\\s+)?(\\S.*)\\[(\\d+), (\\d+)\\]:\\s+(.*)$",
"file": 2,
"line": 3,
"column": 4,
"message": 5
},
{
"name": "tslint5",
"regexp": "^(WARNING|ERROR):(\\s+\\(\\S*\\))?\\s+(\\S.*)(:|\\[)(\\d+)(:|, )(\\d+)(\\]:\\s+|\\s+-\\s+)(.*)$",
"severity": 1,
"file": 3,
"line": 5,
"column": 7,
"message": 9
}
],
"problemMatchers": [
{
"name": "tslint4",
"label": "tslint (version 4) warnings",
"owner": "tslint",
"source": "tslint",
"applyTo": "closedDocuments",
"fileLocation": "absolute",
"severity": "warning",
"pattern": "$tslint4"
},
{
"name": "tslint5",
"owner": "tslint",
"source": "tslint",
"label": "tslint (version 5) warnings",
"applyTo": "closedDocuments",
"fileLocation": "absolute",
"severity": "warning",
"pattern": "$tslint5"
}
],
"typescriptServerPlugins": [
{
"name": "typescript-tslint-plugin",
"enableForWorkspaceTypeScriptVersions": true
}
],
"configuration": {
"type": "object",
"title": "TSLint",
"properties": {
"tslint.jsEnable": {
"type": "boolean",
"description": "Control whether tslint is enabled for JavaScript files or not."
},
"tslint.configFile": {
"type": "string",
"description": "The path to the rules configuration file"
},
"tslint.ignoreDefinitionFiles": {
"type": "boolean",
"description": "Control if TypeScript definition files should be ignored."
},
"tslint.exclude": {
"description": "A glob or an array of globs. Any file matching these globs will not be linted.",
"anyOf": [
{
"type": "string"
},
{
"type": "array",
"items": {
"type": "string"
}
}
]
},
"tslint.alwaysShowRuleFailuresAsWarnings": {
"type": "boolean",
"description": "Always show rule failures as warnings, independent of the tslint configuration.",
"default": true
},
"tslint.suppressWhileTypeErrorsPresent": {
"type": "boolean",
"description": "Always show rule failures as warnings, independent of the tslint configuration."
},
"tslint.packageManager": {
"type": "string",
"enum": [
"npm",
"pnpm",
"yarn"
],
"default": "npm",
"description": "The package manager you use to install node modules."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -w -p ./",
"lint": "tslint -c tslint.json -p ."
},
"dependencies": {
"typescript-tslint-plugin": "0.5.4"
},
"devDependencies": {
"@types/vscode": "^1.32.0",
"tslint": "^5.17.0",
"typescript": "^3.4.5"
}
}