Example:
class MyComponent extends React.Component<MyProps, MyState> {
public static displayName = "MyComponent ";
public myMethod() {
console.log(MyComponent.displayName);
}
}
In the example, line 4 is flagged as a static-property-placement violation even though it simply accesses the property.