github / github/vscode-github-actions
Supress validation for a line/file
- Linguagem predominante
- TypeScript
- Estrelas
- 660
- Forks
- 213
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
**Is your feature request related to a problem? Please describe.**
On some workflows, the linter will mark things as *potential* issues because of the way it was written. however, as a writer you have additional information and can possibly conclude that there is no problem. In that situation, having a linter warning is mildly annoying.
For example, I have a workflow that dynamically gets the name of a secret and the accesses `secrets[that value]`. Linter tell me that the context access *might* be invalid. this is correct, but I know that the only possible values should be valid or I've done something wrong elsewhere.
**Describe the solution you'd like**
I'd like to have something along the lines of #pylint: disable etc. for this extension, whether it be a comment ( similar to pylint or eslint ), a config file (e.g. for file x ignore y), an extension setting (ignore warnings of type/ ignore files). To suppress warnings that you know are invalid, to help reduce false positives for issues that the extension simply lacks context for, or to purge warnings that come from bugs of third party workflow authors.
**Additional context**
related: #59
Guia de contribuição
Direção de pesquisa
Comece revisando a issue relacionada #59 e os pontos de entrada existentes da extensão para avisos e relatórios. Compare as abordagens de comentários, arquivo de configuração e configuração da extensão, incluindo como elas selecionam os tipos de aviso e os arquivos. O trabalho estará concluído quando houver um mecanismo de supressão definido e testável, com comportamento documentado para o aviso do workflow de exemplo.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- typescript, vscode
- Domínio
- developer-experience, devtools
- Tipo de issue
- Funcionalidade
- Dificuldade
- 5/5
- Tempo estimado
- Mais de uma semana
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 35/100