Skip to content

Commit

Permalink
ci(lint): use super-linter
Browse files Browse the repository at this point in the history
Replace all other linters with super-linter
  • Loading branch information
ttshivers committed Oct 22, 2020
1 parent 6902c4c commit 28ed739
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 53 deletions.
18 changes: 18 additions & 0 deletions .github/markdownlint-problem-matcher.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@

{
"problemMatcher": [
{
"owner": "markdownlint",
"pattern": [
{
"regexp": "^([^:]*):(\\d+):?(\\d+)?\\s([\\w-\\/]*)\\s(.*)$",
"file": 1,
"line": 2,
"column": 3,
"code": 4,
"message": 5
}
]
}
]
}
14 changes: 0 additions & 14 deletions .github/workflows/eclint.yml

This file was deleted.

24 changes: 24 additions & 0 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Lint
on:
pull_request:

jobs:
super-linter:
name: Lint
runs-on: ubuntu-latest

steps:
- name: Checkout Code
uses: actions/checkout@v2

- name: Setup Node
uses: actions/setup-node@v1

- name: Add matchers
run: |
echo "::add-matcher::.github/markdownlint-problem-matcher.json"
- name: Lint Code Base
uses: github/super-linter@v3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
FILTER_REGEX_EXCLUDE: .*.template
19 changes: 0 additions & 19 deletions .github/workflows/markdown-link-check.yml

This file was deleted.

20 changes: 0 additions & 20 deletions .github/workflows/shfmt.yml

This file was deleted.

0 comments on commit 28ed739

Please sign in to comment.