Skip to content

Commit

Permalink
chore: move to shellcheckrc file (#2833)
Browse files Browse the repository at this point in the history
  • Loading branch information
nschonni authored Dec 15, 2022
1 parent b606cd1 commit 104363d
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/shellcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ on:
paths:
- '**/*.sh'
- '.github/workflows/shellcheck.yml'
- '.shellcheckrc'
pull_request:
paths:
- '**/*.sh'
- '.github/workflows/shellcheck.yml'
- '.shellcheckrc'

jobs:
shellcheck:
Expand All @@ -16,8 +18,6 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: ShellCheck
uses: ludeeus/action-shellcheck@1.0.0
uses: ludeeus/action-shellcheck@1.1.0
with:
check_together: 'yes'
env:
SHELLCHECK_OPTS: -e SC1004 -e SC1007 -e SC1090 -e SC1091 -e SC2001 -e SC2002 -e SC2006 -e SC2010 -e SC2012 -e SC2034 -e SC2035 -e SC2046 -e SC2086 -e SC2091 -e SC2115 -e SC2129 -e SC2148 -e SC2154 -e SC2155 -e SC2162 -e SC2164 -e SC2166 -e SC2196 -e SC2209 -e SC2219 -e SC2242
27 changes: 27 additions & 0 deletions .shellcheckrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
disable=SC1004
disable=SC1007
disable=SC1090
disable=SC1091
disable=SC2001
disable=SC2002
disable=SC2006
disable=SC2010
disable=SC2012
disable=SC2034
disable=SC2035
disable=SC2046
disable=SC2086
disable=SC2091
disable=SC2115
disable=SC2129
disable=SC2148
disable=SC2154
disable=SC2155
disable=SC2162
disable=SC2164
disable=SC2166
disable=SC2196
disable=SC2209
disable=SC2219
disable=SC2230
disable=SC2242

0 comments on commit 104363d

Please sign in to comment.