abcxyz / abcxyz/actions

[shellcheck] Add instructions for autofix when shell lint fails

Aberta Para iniciantes
#65 0 comentários 1 reação 0 responsáveis Ver no GitHub
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

Abrir o 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

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.