[shellcheck] Add instructions for autofix when shell lint fails
Aberta
Para iniciantes
enhancement
- Linguagem predominante
- Dockerfile
- Estrelas
- 0
- Forks
- 8
- Merge médio
- 6min
- PRs com merge (30d)
- 1
Descrição
### TL;DR
Did you know you can have shellcheck auto fix your linter errors?
`shellcheck -f diff FILENAME --enable=all | git apply` !!!
When that linter fails the output should mention that to people, because it will save them time.
### Detailed design
```markdown
```
### Alternatives considered
```markdown
```
### Additional information
_No response_
Guia de contribuição
Direção de pesquisa
Find where the shell linter runs in the repository, likely in a GitHub Actions workflow or a script. Look for the command that invokes shellcheck and modify the output to include the autofix instruction. Test by running the linter locally to see the new message.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- bash, shell
- Domínio
- cli, tooling
- Tipo de issue
- Funcionalidade
- Dificuldade
- 2/5
- Tempo estimado
- 1-3 horas
- Status de atividade
- Estagnada
- Clareza
- Claramente especificada
- Facilidade para iniciantes
- 70/100