Skip to content

Commit

Permalink
Update pre-commit (#114)
Browse files Browse the repository at this point in the history
* adjust linter.yml
* update pre-commit
  • Loading branch information
thewildmage authored Mar 20, 2022
1 parent 14a051a commit 8022b10
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,23 @@ on:
pull_request:

jobs:
build:
lint:
name: Run Super-Linter
runs-on: ubuntu-latest

steps:
- name: Checkout Code
- name: Checkout code
uses: actions/checkout@v2
with:
# Full git history is needed to get a proper list
# of changed files within `super-linter`
fetch-depth: 0

- name: Lint Codebase
- name: Lint codebase
uses: github/super-linter@v4
env:
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ github.token }}
JAVASCRIPT_DEFAULT_STYLE: prettier
MARKDOWN_CONFIG_FILE: .markdownlint.yaml
VALIDATE_ALL_CODEBASE: false
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
rev: v4.1.0
hooks:
- id: check-added-large-files
- id: check-json
Expand Down

0 comments on commit 8022b10

Please sign in to comment.