Buscador de complementos para Firefox
  • Extensiones
  • Temas
    • para Firefox
    • Diccionarios y paquetes de idiomas
    • Otros sitios de navegadores
    • Complementos para Android
Iniciar sesión
Vista previa de GitHub: Better Line Counts

GitHub: Better Line Counts por Aaron

Remove generated files from the total line counts on GitHub PRs

5 (1 reviews)5 (1 reviews)
21 Users21 Users
Necesitarás Firefox para usar esta extensión
Descarga Firefox y obtiene la extensión
Descargar archivo

Metadata de la extensión

Capturas de pantalla
Sobre esta extensión
Isn't it annoying when you open a small PR, but when you look at the diff, it's +2000 -16 because you installed a new library? Or what if you had to review that PR, don't line counts like that dissuade you from starting the review?

In reality, lots of code is generated nowadays and GitHub's line counts are not representative of a PR's true size.

This extension subtracts generated files from the total line counts, giving you a better idea of how big a PR really is. That's it. That's all it does.

Generated files are detected from the branch's root .gitattributes file. See GitHub's docs to learn how to mark a file as generated: https://docs.github.com/en/repositories/working-with-files/managing-files/customizing-how-changed-files-appear-on-github

For a simple example, checkout this extension's .gitattributes file! https://github.com/aklinker1/github-better-line-counts/blob/main/.gitattributes

---

The extension is open source. Feel free to contribute if you have any ideas or just star it 😀
https://github.com/aklinker1/github-better-line-counts
Rated 5 by 1 reviewer
Inicia sesión para evaluar esta extensión
Todavía no hay valoraciones

Se guardó la valoración

5
1
4
0
3
0
2
0
1
0
Leer 1 revisiones
Permissions and dataSaber más

Permisos requeridos:

  • Acceder a tus datos en los sitios del github.com dominio
  • Acceder a tus datos para api.github.com
Más información
Enlaces del complemento
  • Página de inicio
  • Ayuda del sitio
Versión
1.7.7
Tamaño
140,49 KB
Última actualización
hace 6 meses (30 de mar. de 2025)
Categorías relacionadas
  • Apariencia
Licencia
MIT License
Historial de versiones
  • Ver todas las versiones
Añadir a la colección
Informar sobre este complemento
Más extensiones de Aaron
  • Todavía no hay valoraciones

  • Todavía no hay valoraciones

  • Todavía no hay valoraciones

  • Todavía no hay valoraciones

  • Todavía no hay valoraciones

  • Todavía no hay valoraciones

Ir a la página de inicio de Mozilla

Complementos

  • Acerca de
  • Blog de complementos de Firefox
  • Taller de extensiones
  • Central del desarrollador
  • Normativas para desarrolladores
  • Blog de la comunidad
  • Foro
  • Informar de un error
  • Guía de revisión

Navegadores

  • Desktop
  • Mobile
  • Enterprise

Productos

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Privacidad
  • Cookies
  • Legal

A menos que se indique lo contrario, el contenido de este sitio está licenciado bajo la licencia Creative Commons Reconocimiento Compartir-Igual v3.0 o una versión posterior.