mirror of
https://github.com/luxfi/safe-wallet.git
synced 2026-10-30 15:19:21 +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. * 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 [email protected] binary. * 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 <[email protected]>
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',
|
|
],
|
|
}
|