@mapringg/standard 0.0.0-stage → 1.15.4
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/.claude/skills/adopt-standard/SKILL.md +196 -0
- package/.claude/skills/capture/SKILL.md +27 -0
- package/.claude/skills/pr/LICENSE +21 -0
- package/.claude/skills/pr/SKILL.md +170 -0
- package/.claude/skills/pr/UPSTREAM.md +4 -0
- package/.claude/skills/review-standard/SKILL.md +12 -0
- package/.claude/skills/test-audit/SKILL.md +25 -0
- package/.claude/skills/upgrade-standard/SKILL.md +25 -0
- package/LICENSE +21 -0
- package/README.md +10 -2
- package/bin/check-pr.mjs +11 -0
- package/bin/upload-evidence.mjs +120 -0
- package/knip.json +25 -0
- package/oxfmt.json +8 -0
- package/oxlint.json +464 -0
- package/package.json +66 -4
- package/packages/create-mapringg-repo/LICENSE +21 -0
- package/packages/create-mapringg-repo/cli.mjs +324 -0
- package/packages/create-mapringg-repo/github.mjs +128 -0
- package/packages/create-mapringg-repo/package.json +25 -0
- package/packages/create-mapringg-repo/release.mjs +52 -0
- package/packages/create-mapringg-repo/setup.mjs +224 -0
- package/src/plugin/agent-docs.mjs +240 -0
- package/src/plugin/design-system.mjs +75 -0
- package/src/plugin/feature-imports.mjs +38 -0
- package/src/plugin/hono.mjs +186 -0
- package/src/plugin/index.mjs +42 -0
- package/src/plugin/markdown-lines.mjs +35 -0
- package/src/plugin/next-data.mjs +124 -0
- package/src/plugin/next-routes.mjs +63 -0
- package/src/plugin/no-chained-assertions.mjs +22 -0
- package/src/plugin/no-comments.mjs +23 -0
- package/src/plugin/no-return-types.mjs +48 -0
- package/src/plugin/no-typeof.mjs +27 -0
- package/src/plugin/owners.mjs +428 -0
- package/src/plugin/params.mjs +75 -0
- package/src/plugin/paths.mjs +192 -0
- package/src/plugin/pr-check.mjs +141 -0
- package/src/plugin/query-client.mjs +49 -0
- package/src/plugin/reducer.mjs +84 -0
- package/src/plugin/repo-shape.mjs +351 -0
- package/src/plugin/repository-docs.mjs +119 -0
- package/src/plugin/server-actions.mjs +60 -0
- package/src/plugin/tests.mjs +222 -0
- package/tsconfig.json +23 -0
package/knip.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://unpkg.com/knip@6/schema.json",
|
|
3
|
+
"ignoreExportsUsedInFile": false,
|
|
4
|
+
"includeEntryExports": true,
|
|
5
|
+
"rules": {
|
|
6
|
+
"files": "error",
|
|
7
|
+
"dependencies": "error",
|
|
8
|
+
"devDependencies": "error",
|
|
9
|
+
"unlisted": "error",
|
|
10
|
+
"binaries": "error",
|
|
11
|
+
"unresolved": "error",
|
|
12
|
+
"exports": "error",
|
|
13
|
+
"types": "error",
|
|
14
|
+
"duplicates": "error"
|
|
15
|
+
},
|
|
16
|
+
"ignoreIssues": {
|
|
17
|
+
"apps/*/src/features/*/routes.ts": ["types"]
|
|
18
|
+
},
|
|
19
|
+
"workspaces": {
|
|
20
|
+
"apps/*": {
|
|
21
|
+
"entry": ["src/app/**/*.{ts,tsx}!", "src/pages/**/*.{ts,tsx,astro}!"],
|
|
22
|
+
"includeEntryExports": false
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
package/oxfmt.json
ADDED
package/oxlint.json
ADDED
|
@@ -0,0 +1,464 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "./node_modules/oxlint/configuration_schema.json",
|
|
3
|
+
"plugins": [
|
|
4
|
+
"eslint",
|
|
5
|
+
"typescript",
|
|
6
|
+
"unicorn",
|
|
7
|
+
"oxc",
|
|
8
|
+
"import",
|
|
9
|
+
"promise",
|
|
10
|
+
"node",
|
|
11
|
+
"react",
|
|
12
|
+
"jsx-a11y",
|
|
13
|
+
"nextjs",
|
|
14
|
+
"vitest"
|
|
15
|
+
],
|
|
16
|
+
"jsPlugins": ["./src/plugin/index.mjs", "@shadcn/lint"],
|
|
17
|
+
"settings": { "shadcn": { "ui": "#/components/ui" } },
|
|
18
|
+
"categories": {
|
|
19
|
+
"correctness": "error",
|
|
20
|
+
"suspicious": "error",
|
|
21
|
+
"perf": "error",
|
|
22
|
+
"style": "error",
|
|
23
|
+
"restriction": "error",
|
|
24
|
+
"pedantic": "error"
|
|
25
|
+
},
|
|
26
|
+
"options": { "typeAware": true, "typeCheck": true },
|
|
27
|
+
"env": { "builtin": true, "es2024": true },
|
|
28
|
+
"rules": {
|
|
29
|
+
"standard/agent-docs": "error",
|
|
30
|
+
"standard/design-system": "error",
|
|
31
|
+
"standard/feature-imports": "error",
|
|
32
|
+
"standard/hono": "error",
|
|
33
|
+
"standard/next-data": "error",
|
|
34
|
+
"standard/next-routes": "error",
|
|
35
|
+
"standard/no-chained-assertions": "error",
|
|
36
|
+
"standard/no-comments": "error",
|
|
37
|
+
"standard/no-return-types": "error",
|
|
38
|
+
"standard/no-typeof": "error",
|
|
39
|
+
"standard/owners": "error",
|
|
40
|
+
"standard/params": "error",
|
|
41
|
+
"standard/pr-check": "error",
|
|
42
|
+
"standard/query-client": "error",
|
|
43
|
+
"standard/reducer": "error",
|
|
44
|
+
"standard/repo-shape": "error",
|
|
45
|
+
"standard/server-actions": "error",
|
|
46
|
+
"standard/tests": "error",
|
|
47
|
+
"shadcn/no-restyle": ["error", { "allow": ["layout"] }],
|
|
48
|
+
"shadcn/no-raw-colors": "error",
|
|
49
|
+
"shadcn/no-arbitrary-values": "error",
|
|
50
|
+
"shadcn/no-inline-styles": "error",
|
|
51
|
+
"shadcn/no-unknown-classes": "error",
|
|
52
|
+
"shadcn/require-static-classes": "error",
|
|
53
|
+
"no-restricted-imports": [
|
|
54
|
+
"error",
|
|
55
|
+
{
|
|
56
|
+
"patterns": [
|
|
57
|
+
{ "regex": "^\\.{1,2}(/|$)", "message": "Import through the #/ alias from package.json imports." },
|
|
58
|
+
{
|
|
59
|
+
"regex": "^@/",
|
|
60
|
+
"message": "Import through the #/ alias from package.json imports; @/ tsconfig paths break when another package type checks this file."
|
|
61
|
+
}
|
|
62
|
+
]
|
|
63
|
+
}
|
|
64
|
+
],
|
|
65
|
+
"unicorn/filename-case": [
|
|
66
|
+
"error",
|
|
67
|
+
{
|
|
68
|
+
"case": "kebabCase",
|
|
69
|
+
"ignore": ["^_layout\\.", "^__root\\.", "^\\+", "^\\[", "^\\$", "\\.d\\.ts$"]
|
|
70
|
+
}
|
|
71
|
+
],
|
|
72
|
+
"react/jsx-no-literals": [
|
|
73
|
+
"error",
|
|
74
|
+
{
|
|
75
|
+
"restrictedAttributes": ["placeholder", "aria-label", "title", "alt"],
|
|
76
|
+
"allowedStrings": ["", "-", "–", "—", "/", "|", "·", "•", ":", ",", ".", "…", "(", ")", "+", "×", "%", "#", "*"]
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
"typescript/switch-exhaustiveness-check": [
|
|
80
|
+
"error",
|
|
81
|
+
{ "considerDefaultExhaustiveForUnions": false, "requireDefaultForNonUnion": true }
|
|
82
|
+
],
|
|
83
|
+
"vitest/consistent-test-it": ["error", { "fn": "test", "withinDescribe": "test" }],
|
|
84
|
+
"eslint/no-duplicate-imports": ["error", { "allowSeparateTypeImports": true }],
|
|
85
|
+
"eslint/new-cap": ["error", { "capIsNew": false }],
|
|
86
|
+
"eslint/class-methods-use-this": ["error", { "enforceForClassFields": false }],
|
|
87
|
+
"vitest/valid-title": ["error", { "allowArguments": true }],
|
|
88
|
+
"eslint/prefer-destructuring": [
|
|
89
|
+
"error",
|
|
90
|
+
{
|
|
91
|
+
"VariableDeclarator": { "array": false, "object": true },
|
|
92
|
+
"AssignmentExpression": { "array": false, "object": false }
|
|
93
|
+
}
|
|
94
|
+
],
|
|
95
|
+
"node/no-sync": [
|
|
96
|
+
"error",
|
|
97
|
+
{
|
|
98
|
+
"ignores": ["flushSync"]
|
|
99
|
+
}
|
|
100
|
+
],
|
|
101
|
+
"react/no-unstable-nested-components": ["error", { "allowAsProps": true }],
|
|
102
|
+
"eslint/curly": "off",
|
|
103
|
+
"eslint/default-case": "off",
|
|
104
|
+
"eslint/func-style": "off",
|
|
105
|
+
"eslint/id-length": "off",
|
|
106
|
+
"eslint/no-bitwise": "off",
|
|
107
|
+
"eslint/no-console": "off",
|
|
108
|
+
"eslint/no-magic-numbers": "off",
|
|
109
|
+
"eslint/no-ternary": "off",
|
|
110
|
+
"eslint/no-undefined": "off",
|
|
111
|
+
"eslint/no-underscore-dangle": "off",
|
|
112
|
+
"eslint/no-void": "off",
|
|
113
|
+
"eslint/one-var": "off",
|
|
114
|
+
"eslint/require-await": "off",
|
|
115
|
+
"eslint/sort-imports": "off",
|
|
116
|
+
"eslint/sort-keys": "off",
|
|
117
|
+
"import/exports-last": "off",
|
|
118
|
+
"import/group-exports": "off",
|
|
119
|
+
"import/namespace": "off",
|
|
120
|
+
"import/no-named-export": "off",
|
|
121
|
+
"import/no-namespace": "off",
|
|
122
|
+
"import/no-nodejs-modules": "off",
|
|
123
|
+
"import/no-unassigned-import": "off",
|
|
124
|
+
"import/prefer-default-export": "off",
|
|
125
|
+
"node/callback-return": "off",
|
|
126
|
+
"node/no-process-env": "off",
|
|
127
|
+
"node/no-top-level-await": "off",
|
|
128
|
+
"oxc/no-async-await": "off",
|
|
129
|
+
"oxc/no-map-spread": "off",
|
|
130
|
+
"oxc/no-optional-chaining": "off",
|
|
131
|
+
"oxc/no-rest-spread-properties": "off",
|
|
132
|
+
"promise/prefer-await-to-callbacks": "off",
|
|
133
|
+
"promise/prefer-await-to-then": "off",
|
|
134
|
+
"promise/valid-params": "off",
|
|
135
|
+
"react/forbid-component-props": "off",
|
|
136
|
+
"react/incompatible-library": "off",
|
|
137
|
+
"react/jsx-filename-extension": "off",
|
|
138
|
+
"react/jsx-max-depth": "off",
|
|
139
|
+
"react/jsx-props-no-spreading": "off",
|
|
140
|
+
"react/react-in-jsx-scope": "off",
|
|
141
|
+
"typescript/consistent-return": "off",
|
|
142
|
+
"typescript/consistent-type-definitions": "off",
|
|
143
|
+
"typescript/explicit-function-return-type": "off",
|
|
144
|
+
"typescript/explicit-member-accessibility": "off",
|
|
145
|
+
"typescript/explicit-module-boundary-types": "off",
|
|
146
|
+
"typescript/method-signature-style": "off",
|
|
147
|
+
"typescript/no-confusing-void-expression": "off",
|
|
148
|
+
"typescript/no-unnecessary-type-parameters": "off",
|
|
149
|
+
"typescript/non-nullable-type-assertion-style": "off",
|
|
150
|
+
"typescript/prefer-readonly-parameter-types": "off",
|
|
151
|
+
"typescript/promise-function-async": "off",
|
|
152
|
+
"typescript/require-await": "off",
|
|
153
|
+
"unicorn/max-nested-calls": "off",
|
|
154
|
+
"unicorn/no-array-fill-with-reference-type": "off",
|
|
155
|
+
"unicorn/no-array-method-this-argument": "off",
|
|
156
|
+
"unicorn/no-document-cookie": "off",
|
|
157
|
+
"unicorn/no-null": "off",
|
|
158
|
+
"unicorn/no-useless-undefined": "off",
|
|
159
|
+
"unicorn/number-literal-case": "off",
|
|
160
|
+
"unicorn/prefer-code-point": "off",
|
|
161
|
+
"unicorn/prefer-math-trunc": "off",
|
|
162
|
+
"unicorn/prefer-top-level-await": "off",
|
|
163
|
+
"vitest/no-hooks": "off",
|
|
164
|
+
"vitest/no-importing-vitest-globals": "off",
|
|
165
|
+
"vitest/prefer-called-times": "off",
|
|
166
|
+
"vitest/prefer-describe-function-title": "off",
|
|
167
|
+
"vitest/prefer-expect-assertions": "off",
|
|
168
|
+
"vitest/prefer-to-be-falsy": "off",
|
|
169
|
+
"vitest/prefer-to-be-truthy": "off",
|
|
170
|
+
"vitest/require-hook": "off",
|
|
171
|
+
"vitest/require-test-timeout": "off",
|
|
172
|
+
"vitest/require-top-level-describe": "off"
|
|
173
|
+
},
|
|
174
|
+
"overrides": [
|
|
175
|
+
{
|
|
176
|
+
"files": ["**/components/ui/**"],
|
|
177
|
+
"rules": {
|
|
178
|
+
"shadcn/no-restyle": "off",
|
|
179
|
+
"shadcn/require-static-classes": "off"
|
|
180
|
+
}
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"files": ["**/src/app/**/page.tsx", "**/src/app/**/layout.tsx"],
|
|
184
|
+
"rules": {
|
|
185
|
+
"react/only-export-components": [
|
|
186
|
+
"error",
|
|
187
|
+
{
|
|
188
|
+
"allowExportNames": [
|
|
189
|
+
"dynamic",
|
|
190
|
+
"dynamicParams",
|
|
191
|
+
"revalidate",
|
|
192
|
+
"fetchCache",
|
|
193
|
+
"runtime",
|
|
194
|
+
"preferredRegion",
|
|
195
|
+
"maxDuration",
|
|
196
|
+
"experimental_ppr",
|
|
197
|
+
"instant",
|
|
198
|
+
"prefetch",
|
|
199
|
+
"ensureStatic",
|
|
200
|
+
"metadata",
|
|
201
|
+
"generateMetadata",
|
|
202
|
+
"viewport",
|
|
203
|
+
"generateViewport",
|
|
204
|
+
"generateStaticParams",
|
|
205
|
+
"unstable_dynamicStaleTime"
|
|
206
|
+
]
|
|
207
|
+
}
|
|
208
|
+
]
|
|
209
|
+
}
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"files": [
|
|
213
|
+
"**/src/app/**/opengraph-image.tsx",
|
|
214
|
+
"**/src/app/**/twitter-image.tsx",
|
|
215
|
+
"**/src/app/**/icon.tsx",
|
|
216
|
+
"**/src/app/**/apple-icon.tsx"
|
|
217
|
+
],
|
|
218
|
+
"rules": {
|
|
219
|
+
"react/only-export-components": [
|
|
220
|
+
"error",
|
|
221
|
+
{
|
|
222
|
+
"allowExportNames": [
|
|
223
|
+
"alt",
|
|
224
|
+
"size",
|
|
225
|
+
"contentType",
|
|
226
|
+
"generateImageMetadata",
|
|
227
|
+
"dynamic",
|
|
228
|
+
"dynamicParams",
|
|
229
|
+
"revalidate",
|
|
230
|
+
"fetchCache",
|
|
231
|
+
"runtime",
|
|
232
|
+
"preferredRegion",
|
|
233
|
+
"maxDuration"
|
|
234
|
+
]
|
|
235
|
+
}
|
|
236
|
+
]
|
|
237
|
+
}
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"files": ["**/*.test.ts", "**/*.test.tsx", "**/*.test-utils.ts", "**/*.fixture.ts"],
|
|
241
|
+
"rules": {
|
|
242
|
+
"vitest/no-restricted-matchers": [
|
|
243
|
+
"error",
|
|
244
|
+
{
|
|
245
|
+
"toMatchSnapshot": "Assert the specific outcome.",
|
|
246
|
+
"toMatchInlineSnapshot": "Assert the specific outcome.",
|
|
247
|
+
"toMatchFileSnapshot": "Assert the specific outcome.",
|
|
248
|
+
"toThrowErrorMatchingSnapshot": "Assert the specific error.",
|
|
249
|
+
"toThrowErrorMatchingInlineSnapshot": "Assert the specific error."
|
|
250
|
+
}
|
|
251
|
+
],
|
|
252
|
+
"vitest/no-restricted-vi-methods": [
|
|
253
|
+
"error",
|
|
254
|
+
{
|
|
255
|
+
"waitFor": "Await the real event.",
|
|
256
|
+
"waitUntil": "Await the real event.",
|
|
257
|
+
"setConfig": "Make the test fast instead of raising its timeout."
|
|
258
|
+
}
|
|
259
|
+
],
|
|
260
|
+
"eslint/no-script-url": "off"
|
|
261
|
+
}
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"files": [
|
|
265
|
+
"apps/liff/**",
|
|
266
|
+
"apps/marketing/**",
|
|
267
|
+
"apps/mobile/**",
|
|
268
|
+
"apps/web/src/components/ui/image.tsx",
|
|
269
|
+
"apps/web/src/components/ui/icon.tsx"
|
|
270
|
+
],
|
|
271
|
+
"rules": {
|
|
272
|
+
"nextjs/no-img-element": "off"
|
|
273
|
+
}
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
"files": [
|
|
277
|
+
"**/*.astro",
|
|
278
|
+
"**/*.config.js",
|
|
279
|
+
"**/*.config.cjs",
|
|
280
|
+
"**/*.config.mjs",
|
|
281
|
+
"**/*.d.ts",
|
|
282
|
+
"scripts/**/*.cjs",
|
|
283
|
+
"**/.claude/skills/**/*.cjs"
|
|
284
|
+
],
|
|
285
|
+
"rules": {
|
|
286
|
+
"import/unambiguous": "off"
|
|
287
|
+
}
|
|
288
|
+
},
|
|
289
|
+
{
|
|
290
|
+
"files": ["apps/web/src/lib/navigation-link.tsx"],
|
|
291
|
+
"rules": {
|
|
292
|
+
"jsx-a11y/prefer-tag-over-role": "off"
|
|
293
|
+
}
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
"files": ["**/src/app/**", "**/src/pages/**", "**/apps/api/src/server.ts", "**/*.config.*"],
|
|
297
|
+
"rules": {
|
|
298
|
+
"import/no-default-export": "off"
|
|
299
|
+
}
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"files": ["**/src/app/**/layout.tsx"],
|
|
303
|
+
"rules": {
|
|
304
|
+
"react/no-danger": "off"
|
|
305
|
+
}
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
"files": ["**/src/proxy.ts", "**/src/middleware.ts"],
|
|
309
|
+
"rules": {
|
|
310
|
+
"unicorn/prefer-string-raw": "off"
|
|
311
|
+
}
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"files": ["**/*.ts", "**/*.mts", "**/*.cts", "**/*.js", "**/*.mjs", "**/*.cjs"],
|
|
315
|
+
"rules": {
|
|
316
|
+
"react/function-component-definition": "off",
|
|
317
|
+
"react/no-multi-comp": "off",
|
|
318
|
+
"react/display-name": "off"
|
|
319
|
+
}
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
"files": [
|
|
323
|
+
"**/apps/api/**",
|
|
324
|
+
"**/src/features/*/routes.ts",
|
|
325
|
+
"**/src/features/*/schema.ts",
|
|
326
|
+
"**/src/features/*/db.ts",
|
|
327
|
+
"**/src/features/*/service.ts",
|
|
328
|
+
"**/src/middleware/**",
|
|
329
|
+
"**/src/infra/**",
|
|
330
|
+
"**/src/upstreams/**",
|
|
331
|
+
"**/src/app.ts",
|
|
332
|
+
"**/src/factory.ts",
|
|
333
|
+
"**/src/server.ts"
|
|
334
|
+
],
|
|
335
|
+
"rules": {
|
|
336
|
+
"react/rules-of-hooks": "off",
|
|
337
|
+
"react/exhaustive-deps": "off"
|
|
338
|
+
}
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
"files": [
|
|
342
|
+
"**/src/app.ts",
|
|
343
|
+
"**/src/app/**/layout.tsx",
|
|
344
|
+
"**/src/app/**/page.tsx",
|
|
345
|
+
"**/src/app/**/template.tsx",
|
|
346
|
+
"**/src/pages/**/*.astro"
|
|
347
|
+
],
|
|
348
|
+
"rules": {
|
|
349
|
+
"import/max-dependencies": "off"
|
|
350
|
+
}
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
"files": ["**/src/app.ts"],
|
|
354
|
+
"rules": {
|
|
355
|
+
"eslint/max-lines-per-function": "off"
|
|
356
|
+
}
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
"files": [
|
|
360
|
+
"**/*.config.js",
|
|
361
|
+
"**/*.config.cjs",
|
|
362
|
+
"**/*.config.mjs",
|
|
363
|
+
"scripts/**/*.cjs",
|
|
364
|
+
"**/.claude/skills/**/*.cjs"
|
|
365
|
+
],
|
|
366
|
+
"rules": {
|
|
367
|
+
"import/no-commonjs": "off",
|
|
368
|
+
"typescript/no-require-imports": "off",
|
|
369
|
+
"typescript/no-var-requires": "off"
|
|
370
|
+
}
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
"files": ["**/*.config.js", "**/*.config.cjs", "**/*.config.mjs"],
|
|
374
|
+
"rules": {
|
|
375
|
+
"unicorn/prefer-module": "off",
|
|
376
|
+
"import/no-anonymous-default-export": "off"
|
|
377
|
+
}
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
"files": ["**/*.config.js", "**/*.config.cjs", "**/*.config.mjs", "scripts/**", "**/.claude/skills/**"],
|
|
381
|
+
"rules": {
|
|
382
|
+
"typescript/no-unsafe-call": "off",
|
|
383
|
+
"typescript/no-unsafe-argument": "off",
|
|
384
|
+
"typescript/no-unsafe-assignment": "off",
|
|
385
|
+
"typescript/no-unsafe-member-access": "off"
|
|
386
|
+
}
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
"files": ["**/*.d.ts"],
|
|
390
|
+
"rules": {
|
|
391
|
+
"unicorn/require-module-specifiers": "off",
|
|
392
|
+
"typescript/consistent-indexed-object-style": "off"
|
|
393
|
+
}
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
"files": ["**/worker-configuration.d.ts"],
|
|
397
|
+
"rules": {
|
|
398
|
+
"unicorn/no-abusive-eslint-disable": "off"
|
|
399
|
+
}
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
"files": ["scripts/**", "**/.claude/skills/**"],
|
|
403
|
+
"rules": {
|
|
404
|
+
"typescript/await-thenable": "off",
|
|
405
|
+
"typescript/consistent-type-exports": "off",
|
|
406
|
+
"typescript/dot-notation": "off",
|
|
407
|
+
"typescript/no-array-delete": "off",
|
|
408
|
+
"typescript/no-base-to-string": "off",
|
|
409
|
+
"typescript/no-deprecated": "off",
|
|
410
|
+
"typescript/no-duplicate-type-constituents": "off",
|
|
411
|
+
"typescript/no-floating-promises": "off",
|
|
412
|
+
"typescript/no-for-in-array": "off",
|
|
413
|
+
"typescript/no-generated-empty-object-type": "off",
|
|
414
|
+
"typescript/no-implied-eval": "off",
|
|
415
|
+
"typescript/no-meaningless-void-operator": "off",
|
|
416
|
+
"typescript/no-misused-promises": "off",
|
|
417
|
+
"typescript/no-misused-spread": "off",
|
|
418
|
+
"typescript/no-mixed-enums": "off",
|
|
419
|
+
"typescript/no-redundant-type-constituents": "off",
|
|
420
|
+
"typescript/no-unnecessary-boolean-literal-compare": "off",
|
|
421
|
+
"typescript/no-unnecessary-qualifier": "off",
|
|
422
|
+
"typescript/no-unnecessary-template-expression": "off",
|
|
423
|
+
"typescript/no-unnecessary-type-arguments": "off",
|
|
424
|
+
"typescript/no-unnecessary-type-assertion": "off",
|
|
425
|
+
"typescript/no-unnecessary-type-conversion": "off",
|
|
426
|
+
"typescript/no-unsafe-enum-assignment": "off",
|
|
427
|
+
"typescript/no-unsafe-enum-comparison": "off",
|
|
428
|
+
"typescript/no-unsafe-return": "off",
|
|
429
|
+
"typescript/no-unsafe-type-assertion": "off",
|
|
430
|
+
"typescript/no-unsafe-unary-minus": "off",
|
|
431
|
+
"typescript/no-useless-default-assignment": "off",
|
|
432
|
+
"typescript/only-throw-error": "off",
|
|
433
|
+
"typescript/prefer-find": "off",
|
|
434
|
+
"typescript/prefer-includes": "off",
|
|
435
|
+
"typescript/prefer-nullish-coalescing": "off",
|
|
436
|
+
"typescript/prefer-promise-reject-errors": "off",
|
|
437
|
+
"typescript/prefer-readonly": "off",
|
|
438
|
+
"typescript/prefer-reduce-type-parameter": "off",
|
|
439
|
+
"typescript/prefer-regexp-exec": "off",
|
|
440
|
+
"typescript/prefer-return-this-type": "off",
|
|
441
|
+
"typescript/prefer-string-starts-ends-with": "off",
|
|
442
|
+
"typescript/related-getter-setter-pairs": "off",
|
|
443
|
+
"typescript/require-array-sort-compare": "off",
|
|
444
|
+
"typescript/restrict-plus-operands": "off",
|
|
445
|
+
"typescript/restrict-template-expressions": "off",
|
|
446
|
+
"typescript/return-await": "off",
|
|
447
|
+
"typescript/strict-boolean-expressions": "off",
|
|
448
|
+
"typescript/strict-void-return": "off",
|
|
449
|
+
"typescript/switch-exhaustiveness-check": "off",
|
|
450
|
+
"typescript/unbound-method": "off",
|
|
451
|
+
"typescript/use-unknown-in-catch-callback-variable": "off",
|
|
452
|
+
"node/no-sync": "off",
|
|
453
|
+
"eslint/no-await-in-loop": "off",
|
|
454
|
+
"standard/no-typeof": "off"
|
|
455
|
+
}
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
"files": ["**/apps/api/**"],
|
|
459
|
+
"rules": {
|
|
460
|
+
"unicorn/prefer-add-event-listener": "off"
|
|
461
|
+
}
|
|
462
|
+
}
|
|
463
|
+
]
|
|
464
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,68 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mapringg/standard",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "1.15.4",
|
|
4
|
+
"description": "Shared pull request checks, agent skills, and TypeScript tooling.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "https://github.com/mapringg/standard.git"
|
|
9
|
+
},
|
|
10
|
+
"bin": {
|
|
11
|
+
"check-pr": "./bin/check-pr.mjs",
|
|
12
|
+
"create-mapringg-repo": "./packages/create-mapringg-repo/cli.mjs",
|
|
13
|
+
"upload-evidence": "./bin/upload-evidence.mjs"
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"bin",
|
|
17
|
+
".claude/skills/capture/SKILL.md",
|
|
18
|
+
".claude/skills/pr/LICENSE",
|
|
19
|
+
".claude/skills/pr/SKILL.md",
|
|
20
|
+
".claude/skills/pr/UPSTREAM.md",
|
|
21
|
+
".claude/skills/review-standard/SKILL.md",
|
|
22
|
+
".claude/skills/test-audit/SKILL.md",
|
|
23
|
+
".claude/skills/upgrade-standard/SKILL.md",
|
|
24
|
+
"oxlint.json",
|
|
25
|
+
"oxfmt.json",
|
|
26
|
+
".claude/skills/adopt-standard/SKILL.md",
|
|
27
|
+
"tsconfig.json",
|
|
28
|
+
"knip.json",
|
|
29
|
+
"src",
|
|
30
|
+
"packages/create-mapringg-repo"
|
|
31
|
+
],
|
|
32
|
+
"type": "module",
|
|
33
|
+
"exports": {
|
|
34
|
+
"./package.json": "./package.json",
|
|
35
|
+
"./oxlint.json": "./oxlint.json",
|
|
36
|
+
"./oxfmt.json": "./oxfmt.json",
|
|
37
|
+
"./tsconfig.json": "./tsconfig.json",
|
|
38
|
+
"./knip.json": "./knip.json",
|
|
39
|
+
"./plugin": "./src/plugin/index.mjs"
|
|
40
|
+
},
|
|
41
|
+
"scripts": {
|
|
42
|
+
"lint": "oxlint",
|
|
43
|
+
"format": "oxfmt",
|
|
44
|
+
"format:check": "oxfmt --check",
|
|
45
|
+
"knip": "knip -c .knip.json",
|
|
46
|
+
"test": "node --test"
|
|
47
|
+
},
|
|
48
|
+
"dependencies": {
|
|
49
|
+
"@shadcn/lint": "0.2.5",
|
|
50
|
+
"yaml": "2.9.1"
|
|
51
|
+
},
|
|
52
|
+
"devDependencies": {
|
|
53
|
+
"knip": "6.45.1",
|
|
54
|
+
"oxfmt": "0.79.0",
|
|
55
|
+
"oxlint": "1.94.0",
|
|
56
|
+
"tsrs": "0.25.0-ts7.1.0-beta"
|
|
57
|
+
},
|
|
58
|
+
"peerDependencies": {
|
|
59
|
+
"knip": "6.45.1",
|
|
60
|
+
"oxfmt": "0.79.0",
|
|
61
|
+
"oxlint": "1.94.0",
|
|
62
|
+
"tsrs": "0.25.0-ts7.1.0-beta"
|
|
63
|
+
},
|
|
64
|
+
"engines": {
|
|
65
|
+
"node": ">=26"
|
|
66
|
+
},
|
|
67
|
+
"packageManager": "pnpm@12.18.0"
|
|
68
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 mapringg
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|