github / github/codeql

Does not allow comments in tsconfig.json

Aberta
#13,039 1 comentário 1 reação 0 responsáveis Ver no GitHub
false-positive
Linguagem predominante
CodeQL
Estrelas
10.1k
Forks
2.1k
Merge médio
2d 15h
PRs com merge (30d)
141

Descrição

**Description of the false positive**

We are getting flagged issues on our `tsconfig.json` files, despite comments being allowed in them. I believe that these files use the json5 spec.

**Code samples or links to source code**

If you create a brand new project using `npx tsc --init` for example the initial file contains comments.

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

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