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

[App Config] Fix linting errs on missing return types #13687

Merged
4 commits merged into from
Feb 9, 2021

Conversation

ramya-rao-a
Copy link
Contributor

No description provided.

@ghost ghost added the App Configuration Azure.ApplicationModel.Configuration label Feb 9, 2021
@ramya-rao-a
Copy link
Contributor Author

/azp run js - app-configuration - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@ghost
Copy link

ghost commented Feb 9, 2021

Hello @ramya-rao-a!

Because this pull request has the auto-merge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

@ramya-rao-a
Copy link
Contributor Author

/azp run js - app-configuration - tests

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Comment on lines +139 to 140
// eslint-disable-next-line @typescript-eslint/no-empty-function
addEventListener: () => {},
Copy link
Member

Choose a reason for hiding this comment

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

I think this would satisfy the rule.

Suggested change
// eslint-disable-next-line @typescript-eslint/no-empty-function
addEventListener: () => {},
addEventListener: () => { /* empty function */ },

Comment on lines +141 to 142
// eslint-disable-next-line @typescript-eslint/no-empty-function
removeEventListener: () => {}
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
// eslint-disable-next-line @typescript-eslint/no-empty-function
removeEventListener: () => {}
removeEventListener: () => { /* empty function */ }

Comment on lines +152 to 153
// eslint-disable-next-line @typescript-eslint/no-empty-function
validateRequestProperties: () => {},
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
// eslint-disable-next-line @typescript-eslint/no-empty-function
validateRequestProperties: () => {},
validateRequestProperties: () => { /* empty function */ },

@@ -270,7 +273,7 @@ describe("helper methods", () => {
"value"
]);

assert.ok(formatFieldsForSelect(undefined) == undefined);
assert.ok(formatFieldsForSelect(undefined) === undefined);
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
assert.ok(formatFieldsForSelect(undefined) === undefined);
assert.isUndefined(formatFieldsForSelect(undefined));

@ghost ghost merged commit aec723f into Azure:master Feb 9, 2021
openapi-sdkautomation bot pushed a commit to AzureSDKAutomation/azure-sdk-for-js that referenced this pull request Mar 29, 2021
correct changeanalysis typescript.md (Azure#13687)
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
App Configuration Azure.ApplicationModel.Configuration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants