SALESFORCE
Linters
Linter | Configuration key |
---|---|
sfdx-scanner-apex | SALESFORCE_SFDX_SCANNER_APEX |
sfdx-scanner-aura | SALESFORCE_SFDX_SCANNER_AURA |
sfdx-scanner-lwc | SALESFORCE_SFDX_SCANNER_LWC |
Linted files
Configuration in Mega-Linter
Variable | Description | Default value |
---|---|---|
SALESFORCE_FILTER_REGEX_INCLUDE | Custom regex including filter | |
SALESFORCE_FILTER_REGEX_EXCLUDE | Custom regex excluding filter |
Behind the scenes
Installation
- Dockerfile commands :
ENV JAVA_HOME=/usr/lib/jvm/java-1.8-openjdk
ENV PATH="$JAVA_HOME/bin:${PATH}"
RUN echo y|sfdx plugins:install sfdx-hardis