Skip to content

Here's what's popular on GitHub today...

oppia
Trending repository
U8NWXD
U8NWXD commented Dec 25, 2020

To improve the quality of our end-to-end testing code, we want to create lint checks for common bad practices. If you would like to help with this issue, please leave a comment on this issue with the task you want to work on.

How to Write E2E Lint Checks

  1. First think about how you can identify the bad practice based solely on the text of the code. Imagine you get a code file as a string
Trending repository
Falci
Falci commented May 29, 2020

Is your feature request related to a problem? Please describe.
Problem: I'd like to dynamically import scripts as <script> tags.

Describe the solution you'd like
Proposal:

const useScript = ({ url, id, type = 'text/javascript', async = true }) => {
    const [ready, setReady] = React.useState(false);
    const [failed, setFailed] = React.useState(false);

    R
GitHub Skyline
Staff pick

View a 3D model of your GitHub contribution graph. Share it, print it, and more!

Scala logo
Popular topic
Scala is an object-oriented programming language.
App recommended by GitHub

Imgbot

Imgbot is a friendly robot that optimizes your images and saves you time. Optimized images mean smaller file sizes without sacrificing quality.

Shortly after installing Imgbot, you will receive a pull request with all of your images optimized. Just merge the pull request and you’re done! As you work on your project, Imgbot works alongside you to keep your images optimized.

Imgbot uses lossless compression by default.

Trending repository
Sentry screenshot
App recommended by GitHub

Sentry

Sentry provides real-time crash reporting, giving your team insight into errors affecting your customers in production. Sentry supports dozens of languages and frameworks and is trusted by thousands of companies like Pinterest, Uber, Stripe, Dropbox, and Airbnb.

Sentry doesn't just alert you to errors, but integrates into your GitHub development flow by linking errors to the commit and author likely responsible, creating new GitHub Issues, and resolving errors with commit message.