sloops77 / eslint-plugin-better-mutation

Eslint rules to enforce function-scope mutation only
MIT License
20 stars 6 forks source link

Object returned from function should be considered local? #26

Closed danatemple closed 3 months ago

danatemple commented 3 years ago

This code should not throw an error I think, as the keys array is locally generated:

    Object.keys(myObject).sort(mySortFn)
sloops77 commented 3 months ago

Addressed in #70