Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

Latest commit

 

History

History
22 lines (13 loc) · 668 Bytes

README.MD

File metadata and controls

22 lines (13 loc) · 668 Bytes

lingui-locale-cleaner

Warning

You can now achieve the same result with the latest version of Lingui. This going to be obsolete from now on.


Simple script which removes lines with source code line numbers from .po files generated by @lingui/react. And makes Code Reviews easier.

How to use

  1. Install this dependency: npm i @trisbee/lingui-locale-cleaner
  2. Run command lingui-locale-cleaner <path_to_locale_directory>

Example of annoying code review

cr

and after using @trisbee/lingui-locale-cleaner:

after