Fix error: Unknown compiler option ‘allowImportingTsExtensions’. Using Sonarqube with React and TypeScript

Tiempo de lectura: < 1 minuto

Today we are going to solve the error Unknown compiler option ‘allowImportingTsExtensions’ that appears when trying to analyze a TypeScript project with SonarQube and React.

The error is found in tsconfig.json of the React project, it is fixed by removing the following line:

allowImportingTsExtensions": true,

Leave a Comment