-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
89 lines (89 loc) · 2.1 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
{
"name": "perlcritic",
"description": "A Language Server For The Perl Programming Language",
"author": "sfodje",
"license": "MIT",
"version": "1.3.8",
"repository": {
"type": "git",
"url": "https://github.com/sfodje/perlcritic"
},
"publisher": "sfodje",
"categories": [
"Linters",
"Other"
],
"activationEvents": [
"onLanguage:perl"
],
"engines": {
"vscode": "^1.57.0"
},
"main": "./client/out/extension",
"contributes": {
"configuration": {
"type": "object",
"title": "Perl::Critic Configuration",
"properties": {
"perlcritic.executable": {
"type": "string",
"default": "perlcritic",
"description": "Path to 'linter' executable"
},
"perlcritic.severity": {
"type": "string",
"enum": [
"brutal",
"cruel",
"harsh",
"stern",
"gentle"
],
"default": "gentle",
"description": "Name of perlcritic level of severity"
},
"perlcritic.additionalArguments": {
"type": "array",
"default": [],
"description": "Additional arguments for Perl::Critic e.g. [--single-policy=xxxxx', --top=20']"
},
"perlcritic.onSave": {
"type": "boolean",
"default": false,
"description": "Only critique on save"
},
"perlcritic.maxNumberOfProblems": {
"type": "number",
"default": 10,
"description": "Controls the maximum number of problems produced by the server."
},
"perlcritic.trace.server": {
"type": "string",
"enum": [
"off",
"messages",
"verbose"
],
"default": "off",
"description": "Traces the communication between VSCode and the perlcritic service."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -b",
"watch": "tsc -b -w",
"postinstall": "cd client && npm install && cd ../server && npm install && cd ..",
"test": "sh ./scripts/e2e.sh"
},
"devDependencies": {
"@types/mocha": "^8.2.2",
"@types/node": "^12.12.0",
"@typescript-eslint/eslint-plugin": "^4.23.0",
"@typescript-eslint/parser": "^4.23.0",
"eslint": "^7.26.0",
"mocha": "^9.2.2",
"typescript": "^4.3.2"
}
}