eslint-plugin-perfectionist
eslint-plugin-perfectionist copied to clipboard
fix(sort-classes): fixes runtime error related to dependencies
Fixes #300 .
Description
Fixes possible runtime errors due to function body dependencies not being considered when passing callback functions in property assignments. Issue possibly affects static
block as well in some cases. One test affected had to be updated.
What is the purpose of this pull request?
- [x] Bug fix