Skip to content

Commit

Permalink
feat: add windows/ to linting and lint (#1009)
Browse files Browse the repository at this point in the history
Fixed indent in lint-java.js and added formatting of windows in package.json and run it.
  • Loading branch information
WoLewicki committed Jul 12, 2021
1 parent 7fde722 commit 946b64e
Show file tree
Hide file tree
Showing 25 changed files with 1,359 additions and 1,223 deletions.
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

0 comments on commit 946b64e

Please sign in to comment.