Skip to content

Commit

Permalink
Exclude docblocks from double space search
Browse files Browse the repository at this point in the history
  • Loading branch information
szepeviktor committed Sep 25, 2023
1 parent 89a5470 commit 33fc4f1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/reusable-integrity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,9 @@ jobs:
-
name: "Look for multiple space characters in the middle of the line 🐌"
run: |
# Exclude docblocks: grep -v -F ' * @'
! git grep --perl-regexp --line-number -I -e '(?!^#)\S\s\s' \
# Exclude docblocks
! git grep --perl-regexp --line-number -I \
-e '(?!^#)\S\s\s' --and --not -e ' \* @' \
-- ':!:*.md' ':!:.github/**.yml'
-
# Move TODO-s into GitHub issues!
Expand Down

0 comments on commit 33fc4f1

Please sign in to comment.