-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
89 lines (89 loc) · 3.24 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": "lizard-linter",
"main": "./lib/lizard-linter",
"version": "0.5.2",
"description": "Excecutes lizard cyclomatic complexity tool",
"keywords": [],
"repository": "https://github.com/FlorianBuhl/lizard-linter.git",
"license": "MIT",
"engines": {
"atom": ">=1.0.0 <2.0.0"
},
"dependencies": {
"atom-linter": "^10.0.0",
"dependency-check": "^4.1.0"
},
"consumedServices": {
"linter-indie": {
"versions": {
"2.0.0": "consumeIndie"
}
}
},
"devDependencies": {
"check-dependencies": "^1.1.0",
"eslint": "^7.11.0",
"eslint-config-airbnb-base": "^14.2.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jasmine": "^4.1.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1"
},
"configSchema": {
"ExecuteLintOnFileOpenEvent": {
"type": "boolean",
"default": "true",
"description": "If enabled the lint will be executed when a file is opened in atom."
},
"ExecuteLintOnFileSaveEvent": {
"type": "boolean",
"default": "true",
"description": "If enabled the lint will be executed when a file is saved."
},
"thresholdCyclomaticComplexity": {
"type": "integer",
"default": "15",
"description": "Threshold for cyclomatic complexity. Every cyclomatic complexity number above will be reported as warning. If it is set to 0 then no check will be done at all.",
"order": 1
},
"thresholdNumberOfParameters": {
"type": "integer",
"default": "5",
"description": "Threshold for maximum number of parameters. Every function with more parameters will be reported as warning. If it is set to 0 then no check will be done at all",
"order": 1
},
"thresholdLinesOfCodeWithoutComments": {
"type": "integer",
"default": "1000",
"description": "Threshold for maximum number of lines of code in a function without comments. Every function with more lines of code will be reported as warning. If it is set to 0 then no check will be done at all.",
"order": 1
},
"thresholdNumberOfTokens": {
"type": "integer",
"default": "8000",
"description": "Threshold for maximum number of tokens in a function. Every function with more tokens will be reported as warning. If it is set to 0 then no check will be done at all.",
"order": 1
},
"modifiedCyclomaticComplexityCalculation": {
"type": "boolean",
"default": "false",
"description": "Modified cyclomatic complexity calculation. If enabled a switch case is incrementing the cyclomatic complexity number only of 1. If disabled the incrementation is depending on the number of cases.",
"order": 1
},
"excludeFiles": {
"type": "string",
"default": "",
"description": "Exclude files"
},
"excludeFileExtensions": {
"type": "string",
"default": "",
"description": "Exclude fileExtensions"
},
"numberOfWorkingThreads": {
"type": "integer",
"default": "4",
"description": "number of working threads when lizard python tool is executed. Using a bigger number can fully utilize the CPU and is often faster."
}
}
}