How can I adjust indentation settings for Javascript object destructuring?
When I have use multiline ES6 object decomposition in Javascript, I end up with the following indentation formatting:
I want it to look like this:
but I can't seem to find a setting to control that. Does anybody know what setting might help me here?
const {
prop1,
prop2
} = ObjectWithProps;
I want it to look like this:
const {
prop1,
prop2
} = ObjectWithProps;
but I can't seem to find a setting to control that. Does anybody know what setting might help me here?
Please sign in to leave a comment.