This repository has been archived by the owner on Aug 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
161 lines (161 loc) · 3.7 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
{
"name": "linter-phpmd",
"main": "./lib/main.js",
"private": true,
"version": "2.0.2",
"description": "Lint PHP on the fly, using phpmd",
"repository": {
"type": "git",
"url": "https://github.com/AtomLinter/linter-phpmd.git"
},
"license": "MIT",
"keywords": [
"lint",
"linter",
"phpmd",
"php"
],
"bugs": {
"url": "https://github.com/AtomLinter/linter-phpmd/issues"
},
"configSchema": {
"executablePath": {
"type": "string",
"default": "phpmd",
"description": "Enter the path to your phpmd executable.",
"order": 1
},
"autoExecutableSearch": {
"title": "Search for executables",
"type": "boolean",
"default": true,
"description": "Automatically search for `vendor/bin/phpmd` executable. Overrides the exectuable defined above.",
"order": 2
},
"rulesOrConfigFile": {
"type": "array",
"default": [
"cleancode",
"codesize",
"controversial",
"design",
"naming",
"unusedcode"
],
"items": {
"type": "string"
},
"description": "Enter path to ruleset file or a predefined rulesets.",
"order": 3
},
"disableWhenNoConfigFile": {
"type": "boolean",
"default": false,
"description": "Disable the linter when the default ruleset file is not found.",
"order": 4
},
"autoConfigSearch": {
"title": "Search for ruleset files",
"type": "boolean",
"default": true,
"description": "Automatically search for any `phpmd.xml`, `phpmd.xml.dist` or `phpmd.ruleset.xml` file to use as ruleset. Overrides custom ruleset(s) defined above.",
"order": 5
},
"minimumPriority": {
"type": "integer",
"default": -1,
"minimum": -1,
"description": "Rule priority threshold; rules with lower priority than this will not be used.",
"order": 6
},
"strictMode": {
"type": "boolean",
"default": false,
"description": "Also report those nodes with a @SuppressWarnings annotation.",
"order": 7
}
},
"homepage": "https://github.com/AtomLinter/linter-phpmd#readme",
"dependencies": {
"atom-linter": "10.0.0",
"atom-package-deps": "5.1.0"
},
"engines": {
"atom": ">=1.4.0 <2.0.0"
},
"devDependencies": {
"@commitlint/cli": "8.2.0",
"@commitlint/config-conventional": "8.2.0",
"@commitlint/travis-cli": "8.2.0",
"@semantic-release/apm-config": "6.0.2",
"eslint": "6.6.0",
"eslint-config-airbnb-base": "14.0.0",
"eslint-plugin-import": "2.18.2",
"husky": "3.0.9",
"jasmine-fix": "1.3.1",
"semantic-release": "15.13.28"
},
"package-deps": [
"linter:2.0.0"
],
"scripts": {
"lint": "eslint .",
"test": "apm test"
},
"providedServices": {
"linter": {
"versions": {
"2.0.0": "provideLinter"
}
}
},
"eslintConfig": {
"extends": "airbnb-base",
"rules": {
"global-require": "off",
"import/no-unresolved": [
"error",
{
"ignore": [
"atom"
]
}
]
},
"globals": {
"atom": true
},
"env": {
"node": true,
"browser": true
}
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"release": {
"extends": "@semantic-release/apm-config"
},
"renovate": {
"extends": [
"config:base"
],
"semanticCommits": true,
"rangeStrategy": "pin",
"packageRules": [
{
"packagePatterns": [
"^eslint"
],
"groupName": "ESLint packages"
}
]
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
}
}