github / github/codeql

Does not allow comments in tsconfig.json

Open
#13,039 1 comment 1 reaction 0 assignees View on GitHub
false-positive
Dominant language
CodeQL
Stars
10.1k
Forks
2.1k
Avg merge
2d 15h
Merged PRs (30d)
141

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.