diff options
author | Matt Jankowski <matt@jankowski.online> | 2024-05-03 10:56:48 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-03 14:56:48 +0000 |
commit | b7902225d698a107df2cf8b4ca221caad38fa464 (patch) | |
tree | 87b738b28558dfbdc2274eb02a990f210cfbb672 | |
parent | 33368e3e79a6edfcaf65fd2b80b636a7c1e56e48 (diff) |
Use built-in github annotation output for `stylelint` (#30165)
-rw-r--r-- | .github/stylelint-matcher.json | 21 | ||||
-rw-r--r-- | .github/workflows/lint-css.yml | 6 |
2 files changed, 1 insertions, 26 deletions
diff --git a/.github/stylelint-matcher.json b/.github/stylelint-matcher.json deleted file mode 100644 index cdfd4086bd4..00000000000 --- a/.github/stylelint-matcher.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "problemMatcher": [ - { - "owner": "stylelint", - "pattern": [ - { - "regexp": "^([^\\s].*)$", - "file": 1 - }, - { - "regexp": "^\\s+((\\d+):(\\d+))?\\s+(✖|×)\\s+(.*)\\s{2,}(.*)$", - "line": 2, - "column": 3, - "message": 5, - "code": 6, - "loop": true - } - ] - } - ] -} diff --git a/.github/workflows/lint-css.yml b/.github/workflows/lint-css.yml index e5f48748771..d3b8035cd86 100644 --- a/.github/workflows/lint-css.yml +++ b/.github/workflows/lint-css.yml @@ -38,9 +38,5 @@ jobs: - name: Set up Javascript environment uses: ./.github/actions/setup-javascript - - uses: xt0rted/stylelint-problem-matcher@v1 - - - run: echo "::add-matcher::.github/stylelint-matcher.json" - - name: Stylelint - run: yarn lint:css + run: yarn lint:css -f github |