Skip to content
This repository has been archived by the owner on Mar 2, 2021. It is now read-only.

Commit

Permalink
switch to super-linter
Browse files Browse the repository at this point in the history
  • Loading branch information
adamralph committed Dec 26, 2020
1 parent f46b6d7 commit 92e96ed
Show file tree
Hide file tree
Showing 7 changed files with 37 additions and 25 deletions.
5 changes: 5 additions & 0 deletions .github/linters/.ecrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"Exclude": [
"\\.git"
]
}
1 change: 1 addition & 0 deletions .github/linters/.markdown-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
extends: ../../.markdownlint.yml
8 changes: 8 additions & 0 deletions .github/linters/.yaml-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
extends: default
rules:
document-start:
present: false
line-length:
max: 160
new-lines:
type: dos
10 changes: 0 additions & 10 deletions .github/workflows/lint-markdown.yml

This file was deleted.

14 changes: 14 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
on:
push:
branches: [master]
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: github/super-linter@v3
env:
FILTER_REGEX_EXCLUDE: \bLICENSE$|\blog\.txt$
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VALIDATE_SHELL_SHFMT: false
15 changes: 0 additions & 15 deletions .markdownlint.json

This file was deleted.

9 changes: 9 additions & 0 deletions .markdownlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
MD013: false
MD024:
siblings_only: true
MD026:
punctuation: ".,;:!。,;:!"
MD033:
allowed_elements:
- img
- sub

0 comments on commit 92e96ed

Please sign in to comment.