https://github.com/wesley-dean/mega-linter-plugin-dclint
a MegaLinter plugin for docker-compose-lint (dclint)
https://github.com/wesley-dean/mega-linter-plugin-dclint
Last synced: 28 days ago
JSON representation
a MegaLinter plugin for docker-compose-lint (dclint)
- Host: GitHub
- URL: https://github.com/wesley-dean/mega-linter-plugin-dclint
- Owner: wesley-dean
- License: cc0-1.0
- Created: 2025-03-13T13:32:28.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2025-04-07T19:17:18.000Z (about 1 month ago)
- Last Synced: 2025-04-07T20:26:50.340Z (about 1 month ago)
- Language: Shell
- Size: 57.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: CODEOWNERS
- Security: SECURITY.md
Awesome Lists containing this project
README
# mega-linter-plugin-dclint
[](https://github.com/wesley-dean/mega-linter-plugin-dclint/actions/workflows/megalinter.yml)
[](https://github.com/wesley-dean/mega-linter-plugin-dclint/actions/workflows/dependabot/dependabot-updates)
[](https://github.com/wesley-dean/mega-linter-plugin-dclint/actions/workflows/scorecard.yml)This is a MegaLinter plugin for docker-compose-lint (dclint)
## Introduction
[MegaLinter](https://github.com/oxsecurity/megalinter) by
[OxSecurity](https://github.com/oxsecurity) is a linter tool that supports
various programming languages and file formats. This repository contains a
MegaLinter plugin for
[docker-compose-lint](https://github.com/zavoloklom/docker-compose-linter) by
[zavoloklom](https://github.com/zavoloklom/).The docker-compose-linter (`dclint`) tool is a linter for Docker Compose files.
It checks for common errors and best practices in Docker Compose files.## Usage
To use this plugin, you need to have MegaLinter installed. Please refer to the
[MegaLinter documentation](https://nvuillam.github.io/megalinter/) for
installation instructions.### MegaLinter Configuration
To use this plugin, add the following to your MegaLinter configuration:
```yaml
PLUGINS:
- "https://raw.githubusercontent.com/wesley-dean/mega-linter-plugin-dclint/refs/heads/main/mega-linter-plugin-dclint/dclint.megalinter-descriptor.yml
```Simply adding the plugin to the `PLUGINS` section will cause MegaLiner to read
the descriptor and make it available for use. However, depending on your
MegaLinter configuration, you may need to enable the linter in the `ENABLE_LINTERS`
section as well. For example:```yaml
ENABLE_LINTERS:
- "DOCKERFILE_DCLINT"
```### Docker-Compose-Lint Configuration
To configure docker-compose-lint, you can create a `.dclintrc` file in the
root of your repository. For more information on configuring, refer to the
[docker-compose-lint documentation](https://github.com/zavoloklom/docker-compose-linter/blob/main/README.md)