diff --git a/lib/linguist/languages.yml b/lib/linguist/languages.yml index 971b8138eb..8552286763 100644 --- a/lib/linguist/languages.yml +++ b/lib/linguist/languages.yml @@ -3502,6 +3502,7 @@ JSON with Comments: - ".sublime-workspace" - ".sublime_metrics" - ".sublime_session" + - ".tsconfig.json" filenames: - ".babelrc" - ".devcontainer.json" diff --git a/samples/JSON with Comments/jest.tsconfig.json b/samples/JSON with Comments/jest.tsconfig.json new file mode 100644 index 0000000000..1a7bcab03c --- /dev/null +++ b/samples/JSON with Comments/jest.tsconfig.json @@ -0,0 +1,9 @@ +{ + "compilerOptions": { + "jsx": "react", + "target": "ES2019", + "emitDecoratorMetadata": false // coverage broke if true + }, + "include": [], + "exclude": ["node_modules","npm"] +}