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

fix: [#2745] Fix current eslint warnings - botbuilder-dialogs-adaptive library - src & conditions #4069

Conversation

sw-joelmut
Copy link
Collaborator

Adresses #2745
#minor

Description

When reviewing the botbuilder-js project, it was found that eslint is showing several warnings for the botbuilder-dialogs-adaptive library.

Specific Changes

  • Replaced strings quotes with the correct one depending on the case
  • Replaced hasOwnProperty with Object.prototype.hasOwnProperty.call
  • Adjusted formatting
  • Limited importing scopes
  • Added missing jsdocs documentation for parameters and returns for functions
  • Removed unused variables

Testing

Eslint with no warnings and tests passed
image

@sw-joelmut sw-joelmut requested a review from a team as a code owner January 20, 2022 19:49
@coveralls
Copy link

coveralls commented Jan 20, 2022

Pull Request Test Coverage Report for Build 1729055735

  • 5 of 5 (100.0%) changed or added relevant lines in 4 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.003%) to 84.545%

Totals Coverage Status
Change from base Build 1725520852: -0.003%
Covered Lines: 19667
Relevant Lines: 22035

💛 - Coveralls

Copy link
Contributor

@mrivera-ms mrivera-ms left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sw-joelmut, I don't see a lint rule recommending the change to dependencies. Please see my question below.

@mrivera-ms mrivera-ms merged commit fdd51fd into main Feb 3, 2022
@mrivera-ms mrivera-ms deleted the southworks/fix/eslint/botbuilder-dialogs-adaptive/src&conditions branch February 3, 2022 23:49
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.

4 participants