Skip to content

[suffix-subjects] Subjects with dollar sign ending don't cause an error #109

@JasonWeinzierl

Description

@JasonWeinzierl

The suffix-subjects rule isn't effecting a failure for the following code:

import { Subject } from 'rxjs';

const sourceSubject$ = new Subject<number>();
// Should cause an error because the suffix should be Subject, not Subject$.

It's possible this is intentional, to be compatible with finnish, but I can't tell for sure looking over the history of this rule.

Possibly relevant history:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions