Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't override non-observables in finnish with strict enabled #123

Open
TheKoTech opened this issue Nov 3, 2023 · 0 comments
Open

Can't override non-observables in finnish with strict enabled #123

TheKoTech opened this issue Nov 3, 2023 · 0 comments

Comments

@TheKoTech
Copy link

If strict is true, there is no way of allowing $ postfix for non-observables

'rxjs/finnish': [
  'error',
  {
    strict: true,
    names: {
      '^(IS_MOBILE_MODE)': true,
    },
  },
],
// Error: Finnish notation should not be used here.
export const IS_MOBILE_MODE$ = new InjectionToken<Observable<boolean>>('IS_MOBILE_MODE$',  { ... });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant