{"id":28713923,"url":"https://github.com/arnaud-zg/eslint-plugin-feature-flags","last_synced_at":"2026-02-24T06:32:16.342Z","repository":{"id":298009519,"uuid":"995200472","full_name":"arnaud-zg/eslint-plugin-feature-flags","owner":"arnaud-zg","description":"ESLint plugin to enforce feature flag hygiene and prevent technical debt by automatically detecting expired flags.","archived":false,"fork":false,"pushed_at":"2025-06-15T12:24:20.000Z","size":1144,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-06T23:43:48.916Z","etag":null,"topics":["code-quality","eslint","eslint-plugin","feature-flags","feature-toggles","javascript","technical-debt","typescript"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/eslint-plugin-feature-flags","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/arnaud-zg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2025-06-03T05:53:57.000Z","updated_at":"2025-06-15T12:24:23.000Z","dependencies_parsed_at":"2025-06-08T23:17:44.475Z","dependency_job_id":"ac44a9a6-3341-43cc-bfdc-a5436b3e4947","html_url":"https://github.com/arnaud-zg/eslint-plugin-feature-flags","commit_stats":null,"previous_names":["arnaud-zg/eslint-plugin-feature-flags"],"tags_count":17,"template":false,"template_full_name":null,"purl":"pkg:github/arnaud-zg/eslint-plugin-feature-flags","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arnaud-zg%2Feslint-plugin-feature-flags","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arnaud-zg%2Feslint-plugin-feature-flags/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arnaud-zg%2Feslint-plugin-feature-flags/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arnaud-zg%2Feslint-plugin-feature-flags/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arnaud-zg","download_url":"https://codeload.github.com/arnaud-zg/eslint-plugin-feature-flags/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arnaud-zg%2Feslint-plugin-feature-flags/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29774444,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-24T04:54:30.205Z","status":"ssl_error","status_checked_at":"2026-02-24T04:53:58.628Z","response_time":75,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["code-quality","eslint","eslint-plugin","feature-flags","feature-toggles","javascript","technical-debt","typescript"],"created_at":"2025-06-15T01:00:43.462Z","updated_at":"2026-02-24T06:32:16.311Z","avatar_url":"https://github.com/arnaud-zg.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🚀 eslint-plugin-feature-flags\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"./assets/icon.svg\" width=\"128\" height=\"128\" alt=\"Eslint Plugin Feature Flags Logo\" /\u003e\n\u003c/p\u003e\n\n\u003cdiv align=\"center\"\u003e\n  ESLint plugin to manage feature flags and prevent technical debt\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://opensource.org/licenses/MIT\"\u003e\u003cimg src=\"https://img.shields.io/badge/License-MIT-blue.svg\" alt=\"License: MIT\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://turbo.build/\"\u003e\u003cimg src=\"https://img.shields.io/badge/Built%20with-Turborepo-blueviolet\" alt=\"Built with Turbo\"\u003e\u003c/a\u003e\n  \u003cimg src=\"https://img.shields.io/badge/ESM-Ready-green\" alt=\"ESM Ready\"\u003e\n  \u003ca href=\"https://www.typescriptlang.org/\"\u003e\u003cimg src=\"https://img.shields.io/badge/TypeScript-007ACC?logo=typescript\u0026logoColor=white\" alt=\"TypeScript\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://nodejs.org\"\u003e\u003cimg src=\"https://img.shields.io/badge/node-v18+-green.svg\" alt=\"Node\"\u003e\u003c/a\u003e\n\u003c/div\u003e\n\n## Table of Contents\n\n- [Overview](#overview)\n- [Development](#development)\n- [Project Structure](#project-structure)\n- [Key Components](#key-components)\n- [License](#license)\n- [Learn More](#want-to-learn-more)\n- [Acknowledgments](#acknowledgments)\n\n## Overview\n\nFeature flags help teams deploy safely, but often become technical debt when forgotten. This ESLint plugin solves that by:\n\n- **Finding expired flags** that should be removed\n- **Preventing undefined flags** to avoid typos and mistakes\n- **Automating cleanup** with configurable strategies\n\nCommon issues this plugin addresses:\n\n- **Dead flags** bloating the codebase\n- **Stale flags** creating ambiguity\n- **Hidden logic** behind flags where it doesn't belong\n- **Lack of clear ownership** of flags across teams\n\n👉 See the [example project](./examples/test-project/) for a quick demo.\n\n## Development\n\n### Quick Start\n\n```bash\n# Install dependencies\npnpm install\n\n# Build all packages\npnpm build\n\n# Development mode\npnpm dev\n\n# Run tests\npnpm test\n\n# Check code quality\npnpm lint\npnpm format\n```\n\n## Project Structure\n\nThis is a monorepo built with Turborepo:\n\n```\neslint-plugin-feature-flags/\n├── apps/\n│   └── eslint-plugin/  # Main ESLint plugin package\n├── packages/\n│   ├── types/          # TypeScript type definitions\n│   └── core/           # Shared utilities\n├── examples/\n│   └── test-project/   # Example implementation\n```\n\n## Key Components\n\n- 🔍 **[ESLint Plugin](./apps/eslint-plugin/)** - The main plugin package\n- 🧩 **[Core](./packages/core/)** - Shared utilities and logic\n- 📝 **[Types](./packages/types/)** - TypeScript definitions\n- 🧪 **[Example Project](./examples/test-project/)** - Working example\n\n## License\n\nThis project is MIT licensed - see the [LICENSE](LICENSE) file for details.\n\n## Want to Learn More?\n\nResources on feature flag best practices:\n\n- [Effective Feature Flag Management](https://arnaudzg.substack.com/p/effective-feature-flag-management) - The article that inspired this plugin\n- [ESLint Plugin Documentation](./apps/eslint-plugin/README.md) - Full plugin details and examples\n\n## Acknowledgments\n\nSpecial thanks to [Kevin Marques](https://github.com/marques-kevin) for the idea that sparked this project, and to all contributors who help make it better!\n\nBuilt with [Turborepo](https://turbo.build/) ⚡️\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farnaud-zg%2Feslint-plugin-feature-flags","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farnaud-zg%2Feslint-plugin-feature-flags","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farnaud-zg%2Feslint-plugin-feature-flags/lists"}