Languages
Shell
The Shell Analyzer analyzes your shell scripts and raises issues if something is wrong with them. It points out bugs and syntax issues with a detailed explanation of how to fix them.
Code Analysis
.deepsource.toml
This section covers .deepsource.toml
configuration specific to the shell
analyzer. Please make sure to read the general configuration guide first.
name
- Type: String
- Presence: mandatory
- Description: Shortcode of the analyzer.
- Example:
enabled
- Type: Boolean
- Presence: optional
- Description: Toggle whether this analyzer should be run.
- Example:
meta
- Type: Table
- Presence: optional
- Description: Any supported metadata to pass to the analyzer.
- Example:
dialect
- Type: String
- Presence: optional
- Description: UNIX shell on which the script is supposed to be run.
- Available Value:
sh
,bash
,dash
andksh
. - Default Value: The analyzer detects the shell from the file’s shell directive or the shebang line by default.
- Example: