Skip to content

Commit f9e9db7

Browse files
authored
Change yarn format script name (#3053)
## Description Since we do support `macOS` now, I think that `yarn format:apple` suits better than `format:ios`. ## Test plan Run formatter I guess 🤷‍♀️
1 parent 7346c2f commit f9e9db7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"ts-check": "yarn tsc --noEmit",
1212
"format:js": "prettier --write --list-different './{src,example,FabricExample,MacOSExample}/**/*.{js,jsx,ts,tsx}'",
1313
"format:android": "node ./scripts/format-android.js",
14-
"format:ios": "find apple/ -iname *.h -o -iname *.m -o -iname *.cpp -o -iname *.mm | xargs clang-format -i",
14+
"format:apple": "find apple/ -iname *.h -o -iname *.m -o -iname *.cpp -o -iname *.mm | xargs clang-format -i",
1515
"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}'",
1616
"lint:js-root": "eslint --ext '.js,.ts,.tsx' src/ && yarn prettier --check './src/**/*.{js,jsx,ts,tsx}'",
1717
"lint:android": "./android/gradlew -p android spotlessCheck -q",

0 commit comments

Comments
 (0)