Skip to content

Commit

Permalink
Add @csstools/stylelint-formatter-github and update stylelint github …
Browse files Browse the repository at this point in the history
…formatter
  • Loading branch information
howard-e committed Dec 3, 2024
1 parent b0c04c4 commit ab3864e
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/lint-css.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
run: npm ci

- name: Stylelint
run: npx stylelint "**/*.css" -f github
run: npx stylelint "**/*.css" --custom-formatter @csstools/stylelint-formatter-github

- name: Prettier
run: npx prettier --check "**/*.css"
31 changes: 31 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"devDependencies": {
"@babel/core": "^7.25.2",
"@babel/eslint-parser": "^7.25.1",
"@csstools/stylelint-formatter-github": "^1.0.0",
"ava": "^6.1.3",
"cheerio": "^1.0.0-rc.12",
"cross-spawn": "^7.0.3",
Expand Down

0 comments on commit ab3864e

Please sign in to comment.