You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like a rule which checks, within a spec, that an object/property pair that are passed to a spyOn call are not then called as a function within the same spec.
Describe alternatives you've considered
Firing my developers hasn't been an option, but I'm working on that...
I could create a custom rule pretty easily (and I probably will), but I wanted to suggest it for eslint-plugin-jasmine since it seems like a use case people would universally want to prevent.
Additional context
N/A
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I'm seeing developers in my codebase do the following absolute nonsense:
Describe the solution you'd like
I would like a rule which checks, within a spec, that an object/property pair that are passed to a
spyOn
call are not then called as a function within the same spec.Describe alternatives you've considered
Firing my developers hasn't been an option, but I'm working on that...
I could create a custom rule pretty easily (and I probably will), but I wanted to suggest it for eslint-plugin-jasmine since it seems like a use case people would universally want to prevent.
Additional context
N/A
The text was updated successfully, but these errors were encountered: