forked from alesiong/clang-tidy-linter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
111 lines (111 loc) · 3.63 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
{
"name": "clang-tidy-linter",
"displayName": "Clang-tidy Linter",
"description": "A Visual Studio Code extension to lint code by clang-tidy.",
"version": "0.0.3",
"publisher": "alesiong",
"engines": {
"vscode": "^1.24.0"
},
"homepage": "https://github.com/alesiong/clang-tidy-linter/blob/master/README.md",
"repository": {
"type": "git",
"url": "https://github.com/alesiong/clang-tidy-linter"
},
"bugs": {
"url": "https://github.com/alesiong/clang-tidy-linter/issues"
},
"license": "SEE LICENSE IN LICENSE",
"categories": [
"Linters"
],
"keywords": [
"clang-tidy",
"C",
"C++",
"linter"
],
"preview": true,
"main": "./out/extension",
"activationEvents": [
"onLanguage:cpp",
"onLanguage:c"
],
"contributes": {
"configuration": {
"type": "object",
"title": "Clang-tidy linter configuration",
"properties": {
"clangTidy.executable": {
"type": "string",
"default": "clang-tidy",
"description": "Path to the clang-tidy executable"
},
"clangTidy.systemIncludePath": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"description": "Extra system include paths to pass to the compiler (-extra-arg=-isystem). Use `echo |clang -x c++ -v -fsyntax-only -` to check your default include path"
},
"clangTidy.lintLanguages": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"c",
"cpp"
],
"description": "Language type to enable clang-tidy linter"
},
"clangTidy.extraCompilerArgs": {
"type": "array",
"items": {
"type": "string"
},
"default": [
"-Weverything"
],
"description": "Extra arguments pass to compiler (-extra-arg=)"
},
"clangTidy.headerFilter": {
"type": "string",
"default": ".*",
"description": "Value for clang-tidy '-header-filter' command line argument"
},
"clangTidy.args": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"description": "Additional arguments to pass to clang-tidy"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "npm run compile && node ./node_modules/vscode/bin/test"
},
"devDependencies": {
"@types/js-yaml": "^3.11.1",
"@types/mocha": "^2.2.42",
"@types/node": "^7.0.43",
"tslint": "^5.8.0",
"typescript": "^3.2.2",
"vscode": "^1.1.33"
},
"dependencies": {
"js-yaml": "^3.13.1",
"url-parse": ">=1.4.3",
"vscode-languageclient": "^4.2.1",
"vscode-languageserver": "^4.2.1",
"vscode-uri": "^1.0.5"
}
}