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

When autoFixOnSave is array, items must be strings #232

Merged
merged 1 commit into from
Jul 25, 2017

Conversation

adenflorian
Copy link
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 egamma merged commit af820d2 into microsoft:master Jul 25, 2017
@egamma
Copy link
Member

egamma commented Jul 25, 2017

This is a good find. Thanks!

@egamma 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
2 participants