Skip to content

Instantly share code, notes, and snippets.

View johnscliang's full-sized avatar

John S C LIANG johnscliang

View GitHub Profile
@just-boris
just-boris / README.md
Last active May 13, 2022 11:16
Use lint-staged to check file sizes

File size checker

Prevents you from accidentially commenting very big assets. Make sure that you have optimized all your assets.

Installation

  1. Add the script to your repo
  2. Configure lint-staged