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 Jan 26, 2019. It is now read-only.
When you first start a freshly-scaffolded app, the following warning flashes:
Warning: The 'no-use-before-declare' rule requires type infomation.
This is because --project is not being specified to tslint. It has the implication that any rules that require type information are disabled. In the ejected app's webpack config, adding
I would be interested in implementing this PR, but I don't know where the added options go. (I imagine in packages/react-scripts/config/webpack.config.*.js?)
If @pelotom could elaborate I will definitely open a PR.
Should no longer be a problem due to the inclusion of fork-ts-checker-webpack-plugin, which provides the required ts.Program instance tslint's type-checking.
Note that this is currently only on master, not released.
When you first start a freshly-scaffolded app, the following warning flashes:
This is because
--project
is not being specified totslint
. It has the implication that any rules that require type information are disabled. In the ejected app's webpack config, addingto the
ts-loader
config fixes it.The text was updated successfully, but these errors were encountered: