Skip to content

Latest commit

 

History

History
42 lines (25 loc) · 1.2 KB

no-finnish.md

File metadata and controls

42 lines (25 loc) · 1.2 KB

Disallow Finnish notation (rxjs-x/no-finnish)

💭 This rule requires type information.

This rule prevents the use of Finnish notation.

Rule details

Examples of incorrect code for this rule:

const answer$ = of(42, 54);

Examples of correct code for this rule:

const answers = of(42, 54);

When Not To Use It

If you use Finnish notation in your project, you should avoid this rule. Or if you don't care if Finnish notation is used in your project, then you don't need this rule. However, keep in mind that inconsistent style can harm readability in a project.

Type checked lint rules are more powerful than traditional lint rules, but also require configuring type checked linting.

Further reading

Related To

Resources