This PR adds new options configName and configNames to TSConfckFindOptions and TSConfckFindAllOptions respectively.
Passing jsconfig.json there is going to search for the closest jsconfig.json file instead of tsconfig.json.
Additionally if a config has allowJs: true in compilerOptions, the default extensions applied to glob patterns for matching files also include .js, .mjs, .cjsand .jsx.
fixes #87
This PR adds new options
configName
andconfigNames
to TSConfckFindOptions and TSConfckFindAllOptions respectively. Passingjsconfig.json
there is going to search for the closest jsconfig.json file instead of tsconfig.json.Additionally if a config has
allowJs: true
in compilerOptions, the default extensions applied to glob patterns for matching files also include.js
,.mjs
,.cjs
and.jsx
.