mirror of
https://github.com/super-linter/super-linter.git
synced 2024-12-25 22:22:23 -05:00
Ignore more files from linting (#1003)
* Ignore node_modules and env folders * Exclude media files * Change env directory to separate dirs * Remove env files * Sort in alphabetical order Co-authored-by: Lukas Gravley <admiralawkbar@github.com>
This commit is contained in:
parent
efb266ab36
commit
7a907a722c
1 changed files with 12 additions and 0 deletions
|
@ -100,6 +100,18 @@ function BuildFileList() {
|
|||
-not \( -path '*/\.terragrunt-cache' -prune \) \
|
||||
-not \( -path '*/\.venv' -prune \) \
|
||||
-not \( -path '*/\__pycache__' -prune \) \
|
||||
-not \( -path '*/\node_modules' -prune \) \
|
||||
-not -name ".DS_Store" \
|
||||
-not -name "*.gif" \
|
||||
-not -name "*.ico" \
|
||||
-not -name "*.jpg" \
|
||||
-not -name "*.jpeg" \
|
||||
-not -name "*.pdf" \
|
||||
-not -name "*.png" \
|
||||
-not -name "*.webp" \
|
||||
-not -name "*.woff" \
|
||||
-not -name "*.woff2" \
|
||||
-not -name "*.zip" \
|
||||
-type f \
|
||||
2>&1 | sort)
|
||||
|
||||
|
|
Loading…
Reference in a new issue