I am currently utilizing TypeScript in combination with eslint.
eslint has the capability to format the code snippet below:
var a=2
into:
var a = 2
However, this formatting does not apply when the variable a
is a part of a class like shown below:
class Hello {
a=2
}
Is there a way for me to configure eslint so that it includes spaces around the equal sign?