mirror of
https://github.com/luxfi/safe-wallet.git
synced 2026-07-26 22:53:37 +00:00
* chore: simplify lint-staged prettier to run on staged files only Previously each workspace had its own lint-staged rule that ran `prettier --write .` (formatting the entire workspace directory). This replaces all 6 rules with a single glob that runs prettier only on the staged files, and adds coverage for markdown, JSON, CSS, and YAML files. Co-authored-by: Hanzo Dev <dev@hanzo.ai> * chore: drop expo-module-scripts from notification-service-ios Only used for tsconfig.plugin base config. Replaced with the shared monorepo base tsconfig plus CommonJS overrides for Node.js prebuild compatibility. This removes the transitive jest-snapshot-prettier (prettier@^2) dep that was shadowing the root prettier@3.6.2 binary. Co-authored-by: Hanzo Dev <dev@hanzo.ai> * chore: simplify lint-staged to format all staged files Use **/* with --ignore-unknown instead of an explicit extension list. Prettier decides what it can format and skips the rest. Co-authored-by: Hanzo Dev <dev@hanzo.ai> --------- Co-authored-by: Hanzo Dev <dev@hanzo.ai>
8 lines
247 B
JavaScript
8 lines
247 B
JavaScript
export default {
|
|
'**/*': ['prettier --write --ignore-unknown'],
|
|
'apps/mobile/assets/fonts/safe-icons/safe-icons.icomoon.json': [
|
|
'node ./apps/mobile/scripts/generateIconTypes.js',
|
|
'git add ./apps/mobile/src/types/iconTypes.ts',
|
|
],
|
|
}
|