EcoCode 1.0.1-beta5

Suggested Alternatives

Creedengo

Additional Details

EcoCode has been renamed to Creedengo

This is a prerelease version of EcoCode.
There is a newer version of this package available.
See the version list below for details.
dotnet add package EcoCode --version 1.0.1-beta5
                    
NuGet\Install-Package EcoCode -Version 1.0.1-beta5
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="EcoCode" Version="1.0.1-beta5">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="EcoCode" Version="1.0.1-beta5" />
                    
Directory.Packages.props
<PackageReference Include="EcoCode">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add EcoCode --version 1.0.1-beta5
                    
#r "nuget: EcoCode, 1.0.1-beta5"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=EcoCode&version=1.0.1-beta5&prerelease
                    
Install EcoCode as a Cake Addin
#tool nuget:?package=EcoCode&version=1.0.1-beta5&prerelease
                    
Install EcoCode as a Cake Tool

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.

⚠️ This is still a very early stage project. Any feedback or contribution will be highly appreciated. Please refer to the contribution section.

License: GPL v3 Contributor Covenant

🌿 Framework

This analyzer is made to be published as NuGet package, and is compiled using the .Net Standard 2.0 Framework. You can find a list of all our other plugins in the ecoCode repository

🚀 Getting Started

Install the EcoCode NuGet package in your .Net project, and automatically benefit from the enhanced Roslyn analysis.

🛒 Distribution

You can find the EcoCode NuGet package at this URL, or through your usual NuGet package manager.

🧩 Compatibility

See Microsoft documentation for .Net Standard 2.0.

🤝 Contribution

Check ecoCode repository

🤓 Main contributors

Check ecoCode repository

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.5.3 340 1/1/2025 1.5.3 is deprecated because it is no longer maintained.
1.5.3-beta1 103 1/1/2025 1.5.3-beta1 is deprecated because it is no longer maintained.
1.5.2 467 11/9/2024 1.5.2 is deprecated because it is no longer maintained.
1.5.1 299 8/1/2024 1.5.1 is deprecated because it is no longer maintained.
1.5.0 147 7/13/2024 1.5.0 is deprecated because it is no longer maintained.
1.5.0-beta1 107 7/13/2024 1.5.0-beta1 is deprecated because it is no longer maintained.
1.4.0 167 6/24/2024 1.4.0 is deprecated because it is no longer maintained.
1.3.0 134 6/24/2024 1.3.0 is deprecated because it is no longer maintained.
1.3.0-beta4 117 6/23/2024 1.3.0-beta4 is deprecated because it is no longer maintained.
1.3.0-beta3 115 6/8/2024 1.3.0-beta3 is deprecated because it is no longer maintained.
1.3.0-beta2 101 6/8/2024 1.3.0-beta2 is deprecated because it is no longer maintained.
1.3.0-beta1 126 6/8/2024 1.3.0-beta1 is deprecated because it is no longer maintained.
1.2.0 154 6/4/2024 1.2.0 is deprecated because it is no longer maintained.
1.2.0-beta6 113 6/3/2024 1.2.0-beta6 is deprecated because it is no longer maintained.
1.2.0-beta5 121 6/2/2024 1.2.0-beta5 is deprecated because it is no longer maintained.
1.2.0-beta4 130 6/1/2024 1.2.0-beta4 is deprecated because it is no longer maintained.
1.2.0-beta3 118 5/30/2024 1.2.0-beta3 is deprecated because it is no longer maintained.
1.2.0-beta2 123 5/30/2024 1.2.0-beta2 is deprecated because it is no longer maintained.
1.2.0-beta1 127 5/19/2024 1.2.0-beta1 is deprecated because it is no longer maintained.
1.1.0 239 5/19/2024 1.1.0 is deprecated because it is no longer maintained.
1.1.0-beta3 116 5/19/2024 1.1.0-beta3 is deprecated because it is no longer maintained.
1.1.0-beta2 114 5/18/2024 1.1.0-beta2 is deprecated because it is no longer maintained.
1.1.0-beta1 112 5/18/2024 1.1.0-beta1 is deprecated because it is no longer maintained.
1.0.8 139 5/13/2024 1.0.8 is deprecated because it is no longer maintained.
1.0.7 121 5/13/2024 1.0.7 is deprecated because it is no longer maintained.
1.0.6 185 5/4/2024 1.0.6 is deprecated because it is no longer maintained.
1.0.6-beta3 130 4/29/2024 1.0.6-beta3 is deprecated because it is no longer maintained.
1.0.6-beta2 105 4/28/2024 1.0.6-beta2 is deprecated because it is no longer maintained.
1.0.6-beta1 138 4/27/2024 1.0.6-beta1 is deprecated because it is no longer maintained.
1.0.5 147 4/26/2024 1.0.5 is deprecated because it is no longer maintained.
1.0.4 224 4/16/2024 1.0.4 is deprecated because it is no longer maintained.
1.0.3 181 4/11/2024 1.0.3 is deprecated because it is no longer maintained.
1.0.2 182 4/3/2024 1.0.2 is deprecated because it is no longer maintained.
1.0.1 1,136 3/23/2024 1.0.1 is deprecated because it is no longer maintained.
1.0.1-beta8 175 3/23/2024 1.0.1-beta8 is deprecated because it is no longer maintained.
1.0.1-beta7 180 3/17/2024 1.0.1-beta7 is deprecated because it is no longer maintained.
1.0.1-beta5 180 3/14/2024 1.0.1-beta5 is deprecated because it is no longer maintained.
1.0.1-beta4 156 3/14/2024 1.0.1-beta4 is deprecated because it is no longer maintained.
1.0.1-beta3 139 3/14/2024 1.0.1-beta3 is deprecated because it is no longer maintained.
1.0.1-beta2 132 3/14/2024 1.0.1-beta2 is deprecated because it is no longer maintained.