Automatic spacing of es6 method params
Hi,
I have a React ES6 functional component with props destructured one per line,
I want the formatting to be like this:
const foo = ({
param1,
param2,
param3,
param4,
}) => (
but Webstorm automatically formats it like this:
const foo = ({
param1,
param2,
param3,
param4,
}) => (
Where do I set this config to get the spacing (not tabs) that I need to comply with coding standards?
Thanks!
Please sign in to leave a comment.
Please make sure that the option to align function parameters is disabled (Wrapping and Braces | Function declaration parameters | Align when multiline)
Perfect. Thanks!!!