tslint-consistent-codestyle
tslint-consistent-codestyle copied to clipboard
private lambda assigned properties
Is there currently a way to specify the naming convention of a instance property that is assigned a function?
example
class Blah {
// need underscore
private _testVat = 0;
// don't want underscore
private test = (): void => { };
}
Any news on this?
Sorry for not answering for so long. This one totally slipped through.
It's currently not possible to configure the requested behavior. Something similar exists for variables that are assigned a function. That option is called functionVariable
. However, no such thing exists for properties, yet.
I may put a PR for this since.