Skip to content
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

style: Enable method-signature-style TypeScript ESLint rule #1584

Merged
merged 8 commits into from
Oct 26, 2023

Conversation

georgecwan
Copy link
Contributor

Added method-signature-style rule to ESLint rules with default property mode.

Resolves #1578

@georgecwan georgecwan requested a review from mofojed October 19, 2023 15:06
@georgecwan georgecwan self-assigned this Oct 19, 2023
@georgecwan georgecwan marked this pull request as draft October 19, 2023 15:19
@georgecwan georgecwan removed the request for review from mofojed October 19, 2023 15:19
@georgecwan georgecwan marked this pull request as ready for review October 23, 2023 14:18
@codecov
Copy link

codecov bot commented Oct 23, 2023

Codecov Report

Attention: 23 lines in your changes are missing coverage. Please review.

Comparison is base (54f7cc5) 46.74% compared to head (24edf02) 46.74%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1584   +/-   ##
=======================================
  Coverage   46.74%   46.74%           
=======================================
  Files         583      583           
  Lines       36256    36256           
  Branches     9072     9072           
=======================================
  Hits        16947    16947           
  Misses      19257    19257           
  Partials       52       52           
Flag Coverage Δ
unit 46.74% <23.33%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
packages/code-studio/src/settings/ShortcutItem.tsx 0.00% <ø> (ø)
...de-studio/src/settings/ShortcutsSectionContent.tsx 6.97% <ø> (ø)
packages/code-studio/src/styleguide/Inputs.tsx 56.52% <ø> (-0.93%) ⬇️
packages/components/src/AutoCompleteInput.tsx 0.00% <ø> (ø)
packages/components/src/ComboBox.tsx 22.66% <ø> (ø)
packages/components/src/CustomTimeSelect.tsx 0.00% <ø> (ø)
packages/components/src/DateInput.tsx 0.00% <ø> (ø)
packages/components/src/DateTimeInput.tsx 69.04% <ø> (ø)
packages/components/src/DebouncedSearchInput.tsx 0.00% <ø> (ø)
packages/components/src/DragUtils.ts 82.75% <100.00%> (ø)
... and 46 more

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@georgecwan georgecwan requested a review from mattrunyon October 23, 2023 20:41
@georgecwan georgecwan force-pushed the 1578-eslint-method-signature branch from d8a923a to 3d93c0f Compare October 23, 2023 20:49
@georgecwan georgecwan force-pushed the 1578-eslint-method-signature branch from 3d93c0f to 7e2ce8d Compare October 23, 2023 20:52
packages/code-studio/src/styleguide/Dialog.tsx Outdated Show resolved Hide resolved
packages/iris-grid/src/GotoRow.tsx Outdated Show resolved Hide resolved
@georgecwan georgecwan force-pushed the 1578-eslint-method-signature branch from e8aee14 to 24edf02 Compare October 26, 2023 16:35
@georgecwan georgecwan requested a review from mattrunyon October 26, 2023 19:41
@mattrunyon
Copy link
Collaborator

Good work! Looks like this caught a few places where our types weren't quite correct and we could have potentially done something not safe in the future

@georgecwan georgecwan merged commit b065f1c into deephaven:main Oct 26, 2023
5 checks passed
@georgecwan georgecwan deleted the 1578-eslint-method-signature branch October 26, 2023 20:31
@github-actions github-actions bot locked and limited conversation to collaborators Oct 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enable method-signature-style TypeScript ESLint rule
2 participants