{"id":27235542,"url":"https://github.com/green-code-initiative/creedengo-javascript","last_synced_at":"2025-04-10T16:47:12.631Z","repository":{"id":92701045,"uuid":"600061860","full_name":"green-code-initiative/creedengo-javascript","owner":"green-code-initiative","description":"Reduce the environmental footprint of your JS/TS software programs","archived":false,"fork":false,"pushed_at":"2025-03-31T21:14:15.000Z","size":5578,"stargazers_count":25,"open_issues_count":8,"forks_count":19,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-03-31T21:15:14.763Z","etag":null,"topics":["ecodesign","eslint-plugin","javascript","sonarqube","sonarqube-plugin","typescript"],"latest_commit_sha":null,"homepage":"https://green-code-initiative.org","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/green-code-initiative.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-02-10T13:54:16.000Z","updated_at":"2025-03-31T21:14:19.000Z","dependencies_parsed_at":"2023-10-12T06:05:18.828Z","dependency_job_id":"9d7767c3-ebb2-4e35-a0c7-5a689406f849","html_url":"https://github.com/green-code-initiative/creedengo-javascript","commit_stats":{"total_commits":145,"total_committers":7,"mean_commits":"20.714285714285715","dds":"0.18620689655172418","last_synced_commit":"7639768db7074e931d654daf91b05b42d4b178f1"},"previous_names":["green-code-initiative/ecocode-javascript","green-code-initiative/ecocode-linter","green-code-initiative/creedengo-javascript"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/green-code-initiative%2Fcreedengo-javascript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/green-code-initiative%2Fcreedengo-javascript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/green-code-initiative%2Fcreedengo-javascript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/green-code-initiative%2Fcreedengo-javascript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/green-code-initiative","download_url":"https://codeload.github.com/green-code-initiative/creedengo-javascript/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248254423,"owners_count":21073086,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ecodesign","eslint-plugin","javascript","sonarqube","sonarqube-plugin","typescript"],"created_at":"2025-04-10T16:47:09.911Z","updated_at":"2025-04-10T16:47:12.622Z","avatar_url":"https://github.com/green-code-initiative.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Creedengo-JS\n\n_creedengo_ 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.\n\nWebsites are becoming increasingly heavy and complex over the years. They represent an important part\nof the digital environmental footprint. The JavaScript/TypeScript part of the project focuses on providing rules and guidelines to optimize web applications and server-side code written in JavaScript and TypeScript.\n\n[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)\n![Build](https://github.com/green-code-initiative/creedengo-javascript/actions/workflows/ci.yml/badge.svg)\n[![Sonar Quality gate](https://img.shields.io/sonar/quality_gate/green-code-initiative_ecoCode-linter?server=https%3A%2F%2Fsonarcloud.io)](https://sonarcloud.io/project/overview?id=green-code-initiative_ecoCode-linter)\n\n## 🌿 SonarQube plugin\n\n_Creedengo_ JavaScript is an \"eco-responsibility\" static code analyzer for projects based on the JavaScript ecosystem. It\ncan handle JavaScript, TypeScript and all frameworks that use them. Its main purpose is to work with website source\ncode, but it can also analyze back-end code.\n\nThis project proposes rules for the following technologies:\n\n- JavaScript\n- TypeScript\n- NestJS\n- React (JSX)\n- React Native / Expo\n\n## 🔧 ESLint plugin\n\nThis project uses an internal ESLint plugin to analyze your source code.\n\nIf you are not using SonarQube, we have a solution for you: the linter is working nicely on its own! \\\nFollow instructions in the [dedicated README file](eslint-plugin/README.md) to use it as a standalone plugin.\n\n## 🛒 Distribution\n\n[![sonar-plugin version](https://img.shields.io/github/v/release/green-code-initiative/creedengo-javascript?label=SonarQube%20plugin)](https://github.com/green-code-initiative/creedengo-javascript/releases/latest)\n[![eslint-plugin version](https://img.shields.io/npm/v/@creedengo/eslint-plugin?label=ESLint%20plugin)](https://npmjs.com/package/@creedengo/eslint-plugin)\n\n**The plugin is available from the official SonarQube marketplace! Check the\n[version matrix here](https://docs.sonarsource.com/sonarqube/latest/instance-administration/plugin-version-matrix/).**\n\nReady to use binaries for SonarQube are also\navailable [from GitHub](https://github.com/green-code-initiative/creedengo-javascript/releases). \\\nMake sure to place the binary inside `extensions/plugins/` folder of your SonarQube instance.\n\nThe standalone version of the ESLint plugin is available from [npmjs](https://npmjs.com/package/@creedengo/eslint-plugin).\n\n## 🧩 Compatibility\n\n| Plugins Version | SonarQube version | ESLint version |\n| --------------- | ----------------- | -------------- |\n| 2.+             | 9.9.+ LTA to 25.3 | 7.x, 8.x       |\n| 1.4, 1.5        | 9.9.+ LTA to 10.7 | 7.x, 8.x       |\n\n## 🤝 Contribution\n\nYou have an idea or you want to help us improving this project? \\\nWe are open to your suggestions and contributions! Open an issue or PR 🚀\n\nCheck out the [CONTRIBUTING.md](CONTRIBUTING.md) file\nand follow the various guides to start contributing.\n\nThank you to all the people who already contributed to creedengo-javascript!\n\n- Elise Dubillot\n- Laetitia Bézie\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgreen-code-initiative%2Fcreedengo-javascript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgreen-code-initiative%2Fcreedengo-javascript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgreen-code-initiative%2Fcreedengo-javascript/lists"}