forked from JustusRijke/Cppcheck-Lite
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
111 lines (111 loc) · 3 KB
/
package.json
File metadata and controls
111 lines (111 loc) · 3 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
{
"name": "cppcheck-lite",
"displayName": "Cppcheck Lite",
"description": "A minimalistic VS Code extension that runs cppcheck on C/C++ files upon save and shows issues in the Problems panel.",
"version": "1.3.1",
"engines": {
"vscode": "^1.96.0"
},
"author": "Justus Rijke <justusrijke@gmail.com>",
"repository": {
"type": "git",
"url": "https://github.com/JustusRijke/Cppcheck-Lite.git"
},
"publisher": "JustusRijke",
"license": "MIT",
"keywords": [
"cppcheck",
"linting",
"c",
"c++",
"analysis",
"diagnostic",
"linter"
],
"categories": [
"Linters"
],
"icon": "images/icon.png",
"activationEvents": [
"onLanguage:cpp",
"onLanguage:c",
"onLanguage:c++"
],
"main": "./out/extension.js",
"contributes": {
"configuration": [
{
"title": "Cppcheck Lite (General)",
"order": 1,
"properties": {
"cppcheck-lite.enable": {
"type": "boolean",
"default": true,
"description": "Enable or disable the Cppcheck Lite extension."
},
"cppcheck-lite.minSeverity": {
"type": "string",
"enum": [
"info",
"warning",
"error"
],
"default": "info",
"description": "Minimum severity of issues to report (info, warning, or error)."
},
"cppcheck-lite.standard": {
"type": "string",
"enum": [
"<none>",
"c89",
"c99",
"c11",
"c++03",
"c++11",
"c++14",
"c++17",
"c++20"
],
"default": "c++20",
"description": "C/C++ standard to use for cppcheck (`--std=<id>`). Select `<none>` to specify it in `cppcheck-lite.arguments` or let `cppcheck` use its default setting."
}
}
},
{
"title": "Cppcheck Lite (Advanced)",
"order": 2,
"properties": {
"cppcheck-lite.path": {
"type": "string",
"default": "",
"description": "Path to the cppcheck executable. If empty, uses 'cppcheck' from the system PATH."
},
"cppcheck-lite.arguments": {
"type": "string",
"default": "",
"description": "Additional command line arguments for cppcheck."
}
}
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src",
"test": "vscode-test"
},
"devDependencies": {
"@types/vscode": "^1.96.0",
"@types/mocha": "^10.0.10",
"@types/node": "20.x",
"@typescript-eslint/eslint-plugin": "^8.17.0",
"@typescript-eslint/parser": "^8.17.0",
"eslint": "^9.16.0",
"typescript": "^5.7.2",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-electron": "^2.4.1"
}
}