Constant arrays are not correctly formatted
Posted: September 21st, 2017, 3:53 pm
When constant arrays are used, the autoformatter will constantly try to remove indentation in the array.
For example, the following constant array:
Will keep turning into this:
Which is rather annoying. Please fix it when you get a chance.
Regards,
For example, the following constant array:
- Code: Select all
const CONSTANT_ARRAY = [
1 => 1,
2 => 2,
3 => 3,
];
Will keep turning into this:
- Code: Select all
const CONSTANT_ARRAY = [
1 => 1,
2 => 2,
3 => 3,
];
Which is rather annoying. Please fix it when you get a chance.
Regards,