Skip to content

Commit

Permalink
🔨 Add .shellcheckrc
Browse files Browse the repository at this point in the history
  • Loading branch information
Freed-Wu committed Nov 27, 2023
1 parent 1d1c35f commit 15f534e
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 6 deletions.
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
---
patreon: user?u=83975719
custom:
- "https://user-images.githubusercontent.com/32936898/199681341-1c5cfa61-4411-4b67-b268-7cd87c5867bb.png"
- "https://user-images.githubusercontent.com/32936898/199681363-1094a0be-85ca-49cf-a410-19b3d7965120.png"
Expand Down
13 changes: 10 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,15 @@ repos:
rev: 3.0.0
hooks:
- id: check-mailmap
- id: shellcheck
exclude_types:
- zsh
- repo: https://github.com/rhysd/actionlint
rev: v1.6.26
hooks:
- id: actionlint
- repo: https://github.com/adrienverge/yamllint
rev: v1.32.0
rev: v1.33.0
hooks:
- id: yamllint
- repo: https://github.com/executablebooks/mdformat
Expand All @@ -73,8 +76,12 @@ repos:
- id: markdownlint-cli2
additional_dependencies:
- markdown-it-texmath
- repo: https://github.com/scop/pre-commit-shfmt
rev: v3.7.0-2
hooks:
- id: shfmt
- repo: https://github.com/psf/black
rev: 23.10.1
rev: 23.11.0
hooks:
- id: black
- repo: https://github.com/PyCQA/isort
Expand All @@ -88,7 +95,7 @@ repos:
additional_dependencies:
- tomli
- repo: https://github.com/kumaraditya303/mirrors-pyright
rev: v1.1.333
rev: v1.1.335
hooks:
- id: pyright
- repo: https://github.com/PyCQA/bandit
Expand Down
2 changes: 2 additions & 0 deletions .shellcheckrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
shell=bash
disable=SC2034,SC2154
1 change: 0 additions & 1 deletion tests/PKGBUILD
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# shellcheck shell=bash disable=SC2034,SC2154
# Updated by https://github.com/Freed-Wu/pkgbuild-language-server/blob/main/.github/workflows/main.yml
pkgname=pkgbuild-language-server
pkgver=0.0.6
Expand Down
1 change: 0 additions & 1 deletion tests/build.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# shellcheck disable=SC2034
# https://github.com/termux/termux-packages/pull/17457/files
TERMUX_PKG_LICENSE=GPL-3.0
TERMUX_PKG_HOMEPAGE=https://github.com/ggerganov/llama.cpp
Expand Down
1 change: 0 additions & 1 deletion tests/neovim-0.9.4.ebuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# shellcheck disable=SC2034
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

Expand Down

0 comments on commit 15f534e

Please sign in to comment.