Heres the line I'd like to demonstrate my problem with:
return heroes.length > 0 ? Math.max(...heroes.map(hero => hero.id)) + 1: 11;
At least this is the way I'd like it. Instead when I save the file, it gets turned into this:
return heroes.length > 0
? Math.max(...heroes.map(hero => hero.id)) + 1
: 11;
The extensions I have installed, are:
In the essentials package:
The settings that I have tried to modify (in their current form):
"editor.wordWrap": "off",
"editor.wordWrapColumn": 500,
"editor.minimap.maxColumn": 500,
"html.format.wrapLineLength": 500,
"prettier.printWidth": 500,
I know that some of these fairly obviously have nothing to do with it, I just desperately tried everything that seemed remotely related.
I suspect it might be the ESLINT extension that does this (which is included in the angular essentials extension package), I just couldn't find a way to disable it or extend it to more characters.