-
Hello, I'm in a project now, where we'd like to have a set of linters specific to reducing CO2 emissions from software. This would include general performance optimizations, some optimizations that might incur a tradeoff - for example with image resolution, and linter rules that can guide the developer to choose data centres in better locations, or run background jobs in hours of more renewable energy in the grid. There are some existing linters and linter rulesets we'd like to integrate, such as:
I'm looking for advice how to move on with implementation. The documentation around this is a bit confusing 🙏 Please help me understand if my current understanding of things is right:
is this the workflow for creating a linter/change in an existing linter ?
is this the workflow for creating a plugin?
other open questions:
Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
@pessi-v thanks for your interest in MegaLinter :) I think that the most optimized solution for you would be the following:
Some answers to your questions:
Looks good to me :)
Yes it is the process :)
Yes that's it, the format of a plugin descriptor is the same than the format of official linters descriptor
Yes, even one plugin by linter (but you can have multiple plugins descriptors in the same repository.
Yes it will. megalinter/megalinter/Linter.py Line 1375 in 3ca6f8d
Please let me know if you have other questions :) |
Beta Was this translation helpful? Give feedback.
@pessi-v thanks for your interest in MegaLinter :)
I think that the most optimized solution for you would be the following:
Some answers to your questions: