-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
125 lines (125 loc) · 3.88 KB
/
package.json
File metadata and controls
125 lines (125 loc) · 3.88 KB
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
{
"name": "gitgerbil",
"displayName": "GitGerbil",
"description": "Scan your project for potential secrets, sensitive information, and less-than-ideal files that you probably shouldn't commit.",
"version": "0.1.6",
"publisher": "KennethNg",
"icon": "./src/assets/icon.png",
"repository": {
"url": "https://github.com/kennething/gitgerbil"
},
"engines": {
"vscode": "^1.90.0"
},
"categories": [
"Linters"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./out/extension/index.js",
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"prettier-check": "prettier . --check",
"unit-test": "mocha ./out/tests/unit",
"integration-test": "node ./out/tests/runTests.js",
"pretest": "npm run compile",
"test": "npm run unit-test && npm run integration-test"
},
"devDependencies": {
"@types/mocha": "^10.0.10",
"@types/node": "25.x",
"@types/vscode": "^1.90.0",
"@vscode/test-electron": "^2.5.2",
"mocha": "^11.7.5",
"prettier": "^3.8.1",
"typescript": "^5.8.3"
},
"extensionDependencies": [
"vscode.git"
],
"contributes": {
"configuration": {
"type": "object",
"title": "GitGerbil Settings",
"properties": {
"gitgerbil.scannedFileTypes": {
"type": "array",
"default": [
"ts",
"js",
"jsx",
"tsx",
"vue",
"svelte",
"py",
"rb",
"go",
"java",
"php",
"cs",
"cpp",
"c",
"h",
"rs",
"html",
"css",
"scss",
"less",
"json",
"yaml",
"yml",
"md",
"txt",
"toml"
],
"description": "List of file extensions that will be scanned if any scanning options are enabled. Dotfiles are automatically included and do not need to be specified here."
},
"gitgerbil.enableFilePathScanning": {
"type": "boolean",
"default": true,
"description": "Enable or disable file path scanning in tracked git files. If enabled, a warning will be shown in files that are tracked, but probably shouldn't be."
},
"gitgerbil.enableSecretScanning": {
"type": "boolean",
"default": true,
"description": "Enable or disable secret scanning in tracked git files. If enabled, errors will be shown where potential secrets are found."
},
"gitgerbil.enableStrictSecretScanning": {
"type": "boolean",
"default": true,
"description": "Enable or disable strict secret scanning in tracked git files. If enabled, secret scanning will only run if potential secret indicators are found in the content. Does nothing if secret scanning is disabled."
},
"gitgerbil.enableCommentScanning": {
"type": "boolean",
"default": true,
"description": "Enable or disable comment scanning in tracked git files. If enabled, info hints will be shown where TODOs, FIXMEs, and other common comment tags are found."
}
}
},
"commands": [
{
"command": "gitgerbil.setScannedFileTypes",
"title": "GitGerbil: Set Scanned File Types"
},
{
"command": "gitgerbil.toggleFilePathScanning",
"title": "GitGerbil: Toggle File Path Scanning"
},
{
"command": "gitgerbil.toggleSecretScanning",
"title": "GitGerbil: Toggle Secret Scanning"
},
{
"command": "gitgerbil.toggleStrictSecretScanning",
"title": "GitGerbil: Toggle Strict Secret Scanning"
},
{
"command": "gitgerbil.toggleCommentScanning",
"title": "GitGerbil: Toggle Comment Scanning"
}
]
}
}