Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Comments

Close side panel

Fix linting errors in TypeScript namespace generation#279

Merged
zengin merged 1 commit intodevmicrosoftgraph/MSGraph-SDK-Code-Generator:devfrom
zengin/lintingFixesmicrosoftgraph/MSGraph-SDK-Code-Generator:zengin/lintingFixesCopy head branch name to clipboard
Aug 27, 2020
Merged

Fix linting errors in TypeScript namespace generation#279
zengin merged 1 commit intodevmicrosoftgraph/MSGraph-SDK-Code-Generator:devfrom
zengin/lintingFixesmicrosoftgraph/MSGraph-SDK-Code-Generator:zengin/lintingFixesCopy head branch name to clipboard

Conversation

@zengin
Copy link
Contributor

@zengin zengin commented Aug 27, 2020

Summary

This is fixing the issues found by dtslint. (thanks @nikithauc).

  1. Double empty lines are removed.
  2. export in subnamespace types are removed as they are not needed.

Generated code differences

Code diff can be seen in the test changes.

Command line arguments to run these changes

.\Typewriter.exe -v Info -m 'https://raw.githubusercontent.com/microsoftgraph/msgraph-metadata/master/clean_v10_metadata/cleanMetadataWithDescriptionsv1.0.xml' -o .\TypeScriptLintFixesV1\ -g Files -l TypeScript

.\Typewriter.exe -v Info -m 'https://raw.githubusercontent.com/microsoftgraph/msgraph-metadata/master/clean_beta_metadata/cleanMetadataWithDescriptionsbeta.xml' -o .\TypeScriptLintFixesBeta\ -g Files -l TypeScript

Links to issues or work items this PR addresses

AB#5029

@zengin zengin self-assigned this Aug 27, 2020
Copy link
Collaborator

@MIchaelMainer MIchaelMainer left a comment

Choose a reason for hiding this comment

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

LGTM

@zengin zengin merged commit 01701e3 into dev Aug 27, 2020
@zengin zengin deleted the zengin/lintingFixes branch February 1, 2021 18:39
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.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.