Skip to content

fix(visitors): use tsconfig.json if exists in checking function types #258

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 83 commits into from
Jul 6, 2020

Conversation

kimusaku
Copy link
Collaborator

@kimusaku kimusaku commented Jul 6, 2020

No description provided.

kimusaku and others added 30 commits May 9, 2020 22:17
* chore(deps): update typescript-eslint monorepo to v3

* chore(*): update submodules

* chore(*): disable rule '@typescript-eslint/camelcase'

* chore(*): update eslint rules

* disable '@typescript-eslint/explicit-module-boundary-types'
* enable '@typescript-eslint/naming-convention'

Co-authored-by: Renovate Bot <[email protected]>
Co-authored-by: Kosaku Kimura <[email protected]>
renovate-bot and others added 27 commits June 19, 2020 13:25
* fix(deps): update babel monorepo to ^7.10.3

* fix(visitors): fix type guards

* chore(examples): update submodules

* chore(testing): use .mocharc.js

* chore(lint): ignore package.json and package-lock.json

* feat(visitors): improve type checking for general-callback functions

* chore(testing): fix glob pattern

Co-authored-by: Renovate Bot <[email protected]>
Co-authored-by: Kosaku Kimura <[email protected]>
* chore(deps): update dependency @types/js-yaml to v3.12.5

* chore(index): add type assertion for ServerlessConfig

Co-authored-by: Renovate Bot <[email protected]>
Co-authored-by: Kosaku Kimura <[email protected]>
* refactor: remove useless guard

* fix(visitor): correctly assume typing names of scoped modules
…#257)

* fix(visitors): use tsconfig.json if exists in checking function types

* chore(tsconfig): remove typeRoots
@codecov
Copy link

codecov bot commented Jul 6, 2020

Codecov Report

Merging #258 into master will increase coverage by 3.48%.
The diff coverage is 83.62%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #258      +/-   ##
==========================================
+ Coverage   74.98%   78.46%   +3.48%     
==========================================
  Files          26       26              
  Lines        1371     1379       +8     
  Branches      289      286       -3     
==========================================
+ Hits         1028     1082      +54     
+ Misses        226      188      -38     
+ Partials      117      109       -8     
Impacted Files Coverage Δ
src/visitors/asynchronize/asynchronous.ts 100.00% <ø> (ø)
src/visitors/refineFunction/aws.ts 52.54% <0.00%> (-0.91%) ⬇️
src/visitors/uncallbackify.ts 67.39% <25.00%> (-3.07%) ⬇️
src/visitors/functionTypes/visit.ts 80.00% <76.66%> (-4.62%) ⬇️
src/visitors/asynchronize/errorFirstCallback.ts 88.67% <87.87%> (+26.67%) ⬆️
src/visitors/asynchronize/index.ts 95.00% <93.33%> (+14.04%) ⬆️
src/visitors/functionTypes/index.ts 95.23% <93.75%> (-4.77%) ⬇️
src/functionTypes.ts 100.00% <100.00%> (ø)
src/index.ts 84.21% <100.00%> (ø)
src/visitors/asynchronize/generalCallback.ts 92.50% <100.00%> (+38.33%) ⬆️
... and 5 more

@kimusaku kimusaku merged commit 5806bf6 into master Jul 6, 2020
github-actions bot pushed a commit that referenced this pull request Jul 6, 2020
## [0.4.3](v0.4.2...v0.4.3) (2020-07-06)

### Bug Fixes

* **visitors:** use tsconfig.json if exists in checking function types ([#258](#258)) ([5806bf6](5806bf6)), closes [#175](#175) [#176](#176) [#181](#181) [#191](#191) [#235](#235) [#246](#246) [#236](#236) [#243](#243) [#249](#249) [#252](#252) [#255](#255) [#257](#257)
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