diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7b8553cbf5cc80a353718f857b000d276dc0f979..f61dcefae30b7e9b4e9d46a7407a3c4181cf2c7c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -90,12 +90,18 @@ repos: - id: shell-validate exclude: &excluded_shellscripts |- \.bash_completion\.d/(docker-machine\.bash|fabric-completion.bash|docker-compose) + - id: shell-validate + files: '\.envrc$' + types: [text] - repo: https://github.com/shellcheck-py/shellcheck-py.git rev: v0.7.2.1 hooks: - id: shellcheck exclude: *excluded_shellscripts + - id: shellcheck + files: '\.envrc$' + types: [text] - repo: https://github.com/executablebooks/mdformat.git rev: 0.7.9 diff --git a/Documents/Archive/BullGuard/.envrc b/Documents/Archive/BullGuard/.envrc index 6c298cd34be0573dac32a301dff2c655fed9f7c2..4dd655f66b749d8f690dea482170a1f43cfeb47e 100644 --- a/Documents/Archive/BullGuard/.envrc +++ b/Documents/Archive/BullGuard/.envrc @@ -1,3 +1,4 @@ +#!/usr/bin/env bash export AWS_DEFAULT_PROFILE=dojo-csp export GIT_AUTHOR_NAME='Nimrod Adar' export GIT_AUTHOR_EMAIL='nimrod.adar@bullguard.com' diff --git a/Documents/Archive/ChorusOne/.envrc b/Documents/Archive/ChorusOne/.envrc index 840a6d935acbc1eea658e79c9114292eb5d636c2..b6b5b19b3b25d35088be8c4926ccc56efeebd08e 100644 --- a/Documents/Archive/ChorusOne/.envrc +++ b/Documents/Archive/ChorusOne/.envrc @@ -1,3 +1,4 @@ +# shellcheck shell=bash disable=SC1091 source_up layout pipenv export AWS_DEFAULT_PROFILE='chorusone' diff --git a/Documents/Archive/Endless/.envrc b/Documents/Archive/Endless/.envrc index 3665cd5ef31cfb07d7a9c4d298560af59287366f..a579bc898aa54a9fadf20d939eb5e1cabf193a59 100644 --- a/Documents/Archive/Endless/.envrc +++ b/Documents/Archive/Endless/.envrc @@ -1,3 +1,4 @@ +# shellcheck shell=bash disable=SC1091 source_up layout pipenv export AWS_DEFAULT_PROFILE=endlessm diff --git a/Repositories/Smile/.envrc b/Repositories/Smile/.envrc index b61bdd27f94d4f194049f259bbe24271422accc5..4be34a440edd7a6458ce6b747a2268f214fc15dd 100644 --- a/Repositories/Smile/.envrc +++ b/Repositories/Smile/.envrc @@ -1,3 +1,4 @@ +# shellcheck shell=bash source_up export AWS_CONFIG_FILE="$HOME/.smile/aws/config" export AWS_PROFILE=smile-security