Skip to content

loosen TS compiler config for noUnusedLocals #61

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 20, 2019

Conversation

AllanZhengYP
Copy link
Contributor

In some circumstances(e.g. endpoints.ts), it's very hard to infer which variable won't be used in the codegen, so we loose the ts config requirement to make the build pass.

Later on, we shoud introduce TS linter(like prettier) to remove ununsed variables in the codegen script.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@kstich kstich merged commit 0fa51ff into smithy-lang:master Dec 20, 2019
srchase pushed a commit that referenced this pull request Mar 23, 2023
* Add buildspec.yml to orchestrate pull request testing

* Ensure all packages have the correct types at their disposal

* Prep SNS Message validator for upgrade to Jest 21 and ensure the CPU-intensive test has an adequate timeout

* Ensure everything still compiles even with TypeScript 2.6's strict function types

* Match any 32-char hex string for temp directories rather than mocking out crypto.randomBytes
srchase pushed a commit that referenced this pull request Jun 16, 2023
* Add buildspec.yml to orchestrate pull request testing

* Ensure all packages have the correct types at their disposal

* Prep SNS Message validator for upgrade to Jest 21 and ensure the CPU-intensive test has an adequate timeout

* Ensure everything still compiles even with TypeScript 2.6's strict function types

* Match any 32-char hex string for temp directories rather than mocking out crypto.randomBytes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants