forked from NikolajLJO/line-length-checker-vscode
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
86 lines (86 loc) · 2.04 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
{
"name": "line-length-checker-vscode",
"displayName": "Line Length Checker",
"description": "Highlights a line when it exceeds a certain length",
"version": "1.0.0",
"publisher": "SUPERTSY5",
"repository": {
"type": "git",
"url": "https://github.com/supertsy5/line-length-checker-vscode.git"
},
"engines": {
"vscode": "^1.52.0"
},
"categories": [
"Linters"
],
"activationEvents": [
"onFileSystem:file",
"onFileSystem:ssh",
"onFileSystem:sftp"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "line-length-checker.reload",
"title": "Line Length Checker: Reload"
}
],
"configuration": {
"type": "object",
"title": "Line Length Checker",
"properties": {
"line-length-checker.lineLength": {
"type": "number",
"order": 0,
"default": 79,
"description":
"Above what line length should we annoy you?"
},
"line-length-checker.blacklist": {
"type": "array",
"default": [
"node_modules/**"
],
"description": "These files will be skipped."
},
"line-length-checker.workspaceOnly": {
"type": "boolean",
"default": true,
"description":
"Check only files in the workspace folders"
},
"line-length-checker.level": {
"type": "string",
"default": "Info",
"enum": ["Error", "Warn", "Info", "Hint"],
"description": "The severity of diagnostics."
}
}
}
},
"scripts": {
"pack": "npx vsce package",
"publish": "npx vsce publish",
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"lint": "eslint src --ext ts",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^7.1.3",
"@types/mocha": "^8.0.0",
"@types/node": "^12.11.7",
"@types/vscode": "~1.52.0",
"@typescript-eslint/eslint-plugin": "^4.1.1",
"@typescript-eslint/parser": "^4.1.1",
"eslint": "^7.9.0",
"glob": "^7.1.6",
"mocha": "^8.1.3",
"typescript": "^4.0.2",
"vscode-test": "^1.4.0"
}
}