If we use the bottom paths we can more accurately use the ignorePaths prop in i18n-unused.config.js as the full path from pathFromSrc would never match with any strings in the ignorePaths string array.
I also added some basic tests. let me know if you want any changes :)
In i18n-unused.config.js I had the following properties.
fullBasePath and pathFromSrc from lines 86, and 87 respectively would then be the following
Instead they should be something like:
If we use the bottom paths we can more accurately use the
ignorePaths
prop in i18n-unused.config.js as the full path from pathFromSrc would never match with any strings in the ignorePaths string array.I also added some basic tests. let me know if you want any changes :)