chore: Apply linting rules and add git hok (#611)

Co-authored-by: Fredrik Burmester <fredrik.burmester@gmail.com>
This commit is contained in:
lostb1t
2025-03-16 18:01:12 +01:00
committed by GitHub
parent 2688e1b981
commit 92513e234f
268 changed files with 9197 additions and 8394 deletions

View File

@@ -14,12 +14,15 @@ const withChangeNativeAndroidTextToWhite = (expoConfig) =>
"main",
"res",
"values",
"styles.xml"
"styles.xml",
);
let stylesXml = readFileSync(stylesXmlPath, "utf8");
stylesXml = stylesXml.replace(/@android:color\/black/g, "@android:color/white");
stylesXml = stylesXml.replace(
/@android:color\/black/g,
"@android:color/white",
);
writeFileSync(stylesXmlPath, stylesXml, { encoding: "utf8" });
}
@@ -27,4 +30,4 @@ const withChangeNativeAndroidTextToWhite = (expoConfig) =>
},
]);
module.exports = withChangeNativeAndroidTextToWhite;
module.exports = withChangeNativeAndroidTextToWhite;