[FEATURE]: Add directive comments to ignore a word on a per instance basis
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Área
- developer-experience
Línea de trabajo
Start by reading the project's spell-checking entry points and tests to find how ignored words are currently configured; the issue does not name specific files. Then determine how directive comments could be associated with individual word occurrences and what syntax and scope they should support. Done means a documented directive can suppress one spelling occurrence while leaving other occurrences flagged, with tests covering both cases.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Feature Description
It would be nice to ignore a single instance of a spelling issue rather than project wide or globally. Similar to how shellcheck does it:
# shellcheck disable=SC2016
PS4='+$BASH_SOURCE:$LINENO:$FUNCNAME: '
Use Case
The use case here is sometimes you're calling code that you have no control over and a function name has a weird spelling (e.g. fzf's advanced configuration uses _fzf_comprun()). comprun is a word that generally I want to be flagged as a spelling error, but in that one case I'd like to ignore it
Proposed Solution
Probably something like how shellcheck does it:
# shellcheck disable=SC2016
PS4='+$BASH_SOURCE:$LINENO:$FUNCNAME: '
Alternative Solutions
No response
Examples
No response
Additional Context
No response
- Lenguaje dominante
- Rust
- Estrellas
- 925
- Forks
- 59
- Merge medio
- 53 min
- PR fusionados (30 d)
- 10
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de blopker/codebook
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 73/100
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 54/100
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 43/100
Los mantenedores suelen responder en 1 día
-
enhancement Zed issue
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
blopker/codebook#310 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
[FEATURE]: Per-language `words`Abiertoenhancement workaround
Dificultad 4/5 3-5 días Aptitud para principiantes 49/100
blopker/codebook#297 · 4 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de blopker/codebook
Issues similares
-
marketing
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
polete-bermejo/floord#21 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
gbif/name-parser-rust#259 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
nledford/Ladderback#1171 ·
Los mantenedores suelen responder en 1 día
-
[Bug]: LANGSMITH_SAMPLING_RATE ignores fractional values (isdigit check), traces 100% of requestsAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día