Skip to content

Commit

Permalink
Use stylelint-problem-matcher and custom formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
howard-e committed Oct 29, 2024
1 parent 265f408 commit 1aa049e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/lint-css.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,14 @@ jobs:
with:
cache: npm

- name: Stylelint problem matcher
uses: xt0rted/stylelint-problem-matcher@v1

- name: Install npm dependencies
run: npm ci

- name: Stylelint
run: npx stylelint "**/*.css" -f github
run: npx stylelint "**/*.css" --custom-formatter=stylelint-actions-formatters

- name: Prettier
run: npx prettier --check "**/*.css"

0 comments on commit 1aa049e

Please sign in to comment.