Clone the repo, and run these in the vscode command line
npm install -g pnpm
pnpm install
pnpm start
if running into issues - might need to download expo, npm, react, react-native
try npm add @babel/runtime
npm start
try npx expo start
Run these commands for linting and formating.
-
pnpm exec prettier . --write
- This command will automatically format code according to the prettierrc guidelines -
pnpm eslint [filename]
- This command currently works on eslint 8.57.0, and finds common issues that helps to prevent future bugs. If the command is not working, check that the eslint version on your computer is 8.57 usingeslint --v
. If a different version, trypnpm upgrade eslint@^8.56.0
.
React Native Doc I ended up using to setup the environment
Download the .env file in the Secrets folder in the Google Drive and put it in the app repo