Skip to content

Commit

Permalink
Change yarn format script name (#3053)
Browse files Browse the repository at this point in the history
## Description

Since we do support `macOS` now, I think that `yarn format:apple` suits better than `format:ios`.

## Test plan

Run formatter I guess 🤷‍♀️
  • Loading branch information
m-bert authored Aug 22, 2024
1 parent 7346c2f commit f9e9db7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"ts-check": "yarn tsc --noEmit",
"format:js": "prettier --write --list-different './{src,example,FabricExample,MacOSExample}/**/*.{js,jsx,ts,tsx}'",
"format:android": "node ./scripts/format-android.js",
"format:ios": "find apple/ -iname *.h -o -iname *.m -o -iname *.cpp -o -iname *.mm | xargs clang-format -i",
"format:apple": "find apple/ -iname *.h -o -iname *.m -o -iname *.cpp -o -iname *.mm | xargs clang-format -i",
"lint:js": "eslint --ext '.js,.ts,.tsx' src/ example/src FabricExample/src MacOSExample/src && yarn prettier --check './{src,example,FabricExample,MacOSExample}/**/*.{js,jsx,ts,tsx}'",
"lint:js-root": "eslint --ext '.js,.ts,.tsx' src/ && yarn prettier --check './src/**/*.{js,jsx,ts,tsx}'",
"lint:android": "./android/gradlew -p android spotlessCheck -q",
Expand Down

0 comments on commit f9e9db7

Please sign in to comment.