question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Docs] Improve finnish rule documentation

See original GitHub issue

Context:

Hello! In my project, I use this configuration:

rxjs/finnish:
  - warn
  - functions: true
    methods: true
    names:
      ^canActivate$: false
      ^canActivateChild$: false
      ^canDeactivate$: false
      ^canLoad$: false
      ^intercept$: false
      ^resolve$: false
      ^validate$: false
      ^transform$: false
    parameters: true
    properties: true
    strict: true # Culprit
    types:
      ^EventEmitter$: false
      ^Store$: false
      ^Actions$: false
    variables: true

The types white-list was not working due to strict at true.
Using it to false fixed my issue.

I have struggled to understand from the documentation what is the difference between using this option at false or at true.

Suggestion:

Could you add more details regarding this option in the documentation? Thanks!

Link: https://github.com/cartant/eslint-plugin-rxjs/blob/main/docs/rules/finnish.md

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
cartantcommented, Oct 4, 2021

Actually, I’ll remove the negatives to make things simpler:

… a strict property that, if true, allows the $ suffix to be used only with identifiers that have an Observable type.

Of course, I still think this is likely to be a bug.

0reactions
cartantcommented, Oct 15, 2021

No worries.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Finnish - Sailfish OS Documentation
For general guidelines on correct Finnish usage, you may consult the following resources, ... Respect capitalisation rules of the language in question.
Read more >
Adoption of Pedagogical Documentation in Finnish ECEC ...
We approach pedagogical documentation through a theoretical framework that emphasises the role of participation in qualitative ECEC. We also ...
Read more >
The eight rules of good documentation - O'Reilly
Write documentation that has repetition, when useful. Write documentation that is up-to-date.
Read more >
Finland | DocuSign
Under Finnish law, a written signature is not necessarily required ... HR documents, such as employment contracts, benefits paperwork and ...
Read more >
Finland's progress in strengthening measures to tackle ... - FATF
5 October 2021 - Since the 2019 assessment of Finland's measures to tackle money laundering and terrorist financing, the country has taken a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found