EcoCode-C#ecoCode is a collective project aiming to reduce environmental footprint of software at the code level. The goal of the project is to provide a list of static code analyzers to highlight code structures that may have a negative ecological impact: energy and resources over-consumption, "fatware", shortening terminals' lifespan, etc. ecoCode is based on evolving catalogs of good practices, for various technologies. This set of Roslyn analyzers implements these catalogs as rules for scanning your C# projects. 🚀 Getting StartedThere are several ways you can use the ecoCode analyzers in your .Net projects:
🧩 CompatibilityBoth the ecoCode NuGet package and Visual Studio extension target .Net Standard 2.0 and can be used in a wide range of projects. See Microsoft documentation for details about the supported .Net Frameworks in .Net Standard 2.0. The ecoCode DotNet Tool requires the .Net 8 SDK or newer, as it relies on MSBuild under the hood. 🌿 EcoCode Rules
🌿 Roslyn RulesThis plugin customizes the severity of certain Roslyn rules.
🤝 ContributionSee contribution on the central ecoCode repository. 🤓 Main contributorsSee main contributors on the central ecoCode repository. |