Ship a JSON Schema for godot-correctness.config.json
Mantenedores costumam responder em até 2 dias
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Facilidade para iniciantes
- 74/100
- Tipo de issue
- Funcionalidade
- Clareza
- Claramente especificada
- Status de atividade
- Ativa
- Stack de tecnologia
- json, typescript
- Domínio
- tooling
Direção de pesquisa
Read src/lint/config.ts, package.json, and the existing drift test for mcp-tools.json; inspect the build scripts and config example to see how schemas are generated and packaged. Run npm run build && npm test to check the current setup. Done when the generated schema includes the rule ID enum, ships in the package, is referenced by the example config, and the drift test passes.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Summary
The config accepts a $schema key as a pointer for editors (src/lint/config.ts:25), but the package ships no JSON Schema to point it at.
Where
src/lint/config.ts:24-25godot-correctness.config.example.jsondocs/lint.md
Proposal
- Generate
schema/config.schema.jsonfrom the zod schema at build time (zod 4z.toJSONSchema), with an enum of rule ids from the catalogue. - Add it to the package
files, reference it from the example config, and add a drift test like the existingmcp-tools.jsonone.
Who benefits
Users editing the config get autocomplete and validation for rule names and options in their editor, which catches the typos that strict config validation (#63) only reports at run time.
Getting started
- Relevant files:
src/lint/config.ts,scripts/,package.json - How to run tests:
npm run build && npm test
Filed by repo-audit/full-audit at e836036. Severity: medium. Effort: S. audit-key: enhancement|src/lint/config.ts|$schema
- Linguagem predominante
- TypeScript
- Estrelas
- 0
- Forks
- 6
- Merge médio
- 1d 21h
- PRs com merge (30d)
- 8
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de TMHSDigital/godot-correctness-mcp
-
enhancement good first issue severity: medium
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 85/100
TMHSDigital/godot-correctness-mcp#123 ·
Mantenedores costumam responder em até 2 dias
-
dependencies good first issue severity: low
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
TMHSDigital/godot-correctness-mcp#116 ·
Mantenedores costumam responder em até 2 dias
-
bug good first issue severity: low
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
TMHSDigital/godot-correctness-mcp#107 ·
Mantenedores costumam responder em até 2 dias
-
bug good first issue severity: low
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 85/100
TMHSDigital/godot-correctness-mcp#106 ·
Mantenedores costumam responder em até 2 dias
-
bug good first issue severity: medium
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
TMHSDigital/godot-correctness-mcp#105 ·
Mantenedores costumam responder em até 2 dias
Todas as issues de TMHSDigital/godot-correctness-mcp
Issues semelhantes
-
The manager preset saves launch definitions without the required file and digest pairTalvez já em andamento Um pull request vinculado a esta issue está aberto ou já foi mesclado. Abertabug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 80/100
Mantenedores costumam responder em até 1 dia