Add a JSON Schema for `codepact.config.json`

Abierto
#31 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
70/100
Tipo de issue
Nueva funcionalidad
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
javascript, json
Área
tooling

Línea de trabajo

Start by reading the validator and the example config files to identify the constraints for ranges and ignore. Add schema/codepact.config.schema.json, show its $schema line in README.md, and add a test that validates every example config. Run npm test; the work is done when all example configs pass against the schema.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

documentation wave

Context

The conventions repository publishes a schema, but the action does not link to it or ship one. Editors cannot complete or validate the file a workflow references.

Scope

  • schema/codepact.config.schema.json
  • README.md

Acceptance criteria

  • The schema describes ranges and ignore with the same constraints as the validator.
  • README.md shows the $schema line.
  • A test checks the schema accepts every example config in the repository.

Verification

npm test

Complexity

Medium (3 hours)

Part of Stellar Wave. Comment to claim this issue before starting.

Lenguaje dominante
JavaScript
Estrellas
0
Forks
0
Merge medio
7 h 28 min
PR fusionados (30 d)
10

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de codepacct/codepact-action

Todos los issues de codepacct/codepact-action

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.