Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(linter): Fix unicorn/prefer-query-selector to use the correct rep…
…lacement for getElementsByClassName (#7796) Note: This uses a regex to replace multiple instances of whitespace with ` .`. May not be the most performant, so if there's a simple alternative I can change to that instead. cc @camc314, I know this was assigned to you but I just wanted to throw something quick together while I had a minute. Feel free to use this, or decline it and write your own. Fixes #7794. --------- Co-authored-by: Cameron Clark <[email protected]>
- Loading branch information