build: use oxlint --rules --format=json
for building rules
#376
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
push: | |
branches: | |
- main | |
- 'renovate/**' | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
with: | |
persist-credentials: false | |
- uses: ./.github/actions/pnpm | |
- name: Run oxlint | |
run: npx oxlint --tsconfig=tsconfig.json | |
- name: Run eslint | |
run: npx eslint --flag unstable_ts_config |