Skip to content

Commit ab3864e

Browse files
committed
Add @csstools/stylelint-formatter-github and update stylelint github formatter
1 parent b0c04c4 commit ab3864e

File tree

3 files changed

+33
-1
lines changed

3 files changed

+33
-1
lines changed

.github/workflows/lint-css.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
run: npm ci
3838

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

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

package-lock.json

+31
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
"devDependencies": {
4040
"@babel/core": "^7.25.2",
4141
"@babel/eslint-parser": "^7.25.1",
42+
"@csstools/stylelint-formatter-github": "^1.0.0",
4243
"ava": "^6.1.3",
4344
"cheerio": "^1.0.0-rc.12",
4445
"cross-spawn": "^7.0.3",

0 commit comments

Comments
 (0)