claudecode-linter 2.1.150 → 2.1.152
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claudecode-lint.defaults.yaml +8 -2
- package/contracts/agent-frontmatter.schema.json +2 -2
- package/contracts/command-frontmatter.schema.json +56 -2
- package/contracts/hooks.schema.json +2 -2
- package/contracts/lsp.schema.json +2 -2
- package/contracts/mcp.schema.json +26 -2
- package/contracts/monitors.schema.json +3 -3
- package/contracts/plugin.schema.json +672 -22
- package/contracts/schemastore/keybindings.schema.json +179 -0
- package/contracts/schemastore/manifest.json +25 -0
- package/contracts/schemastore/marketplace.schema.json +2067 -0
- package/contracts/schemastore/plugin-manifest.schema.json +1834 -0
- package/contracts/schemastore/settings.schema.json +3240 -0
- package/contracts/settings.schema.json +61 -4
- package/contracts/skill-frontmatter.schema.json +56 -2
- package/dist/contracts.js +4 -1
- package/dist/discovery.js +23 -0
- package/dist/fixers/mcp-json.js +6 -0
- package/dist/index.js +8 -0
- package/dist/linters/agent-md.js +16 -7
- package/dist/linters/keybindings-json.js +53 -0
- package/dist/linters/marketplace-json.js +55 -0
- package/dist/linters/mcp-json.js +8 -0
- package/dist/linters/plugin-json.js +8 -0
- package/dist/linters/settings-json.js +89 -16
- package/dist/linters/skill-md.js +7 -1
- package/dist/plugin-schema.js +89 -41
- package/package.json +4 -2
|
@@ -52,12 +52,19 @@ rules:
|
|
|
52
52
|
agent-md/permission-mode-valid: warning
|
|
53
53
|
agent-md/effort-valid: warning
|
|
54
54
|
agent-md/max-turns-valid: warning
|
|
55
|
-
agent-md/color-required: error
|
|
56
55
|
agent-md/color-valid: warning
|
|
57
56
|
agent-md/system-prompt-present: error
|
|
58
57
|
agent-md/system-prompt-length: warning
|
|
59
58
|
agent-md/system-prompt-second-person: info
|
|
60
59
|
|
|
60
|
+
# ── marketplace.json (schemastore-only) ──────────────────
|
|
61
|
+
marketplace-json/valid-json: error
|
|
62
|
+
marketplace-json/schema-valid: error
|
|
63
|
+
|
|
64
|
+
# ── keybindings.json (schemastore-only) ──────────────────
|
|
65
|
+
keybindings-json/valid-json: error
|
|
66
|
+
keybindings-json/schema-valid: error
|
|
67
|
+
|
|
61
68
|
# ── Command .md ──────────────────────────────────────────
|
|
62
69
|
command-md/valid-frontmatter: error
|
|
63
70
|
command-md/schema-valid: error
|
|
@@ -83,7 +90,6 @@ rules:
|
|
|
83
90
|
|
|
84
91
|
# ── settings.json ────────────────────────────────────────
|
|
85
92
|
settings-json/valid-json: error
|
|
86
|
-
settings-json/scope-file-name: error
|
|
87
93
|
settings-json/scope-field: warning
|
|
88
94
|
settings-json/no-unknown-fields: warning
|
|
89
95
|
settings-json/permissions-object: error
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"extractedFromClaudeCodeVersion": "2.1.
|
|
3
|
-
"extractedAt": "2026-05-
|
|
2
|
+
"extractedFromClaudeCodeVersion": "2.1.152",
|
|
3
|
+
"extractedAt": "2026-05-27T07:39:39.201Z",
|
|
4
4
|
"schema": {
|
|
5
5
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
6
6
|
"title": "Claude Code agent .md frontmatter",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"extractedFromClaudeCodeVersion": "2.1.
|
|
3
|
-
"extractedAt": "2026-05-
|
|
2
|
+
"extractedFromClaudeCodeVersion": "2.1.152",
|
|
3
|
+
"extractedAt": "2026-05-27T07:39:39.202Z",
|
|
4
4
|
"schema": {
|
|
5
5
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
6
6
|
"title": "Claude Code command .md frontmatter",
|
|
@@ -84,6 +84,60 @@
|
|
|
84
84
|
],
|
|
85
85
|
"description": "Tools available to the model while this file is active. Comma-separated string or YAML list."
|
|
86
86
|
},
|
|
87
|
+
"disallowed-tools": {
|
|
88
|
+
"anyOf": [
|
|
89
|
+
{
|
|
90
|
+
"anyOf": [
|
|
91
|
+
{
|
|
92
|
+
"type": "string"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"type": "number"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"type": "boolean"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"type": "null"
|
|
102
|
+
}
|
|
103
|
+
]
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"type": "array",
|
|
107
|
+
"items": {
|
|
108
|
+
"type": "string"
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
],
|
|
112
|
+
"description": "Tools removed from the model while this file is active. Comma-separated string or YAML list. Cleared when the user sends the next message."
|
|
113
|
+
},
|
|
114
|
+
"disallowedTools": {
|
|
115
|
+
"anyOf": [
|
|
116
|
+
{
|
|
117
|
+
"anyOf": [
|
|
118
|
+
{
|
|
119
|
+
"type": "string"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"type": "number"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"type": "boolean"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"type": "null"
|
|
129
|
+
}
|
|
130
|
+
]
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"type": "array",
|
|
134
|
+
"items": {
|
|
135
|
+
"type": "string"
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
],
|
|
139
|
+
"description": "Canonical (normalized) alias of `disallowed-tools`."
|
|
140
|
+
},
|
|
87
141
|
"argument-hint": {
|
|
88
142
|
"anyOf": [
|
|
89
143
|
{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"extractedFromClaudeCodeVersion": "2.1.
|
|
3
|
-
"extractedAt": "2026-05-
|
|
2
|
+
"extractedFromClaudeCodeVersion": "2.1.152",
|
|
3
|
+
"extractedAt": "2026-05-27T07:39:39.206Z",
|
|
4
4
|
"schema": {
|
|
5
5
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
6
6
|
"title": "Claude Code hooks.json",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"extractedFromClaudeCodeVersion": "2.1.
|
|
3
|
-
"extractedAt": "2026-05-
|
|
2
|
+
"extractedFromClaudeCodeVersion": "2.1.152",
|
|
3
|
+
"extractedAt": "2026-05-27T07:39:39.180Z",
|
|
4
4
|
"schema": {
|
|
5
5
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
6
6
|
"title": "Claude Code .lsp.json",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"extractedFromClaudeCodeVersion": "2.1.
|
|
3
|
-
"extractedAt": "2026-05-
|
|
2
|
+
"extractedFromClaudeCodeVersion": "2.1.152",
|
|
3
|
+
"extractedAt": "2026-05-27T07:39:39.203Z",
|
|
4
4
|
"schema": {
|
|
5
5
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
6
6
|
"title": "Claude Code .mcp.json",
|
|
@@ -33,6 +33,9 @@
|
|
|
33
33
|
"type": "string"
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
|
+
"timeout": {
|
|
37
|
+
"type": "number"
|
|
38
|
+
},
|
|
36
39
|
"alwaysLoad": {
|
|
37
40
|
"type": "boolean"
|
|
38
41
|
},
|
|
@@ -84,6 +87,9 @@
|
|
|
84
87
|
}
|
|
85
88
|
}
|
|
86
89
|
},
|
|
90
|
+
"timeout": {
|
|
91
|
+
"type": "number"
|
|
92
|
+
},
|
|
87
93
|
"alwaysLoad": {
|
|
88
94
|
"type": "boolean"
|
|
89
95
|
},
|
|
@@ -111,6 +117,9 @@
|
|
|
111
117
|
"ideRunningInWindows": {
|
|
112
118
|
"type": "boolean"
|
|
113
119
|
},
|
|
120
|
+
"timeout": {
|
|
121
|
+
"type": "number"
|
|
122
|
+
},
|
|
114
123
|
"alwaysLoad": {
|
|
115
124
|
"type": "boolean"
|
|
116
125
|
},
|
|
@@ -142,6 +151,9 @@
|
|
|
142
151
|
"ideRunningInWindows": {
|
|
143
152
|
"type": "boolean"
|
|
144
153
|
},
|
|
154
|
+
"timeout": {
|
|
155
|
+
"type": "number"
|
|
156
|
+
},
|
|
145
157
|
"alwaysLoad": {
|
|
146
158
|
"type": "boolean"
|
|
147
159
|
},
|
|
@@ -198,6 +210,9 @@
|
|
|
198
210
|
}
|
|
199
211
|
}
|
|
200
212
|
},
|
|
213
|
+
"timeout": {
|
|
214
|
+
"type": "number"
|
|
215
|
+
},
|
|
201
216
|
"alwaysLoad": {
|
|
202
217
|
"type": "boolean"
|
|
203
218
|
},
|
|
@@ -228,6 +243,9 @@
|
|
|
228
243
|
"headersHelper": {
|
|
229
244
|
"type": "string"
|
|
230
245
|
},
|
|
246
|
+
"timeout": {
|
|
247
|
+
"type": "number"
|
|
248
|
+
},
|
|
231
249
|
"alwaysLoad": {
|
|
232
250
|
"type": "boolean"
|
|
233
251
|
},
|
|
@@ -249,6 +267,9 @@
|
|
|
249
267
|
"name": {
|
|
250
268
|
"type": "string"
|
|
251
269
|
},
|
|
270
|
+
"timeout": {
|
|
271
|
+
"type": "number"
|
|
272
|
+
},
|
|
252
273
|
"alwaysLoad": {
|
|
253
274
|
"type": "boolean"
|
|
254
275
|
}
|
|
@@ -270,6 +291,9 @@
|
|
|
270
291
|
"id": {
|
|
271
292
|
"type": "string"
|
|
272
293
|
},
|
|
294
|
+
"timeout": {
|
|
295
|
+
"type": "number"
|
|
296
|
+
},
|
|
273
297
|
"alwaysLoad": {
|
|
274
298
|
"type": "boolean"
|
|
275
299
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"extractedFromClaudeCodeVersion": "2.1.
|
|
3
|
-
"extractedAt": "2026-05-
|
|
2
|
+
"extractedFromClaudeCodeVersion": "2.1.152",
|
|
3
|
+
"extractedAt": "2026-05-27T07:39:39.180Z",
|
|
4
4
|
"schema": {
|
|
5
5
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
6
6
|
"title": "Claude Code monitors.json",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"command": {
|
|
17
17
|
"type": "string",
|
|
18
18
|
"minLength": 1,
|
|
19
|
-
"description": "Shell command to run as a persistent background monitor. Each stdout line is delivered to the model as a <task_notification> event; the process runs for the session lifetime. ${CLAUDE_PLUGIN_ROOT}, ${CLAUDE_PLUGIN_DATA}, ${user_config.*}, and ${ENV_VAR} are substituted. Runs in the session cwd \\u2014 prefix with `cd \"${CLAUDE_PLUGIN_ROOT}\" && ` if the script needs its own directory."
|
|
19
|
+
"description": "Shell command to run as a persistent background monitor. Each stdout line is delivered to the model as a <task_notification> event; the process runs for the session lifetime. ${CLAUDE_PLUGIN_ROOT}, ${CLAUDE_PLUGIN_DATA}, ${CLAUDE_PROJECT_DIR}, ${user_config.*}, and ${ENV_VAR} are substituted. Runs in the session cwd \\u2014 prefix with `cd \"${CLAUDE_PLUGIN_ROOT}\" && ` if the script needs its own directory."
|
|
20
20
|
},
|
|
21
21
|
"description": {
|
|
22
22
|
"type": "string",
|