chore: lint .env file templates (#3507)
This commit is contained in:
parent
be27ac0e69
commit
066076b157
2 changed files with 12 additions and 1 deletions
|
|
@ -10,3 +10,11 @@ fi
|
|||
|
||||
# run ruff linter
|
||||
ruff check --fix ./api
|
||||
|
||||
# env files linting relies on `dotenv-linter` in path
|
||||
if ! command -v dotenv-linter &> /dev/null; then
|
||||
echo "Installing dotenv-linter ..."
|
||||
pip install dotenv-linter
|
||||
fi
|
||||
|
||||
dotenv-linter ./api/.env.example ./web/.env.example
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue