Skip to content

wesley-dean/mega-linter-plugin-j2lint

mega-linter-plugin-j2lint

MegaLinter Dependabot Updates Scorecard supply-chain security

This is a MegaLinter plugin for Arista Networks' j2lint)

Introduction

MegaLinter by OxSecurity is a linter tool that supports various programming languages and file formats. This repository contains a MegaLinter plugin for j2lint by Arista Networks.

The j2lint tool is a linter for Jinja2 templates -- a templating language used in many configuration management tools, such as Ansible and SaltStack. It checks for common errors and best practices.

Usage

To use this plugin, you need to have MegaLinter installed. Please refer to the MegaLinter documentation for installation instructions.

MegaLinter Configuration

To use this plugin, add the following to your MegaLinter configuration:

PLUGINS:
  - "https://raw.githubusercontent.com/wesley-dean/mega-linter-plugin-j2lint/refs/heads/main/mega-linter-plugin-j2lint/j2lint.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:

ENABLE_LINTERS:
  - "PYTHON_J2LINT"

About

MegaLinter plugin to run Arista Networks' j2lint

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •