Skip to content

Commit

Permalink
refactor(lint:format): rename workflow
Browse files Browse the repository at this point in the history
Treating formatting as a lint step makes it easier to understand the
checks necessary to pass PR approval.
  • Loading branch information
xav-ie committed Sep 15, 2024
1 parent 636fc3a commit 1b984cc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
jobs:
prettier:
lint_format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/prepare
- run: pnpm format --list-different
- run: pnpm lint:format

name: Prettier
name: Lint Format

on:
pull_request: ~
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"dev": "remix vite:dev",
"format": "prettier --cache --write .",
"lint": "eslint . .*js --max-warnings 0",
"lint:format": "prettier --cache --check .",
"lint:knip": "knip",
"lint:md": "markdownlint \"**/*.md\" \".github/**/*.md\" --rules sentences-per-line",
"lint:packages": "pnpm dedupe --check",
Expand Down

0 comments on commit 1b984cc

Please sign in to comment.