const path = require("path"); /** * # Regex for translation keys * This regex matches the following function calls: * 1. `t("")`, * 2. `t("", {key: ""})`, or * 3. `` * * It also ensure that we don't match any other similar function calls (e.g. `format("dddd")`). * * ## Explanation of the regex * - (?` * * */ const translationKeyRegex = /(?