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

Fix suppressed eslint issues #750

Merged
merged 4 commits into from
May 25, 2023
Merged

Fix suppressed eslint issues #750

merged 4 commits into from
May 25, 2023

Conversation

nimbleghost
Copy link
Contributor

@nimbleghost nimbleghost commented May 24, 2023

I kept the changes in the eslint PR to a minimum of simple logic preserving fixes, these could potentially change/break behaviour but are likely correct. Better to review separately.

@codecov-commenter
Copy link

codecov-commenter commented May 24, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (c16da26) 65.76% compared to head (da17e4e) 65.76%.

❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #750   +/-   ##
=======================================
  Coverage   65.76%   65.76%           
=======================================
  Files          50       50           
  Lines        7332     7332           
=======================================
  Hits         4822     4822           
  Misses       1725     1725           
  Partials      785      785           

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@binwiederhier
Copy link
Owner

Rebased in #753 -- I'll review this tomorrow. My eyes are getting tired. Good stuff!

@nimbleghost
Copy link
Contributor Author

Rebased in #753

Also updated this branch now if you want to reuse this PR :)

}
return true;
};
const emojiMatches = (emoji, words) => words.length === 0 || words.some((word) => emoji.searchBase.includes(word));
Copy link
Owner

Choose a reason for hiding this comment

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

Nit: I don't care enough to revert this, but this is freaking awful :-) It's 100% less readable than the version before. And readability is king.

@binwiederhier binwiederhier merged commit 3101f93 into binwiederhier:main May 25, 2023
@nimbleghost nimbleghost deleted the web-improvements branch May 25, 2023 12:15
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