Plugins
For security reasons, we try to embed in MegaLinter only linters that are widely adopted by open-source community.
But any linter can be callable within MegaLinter thanks to the plugin mechanism !
Use plugins
Just add plugin URLs in PLUGINS
property of .mega-linter.yml
Example
PLUGINS:
- https://raw.githubusercontent.com/megalinter/megalinter/main/.automation/test/mega-linter-plugin-test/test.megalinter-descriptor.yml
- https://raw.githubusercontent.com/cookiejar/mega-linter-plugin-cookietemple/main/cookietemple.megalinter-descriptor.yml
Plugins Catalog
Submit a PR if you want your plugin to appear here :)
Create plugins
You can implement your own descriptors and load them as plugins during MegaLinter runtime
- Plugins descriptor files must be named **.megalinter-descriptor.yml and respect MegaLinter Json Schema
- Descriptor format is exactly the same than MegaLinter embedded ones (see json schema documentation)
- Plugins must be hosted in a url containing **/mega-linter-plugin-**/
Limitations
- For now, the only
install
attributes managed aredockerfile
instructions starting byRUN