Closed benny123tw closed 2 years ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Updated |
---|---|---|---|
defaang | ✅ Ready (Inspect) | Visit Preview | Sep 2, 2022 at 10:03PM (UTC) |
Thank you for your contribution. Unfortunately, we can't merge these changes because of the following reasons:
strict
rule in tsconfig
turns on all the strict mode family options
, no need to turn them on individually again..ignore
files are not doing any harm, so let's not change something that's not broken.Hi @iShibi, thanks for the comment.
noUnusedLocals
, noUnusedParameters
, or noImplicitReturns
..ignore
file can keep things clean and not break any things, IMO.Just a suggestion. It's all up to you.
Looks good. Now to pass the vercel build, run npm run type:check
and fix the errors that show up. Most of them are unused variables that you can just remove. In hello.ts
replace req
with an _
Looks good. Now to pass the vercel build, run
npm run type:check
and fix the errors that show up. Most of them are unused variables that you can just remove. Inhello.ts
replacereq
with an_
Done. Should we put npm run type:check
in the commit hook? Because I found that it is hard to debug on Vercel deploy (to someone that is no permission).
I'll add that in a PR I was thinking about creating to add a type check job in the test workflow.
🛠️ Fixes Issue
Closes #154
👨💻 Changes proposed
@typescript-eslint/eslint-plugin
and@typescript-eslint/parser
to ESLinttsconfig
package.json
to check Typescript errorsprettierignore
andeslintignore
📄 Note to reviewers
none
📷 Screenshots
none