Skip to content

partial setup of linting workflow #1

partial setup of linting workflow

partial setup of linting workflow #1

Workflow file for this run

# # 🔗 Links:
# # Source file: https://github.com/obytes/react-native-template-obytes/blob/master/.github/workflows/lint-ts.yml
# name: Lint JSX (eslint, prettier)
# on:
# push:
# branches: [main, master]
# pull_request:
# branches: [main, master]
# jobs:
# lint:
# name: Lint JSX (eslint, prettier)
# runs-on: ubuntu-latest
# steps:
# - name: 📦 Checkout project repo
# uses: actions/checkout@v3
# with:
# fetch-depth: 0
# - name: 📦 Setup Node + NPM + install deps
# uses: ./.github/actions/setup-node-npm-install
# - name: 🏃‍♂️ Run ESLint PR
# if: github.event_name == 'pull_request'
# uses: reviewdog/action-eslint@v1
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# reporter: github-pr-review
# eslint_flags: ". --ext .js,.jsx,.ts,.tsx"
# - name: 🏃‍♂️ Run ESLint PR
# if: github.event_name != 'pull_request'
# run: npm run lint