Can you explain what you mean by "does not apply"?

ESLint rules aren't context-aware, so the rule has no idea that you're
using Jasmine.

On Tue, May 17, 2022 at 1:35 PM Joseph Carneiro <[email protected]>
wrote:

> Hey, everyone,
>
> I noticed when using "arrow-body-style": ["error, "as-needed"] that the
> rule does not apply to Jasmine it test closures.  For example:
>
> it('should be created', () => {
>   expect(service).toBeTruthy();
> });
>
> Should be an error, but the linter is silent.  Does anyone have any idea
> why this is the case?
>
> --
> You received this message because you are subscribed to the Google Groups
> "ESLint" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/eslint/2a0a03bd-193b-4351-ab77-69099efa06f9n%40googlegroups.com
> <https://groups.google.com/d/msgid/eslint/2a0a03bd-193b-4351-ab77-69099efa06f9n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"ESLint" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/eslint/CAOkd9hny43H-BkZ5edGs1FWQPQpLHSUfjyMTVGf8dE5ucaq4sw%40mail.gmail.com.

Reply via email to