[Feature]: Add lint configs and a lint CI job for every language in the repo
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 50/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Área
- ci-cd, developer-experience
Línea de trabajo
Start in .github/workflows/ci.yml to see the existing job layout, then check .github/workflows/e2e-tests.yml at lines 32 and 108 for the actions/setup-go@v4 usage. Run each linter locally against install.sh, scripts/bump.sh, scripts/e2e-test.sh, the PowerShell scripts and the Lua files, and add the matching config files. Done means each config is checked in and a CI job fails on findings.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
1. Your usage scenarios?
Nothing lints the code. The CI workflows build, test and run E2E checks, but no job lints any language in the repository. Checked on main at c4f6275:
- No linter configuration is checked in: no
.golangci.yml,.shellcheckrc,PSScriptAnalyzerSettings.psd1,.luarc.json, Markdown or YAML lint config, or actionlint setup. - No workflow runs a linter.
.github/workflows/ci.ymlhas build, test, coverage and regression jobs;docs/package.jsononly definesdocs:dev,docs:buildanddocs:preview. - The existing workflows already fail actionlint:
.github/workflows/e2e-tests.yml:32and:108useactions/setup-go@v4, which actionlint reports as too old to run on GitHub Actions. - Files with no linter at all: 19 Lua files, 3 shell scripts (
install.sh,scripts/bump.sh,scripts/e2e-test.sh), 5 PowerShell scripts, and all workflow files.
The reference is version-fox/vfox-java. Its lint.yml runs go vet and unit tests for its Go module, and stylua --check plus lua-language-server --check for its Lua code, with checked-in stylua.toml and .luarc.json files.
2. What is your expected outcome?
A checked-in lint configuration for each language and a CI job that fails on findings:
- Go:
golangci-lintwith a.golangci.yml(it includes thego vetanalyzers). - Shell:
shellcheckforinstall.shandscripts/*.sh. - PowerShell:
PSScriptAnalyzerfor the.ps1files, with aPSScriptAnalyzerSettings.psd1. - Lua:
lua-language-server --check(orluacheck) with a.luarc.json. - Workflows:
actionlint, after thesetup-go@v4usage is updated.
Formatting is out of scope for this issue.
- Lenguaje dominante
- Go
- Estrellas
- 4k
- Forks
- 177
- Merge medio
- 1 d 20 h
- PR fusionados (30 d)
- 31
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 version-fox/vfox
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
version-fox/vfox#825 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
version-fox/vfox#823 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 Medio día Aptitud para principiantes 45/100
version-fox/vfox#824 ·
Los mantenedores suelen responder en 1 día
-
Plugins fail to load when the HOME path contains ';' or '?' (Lua package.path)Posiblemente ocupada @Xnadir la tomó hoy. Abiertobug
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
version-fox/vfox#821 ·
Los mantenedores suelen responder en 1 día
-
[BUG]: the Available cache ignores the environment, so one setting's list is shown for anotherPosiblemente ocupada @nanami7777777 la tomó hoy. Abiertobug
Dificultad 3/5 1-2 días Aptitud para principiantes 25/100
version-fox/vfox#816 ·
Los mantenedores suelen responder en 1 día
Todos los issues de version-fox/vfox
Issues similares
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 2 días
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
seaweedfs/seaweed-block#443 ·
Los mantenedores suelen responder en 1 día
-
HTTP `batch.Send` returns nil and inserts no rows when the block does not encodePosiblemente ocupada @Indian-boult la tomó hoy. Abiertobug queries
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
ClickHouse/clickhouse-go#2155 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
transparency-dev/tessera#1286 ·
Los mantenedores suelen responder en 1 día