Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .mega-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@ AZURE_COMMENT_REPORTER: true
# LINTER SPECIFIC CONFIGURATION
# ----------------------------------------

# ShellCheck rc file
BASH_SHELLCHECK_ARGUMENTS: "--rcfile .shellcheckrc"

# Markdown Table Formatter configuration - treat warnings as errors
MARKDOWN_MARKDOWN_TABLE_FORMATTER_DISABLE_ERRORS: false
MARKDOWN_MARKDOWN_TABLE_FORMATTER_FILTER_REGEX_EXCLUDE: '(\.copilot-tracking/.*)'
Expand Down
16 changes: 16 additions & 0 deletions .shellcheckrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# ShellCheck configuration for edge-ai repository
# https://github.com/koalaman/shellcheck/wiki/Ignore
#
# Conventions:
# - Scripts use #!/usr/bin/env bash and strict mode (set -e -o pipefail)
# - Terraform-generated scripts have templatefile variables
# - External sourced files may not be available during linting

# Default shell dialect
shell=bash

# Disable codes for project-wide patterns
# SC1091: Not following sourced files
# - Terraform templatefile() scripts source external configs
# - Sourced files may not exist at lint time
disable=SC1091
Loading