Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

When autoFixOnSave is array, items must be strings - #232

Merged
Erich Gamma (egamma) merged 1 commit into
microsoft:masterfrom
adenflorian:master
Jul 25, 2017
Merged

Erich Gamma (egamma) merged 1 commit into
microsoft:masterfrom
adenflorian:master

Conversation

@adenflorian

Copy link
Copy Markdown
Contributor

Was looking into possible validation for the autoFixOnSave setting, and found the items property.

When items is set with a type, and autoFixOnSave is an array, it enforces the items in the array to being that type, and will show a green squiggly under it with a message if it isn't the desired type.

@egamma
Erich Gamma (egamma) merged commit af820d2 into microsoft:master Jul 25, 2017
@egamma

Copy link
Copy Markdown
Member

This is a good find. Thanks!

@egamma Erich Gamma (egamma) modified the milestone: July 2017 Jul 28, 2017
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.

2 participants