Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: search and replace improvements #31

Merged
merged 13 commits into from
May 2, 2024

Conversation

shihanwan
Copy link
Contributor

No description provided.

@noqcks noqcks added the release label Apr 25, 2024
@shihanwan shihanwan force-pushed the search-and-replace-improvements branch from 4772c77 to 325eb86 Compare April 26, 2024 15:55
@shihanwan shihanwan removed the release label Apr 26, 2024
@noqcks noqcks self-requested a review April 26, 2024 21:20
@shihanwan shihanwan changed the title Search and replace improvements feat: search and replace improvements May 2, 2024
@shihanwan shihanwan changed the title feat: search and replace improvements refactor: search and replace improvements May 2, 2024
const countIndents = (line: string) => {
let count = 0;
// eslint-disable-next-line @typescript-eslint/prefer-for-of
for (let i = 0; i < line.length; i++) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can use for (const char of line) here

@shihanwan shihanwan force-pushed the search-and-replace-improvements branch from 52ad617 to 8883a19 Compare May 2, 2024 18:27
@shihanwan shihanwan requested a review from zlalvani May 2, 2024 18:28
@shihanwan shihanwan merged commit 92e2c94 into main May 2, 2024
8 checks passed
@shihanwan shihanwan deleted the search-and-replace-improvements branch May 2, 2024 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants