You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.
I just switched from create-react-app-typescript (which is now deprecated) to CRA 2.1.1 with TypeScript support. There are two gaps I'm trying to address.
I followed the VSCode setup instructions for create-react-app-typescript and it's working great to find lint errors in files that I'm currently editing. But I can't figure out how to lint my entire project, including files that aren't currently open in VSCode, whenever I load my workspace or change a file that might impact other files. Is there a way to do this by default?
The second thing I'm missing from other non-CRA projects is the ability to block npm start if there are lint errors. This comment from @WorldMaker pointed to typescript-tslint-plugin as the missing tslint support in CRA 2.x. Can typescript-tslint-plugin force CRA 2.x's npm start to report lint errors, just like it will for "compiler" errors that are caught by Babel?
The text was updated successfully, but these errors were encountered:
I just switched from
create-react-app-typescript
(which is now deprecated) to CRA 2.1.1 with TypeScript support. There are two gaps I'm trying to address.I followed the VSCode setup instructions for
create-react-app-typescript
and it's working great to find lint errors in files that I'm currently editing. But I can't figure out how to lint my entire project, including files that aren't currently open in VSCode, whenever I load my workspace or change a file that might impact other files. Is there a way to do this by default?The second thing I'm missing from other non-CRA projects is the ability to block
npm start
if there are lint errors. This comment from @WorldMaker pointed totypescript-tslint-plugin
as the missing tslint support in CRA 2.x. Cantypescript-tslint-plugin
force CRA 2.x'snpm start
to report lint errors, just like it will for "compiler" errors that are caught by Babel?The text was updated successfully, but these errors were encountered: