You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 3, 2024. It is now read-only.
constO={};// => error Declare one or more properties of this object inside of the object literal syntax instead of using separate statements sonarjs/prefer-object-literalO.self=O;
The problem is that we can't define self references in the object literal. Sure, it can be worked around - but the error in this case is not what is expected from this rule.
The text was updated successfully, but these errors were encountered:
The problem is that we can't define self references in the object literal. Sure, it can be worked around - but the error in this case is not what is expected from this rule.
The text was updated successfully, but these errors were encountered: