github / github/codeql

Does not allow comments in tsconfig.json

Offen
#13,039 1 Kommentar 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
false-positive
Vorherrschende Sprache
CodeQL
Sterne
10.1k
Forks
2.1k
Ø Merge
2 T. 15 Std.
Gemergte PRs (30 T.)
141

Beschreibung

**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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.