Skip to content

Commit 28ed739

Browse files
committed
ci(lint): use super-linter
Replace all other linters with super-linter
1 parent 6902c4c commit 28ed739

File tree

5 files changed

+42
-53
lines changed

5 files changed

+42
-53
lines changed
+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
2+
{
3+
"problemMatcher": [
4+
{
5+
"owner": "markdownlint",
6+
"pattern": [
7+
{
8+
"regexp": "^([^:]*):(\\d+):?(\\d+)?\\s([\\w-\\/]*)\\s(.*)$",
9+
"file": 1,
10+
"line": 2,
11+
"column": 3,
12+
"code": 4,
13+
"message": 5
14+
}
15+
]
16+
}
17+
]
18+
}

.github/workflows/eclint.yml

-14
This file was deleted.

.github/workflows/linter.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Lint
2+
on:
3+
pull_request:
4+
5+
jobs:
6+
super-linter:
7+
name: Lint
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- name: Checkout Code
12+
uses: actions/checkout@v2
13+
14+
- name: Setup Node
15+
uses: actions/setup-node@v1
16+
17+
- name: Add matchers
18+
run: |
19+
echo "::add-matcher::.github/markdownlint-problem-matcher.json"
20+
- name: Lint Code Base
21+
uses: github/super-linter@v3
22+
env:
23+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24+
FILTER_REGEX_EXCLUDE: .*.template

.github/workflows/markdown-link-check.yml

-19
This file was deleted.

.github/workflows/shfmt.yml

-20
This file was deleted.

0 commit comments

Comments
 (0)