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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor lint tweaks #4693

Merged
merged 1 commit into from
May 8, 2020
Merged

Minor lint tweaks #4693

merged 1 commit into from
May 8, 2020

Conversation

XhmikosR
Copy link
Member

@XhmikosR XhmikosR commented Apr 6, 2020

  • simplify regex
  • use Unicode escape in regex
  • use trimStart() instead of the trimLeft() alias
  • remove unneeded path separator from imports

I split these from the xo branch, let me know if you want me to make any changes 馃檪

PS. I didn't change the 0-9 to \d in regex for now since I wasn't sure if everyone would like this change.

@XhmikosR XhmikosR force-pushed the master-xmr-lint branch 2 times, most recently from 1ee0c78 to 47da955 Compare April 11, 2020 18:41
* simplify regex
* use Unicode escape in regex
* use `trimStart()` instead of the `trimLeft()` alias
* remove unneeded path separator from imports
@jeddy3
Copy link
Member

jeddy3 commented May 6, 2020

@XhmikosR Is this a draft or ready for review?

@XhmikosR
Copy link
Member Author

XhmikosR commented May 6, 2020

I forgot I had it as draft. It's ready.

@XhmikosR XhmikosR marked this pull request as ready for review May 6, 2020 15:48
Copy link
Member

@jeddy3 jeddy3 left a comment

Choose a reason for hiding this comment

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

LGTM, thanks.

@jeddy3 jeddy3 mentioned this pull request May 6, 2020
6 tasks
Copy link
Member

@hudochenkov hudochenkov left a comment

Choose a reason for hiding this comment

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

What are these ESLint rules? Shouldn't they be enabled in this PR? Or there will be a followup PR to ESLint config repo?

@XhmikosR
Copy link
Member Author

XhmikosR commented May 6, 2020

I split these from the xo branch, let me know if you want me to make any changes 馃檪

@hudochenkov ^^

@hudochenkov hudochenkov merged commit b0ccadd into master May 8, 2020
@hudochenkov hudochenkov deleted the master-xmr-lint branch May 8, 2020 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants