Skip to content
This repository was archived by the owner on Jan 5, 2026. It is now read-only.

fix: [#4204] Fix remaining eslint warnings - botbuilder-dialogs (2/2)#4232

Merged
tracyboehrer merged 3 commits intomainfrom
southworks/fix/eslint-botbuilder-dialogs-2
Jul 13, 2022
Merged

fix: [#4204] Fix remaining eslint warnings - botbuilder-dialogs (2/2)#4232
tracyboehrer merged 3 commits intomainfrom
southworks/fix/eslint-botbuilder-dialogs-2

Conversation

@ceciliaavila
Copy link
Collaborator

Addresses #4204
#minor

Description

This PR fixes the ESLint and JSDoc issues in the botbuilder-dialogs library.

Note: we excluded the @typescript-eslint/no-explicit-any and @typescript-eslint/explicit-module-boundary-types to tackle those issues as a separate task as they require deeper analysis and testing.

Specific Changes

  • Applied auto-fixes with yarn lint --fix
    • Add trailing commas.
    • Fix spacing.
    • Fix indentation.
    • Add blank line in between comments.
    • Fix quoting.
    • Replace arrow functions: () => with function ().
    • Replace let with const.
  • Applied manual fixes for:
    • Missing documentation.
    • Unused parameters and imports.
    • Replacing hasOwnProperty calls.
    • Fixing lodash imports.
  • Updated methods documentation in botbuilder-dialogs.api.md.

Testing

Here we can see the eslint status before and after.
image

@ceciliaavila ceciliaavila requested a review from a team as a code owner May 4, 2022 20:36
@coveralls
Copy link

coveralls commented May 4, 2022

Pull Request Test Coverage Report for Build 2656834622

  • 7 of 8 (87.5%) changed or added relevant lines in 4 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.003%) to 84.479%

Changes Missing Coverage Covered Lines Changed/Added Lines %
libraries/botbuilder-dialogs/src/dialogSet.ts 3 4 75.0%
Totals Coverage Status
Change from base Build 2656737347: -0.003%
Covered Lines: 19904
Relevant Lines: 22312

💛 - Coveralls

@tracyboehrer tracyboehrer merged commit 134d367 into main Jul 13, 2022
@tracyboehrer tracyboehrer deleted the southworks/fix/eslint-botbuilder-dialogs-2 branch July 13, 2022 18:20
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.

3 participants