Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add windows/ to linting and lint #1009

Merged
merged 1 commit into from
Jul 12, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@
"check-types": "tsc --noEmit",
"start": "react-native start",
"test:unit": "jest --passWithNoTests",
"format": "yarn prettier && yarn clang-format && yarn lint-java",
"format": "yarn prettier && yarn clang-format-ios && yarn clang-format-windows && yarn lint-java",
"prettier": "prettier --write --list-different './src/**/*.{js,ts,tsx}'",
"lint-java": "node ./scripts/lint-java.js",
"clang-format": "find ios/ -iname *.h -o -iname *.m -o -iname *.cpp | xargs clang-format -i",
"clang-format-ios": "find ios/ -iname *.h -o -iname *.m -o -iname *.cpp | xargs clang-format -i",
"clang-format-windows": "find windows/ -iname *.h -o -iname *.m -o -iname *.cpp | xargs clang-format -i",
"lint": "eslint --ext '.js,.ts,.tsx' --fix src && yarn check-types",
"precommit": "yarn format && yarn lint",
"release": "npm login && release-it",
Expand Down
Loading