{"id":20098302,"url":"https://github.com/zemd/eslint-flat-config","last_synced_at":"2026-05-09T19:14:30.448Z","repository":{"id":202986765,"uuid":"708547220","full_name":"zemd/eslint-flat-config","owner":"zemd","description":"🐩 ESLint Configs for Modern JavaScript Projects in 2026","archived":false,"fork":false,"pushed_at":"2026-04-12T07:06:24.000Z","size":2319,"stargazers_count":9,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-12T09:30:45.588Z","etag":null,"topics":["eslint","eslint-config","eslint-rules","eslint-shareable-configs"],"latest_commit_sha":null,"homepage":"https://zemd-eslint-config.pages.dev/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zemd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["zemd"],"buy_me_a_coffee":"zemd"}},"created_at":"2023-10-22T21:40:54.000Z","updated_at":"2026-04-12T07:05:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"ed3b68c1-c63a-4a6b-895d-c05980997e4d","html_url":"https://github.com/zemd/eslint-flat-config","commit_stats":{"total_commits":32,"total_committers":3,"mean_commits":"10.666666666666666","dds":0.375,"last_synced_commit":"5c65564d5c8d6afa7ef4dca8748fe2941c2f883a"},"previous_names":["zemd/eslint-flat-config"],"tags_count":358,"template":false,"template_full_name":null,"purl":"pkg:github/zemd/eslint-flat-config","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zemd%2Feslint-flat-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zemd%2Feslint-flat-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zemd%2Feslint-flat-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zemd%2Feslint-flat-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zemd","download_url":"https://codeload.github.com/zemd/eslint-flat-config/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zemd%2Feslint-flat-config/sbom","scorecard":{"id":939040,"data":{"date":"2025-08-27T05:55:00Z","repo":{"name":"github.com/zemd/eslint-flat-config","commit":"16957795a3d94177e906a783a50c91628761022d"},"scorecard":{"version":"v5.2.1","commit":"ab2f6e92482462fe66246d9e32f642855a691dc1"},"score":8.1,"checks":[{"name":"Maintained","score":10,"reason":"30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/4 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#binary-artifacts"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#packaging"}},{"name":"Dependency-Update-Tool","score":10,"reason":"update tool detected","details":["Info: detected update tool: Dependabot: .github/dependabot.yml:1"],"documentation":{"short":"Determines if the project uses a dependency update tool.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#dependency-update-tool"}},{"name":"Pinned-Dependencies","score":10,"reason":"all dependencies are pinned","details":["Info:   9 out of   9 GitHub-owned GitHubAction dependencies pinned","Info:   8 out of   8 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#pinned-dependencies"}},{"name":"Token-Permissions","score":10,"reason":"GitHub workflow tokens follow principle of least privilege","details":["Warn: jobLevel 'contents' permission set to 'write': .github/workflows/add-changeset.yml:25","Info: jobLevel 'contents' permission set to 'read': .github/workflows/dependency-review.yml:17","Warn: jobLevel 'contents' permission set to 'write': .github/workflows/release.yml:16","Warn: jobLevel 'packages' permission set to 'write': .github/workflows/release.yml:17","Info: jobLevel 'issues' permission set to 'read': .github/workflows/release.yml:19","Info: jobLevel 'contents' permission set to 'read': .github/workflows/scorecards.yml:29","Info: jobLevel 'actions' permission set to 'read': .github/workflows/scorecards.yml:30","Info: jobLevel 'issues' permission set to 'read': .github/workflows/scorecards.yml:32","Info: jobLevel 'pull-requests' permission set to 'read': .github/workflows/scorecards.yml:33","Info: jobLevel 'checks' permission set to 'read': .github/workflows/scorecards.yml:35","Info: topLevel permissions set to 'read-all': .github/workflows/add-changeset.yml:20","Info: topLevel permissions set to 'read-all': .github/workflows/dependency-review.yml:12","Info: topLevel permissions set to 'read-all': .github/workflows/release.yml:10","Info: topLevel permissions set to 'read-all': .github/workflows/scorecards.yml:18"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#token-permissions"}},{"name":"Security-Policy","score":9,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Info: Found linked content: SECURITY.md:1","Warn: One or no descriptive hints of disclosure, vulnerability, and/or timelines in security policy","Info: Found text in security policy: SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#security-policy"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#dangerous-workflow"}},{"name":"CII-Best-Practices","score":2,"reason":"badge detected: InProgress","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#cii-best-practices"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#signed-releases"}},{"name":"SAST","score":10,"reason":"SAST tool is run on all commits","details":["Info: all commits (27) are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#sast"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#branch-protection"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#fuzzing"}},{"name":"Contributors","score":6,"reason":"project has 2 contributing companies or organizations -- score normalized to 6","details":["Info: found contributions from: ikea it ab, logtown"],"documentation":{"short":"Determines if the project has a set of contributors from multiple organizations (e.g., companies).","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#contributors"}},{"name":"CI-Tests","score":10,"reason":"27 out of 27 merged PRs checked by a CI test -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project runs tests before pull requests are merged.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#ci-tests"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-27T14:36:25.763Z","repository_id":202986765,"created_at":"2025-08-27T14:36:25.763Z","updated_at":"2025-08-27T14:36:25.763Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32831734,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"online","status_checked_at":"2026-05-09T02:00:06.633Z","response_time":123,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["eslint","eslint-config","eslint-rules","eslint-shareable-configs"],"created_at":"2024-11-13T17:02:41.674Z","updated_at":"2026-05-09T19:14:30.413Z","avatar_url":"https://github.com/zemd.png","language":"TypeScript","funding_links":["https://github.com/sponsors/zemd","https://buymeacoffee.com/zemd"],"categories":["TypeScript"],"sub_categories":[],"readme":"# ESLint Configs for Modern JavaScript Projects\n\nWelcome to the ultimate ESLint setup — no fluff, just what you need to write clean, bug-free code. Say goodbye to unnecessary stress and hello to a smooth dev experience! 🎉\n\n## Why This ESLint Config?\n\n- As simple as flat configs can be — without re-inventing the classic nested config,\n- Keeps your codebase clean while reducing friction 🧘,\n- Focuses on catching bugs, not dictating your coding style 🐛,\n- Minimal but configurable — use only what you need 🔧,\n- Bundled support for _TypeScript_, _React.js_, _Playwright_, _Storybook_, _Vitest_, and more,\n- **DOES NOT** enforce import sorting or stylistic formatting (that's a job for Prettier 😉),\n- Works with eslint v9+\n\n## Usage\n\n\u003e [!NOTE]  \n\u003e Starting from `@zemd/eslint-flat-config`@v3.2.0, the package was split into multiple packages. Pick what suits your project best! 🛠️\n\n### Available Packages\n\n| Package                                                      | Version                                                                                                                                                 | Description                                                                                                                |\n| ------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------- |\n| [`@zemd/eslint-js`](./packages/js/README.md)                 | [![npm](https://img.shields.io/npm/v/@zemd/eslint-js?color=0000ff\u0026label=npm\u0026labelColor=000)](https://npmjs.com/package/@zemd/eslint-js)                 | JavaScript-only rules.                                                                                                     |\n| [`@zemd/eslint-ts`](./packages/ts/README.md)                 | [![npm](https://img.shields.io/npm/v/@zemd/eslint-ts?color=0000ff\u0026label=npm\u0026labelColor=000)](https://npmjs.com/package/@zemd/eslint-ts)                 | TypeScript rules (includes JS rules from @zemd/eslint-js).                                                                 |\n| [`@zemd/eslint-react`](./packages/react/README.md)           | [![npm](https://img.shields.io/npm/v/@zemd/eslint-react?color=0000ff\u0026label=npm\u0026labelColor=000)](https://npmjs.com/package/@zemd/eslint-react)           | React rules (includes TS rules from `@zemd/eslint-ts` and JS rules from `@zemd/eslint-js`).                                |\n| [`@zemd/eslint-rock-stack`](./packages/rock-stack/README.md) | [![npm](https://img.shields.io/npm/v/@zemd/eslint-rock-stack?color=0000ff\u0026label=npm\u0026labelColor=000)](https://npmjs.com/package/@zemd/eslint-rock-stack) | Rules for Fullstack projects that include React.js, GraphQL, Playwright, Tailwind(optional), Turbo, Vitest, and Storybook. |\n| [`@zemd/eslint-next`](./packages/next/README.md)             | [![npm](https://img.shields.io/npm/v/@zemd/eslint-next?color=0000ff\u0026label=npm\u0026labelColor=000)](https://npmjs.com/package/@zemd/eslint-next)             | Rules for Next.js projects (inherits from `@zemd/eslint-rock-stack`).                                                      |\n| [`@zemd/eslint-astro`](./packages/astro/README.md)             | [![npm](https://img.shields.io/npm/v/@zemd/eslint-astro?color=0000ff\u0026label=npm\u0026labelColor=000)](https://npmjs.com/package/@zemd/eslint-astro)             | Rules for Astro projects (includes also `@zemd/eslint-react` rules by default, but configurable).                                                      |\n\n## Installation\n\n```sh\nnpm install --save-dev eslint @zemd/eslint-rock-stack\n```\n\n## Configuration\n\n### Basic Setup\n\n```typescript\n// eslint.config.js\nimport { typescript, storybook } from \"@zemd/eslint-rock-stack\";\n\nexport default [\n  ...typescript(),\n  ...storybook({\n    filesMain: [\"./packages/storybook/.storybook/main.js\"],\n    filesStories: [\"./packages/storybook/**/*.{stories,story}.{js,jsx,ts,tsx}\"],\n  }),\n];\n```\n\n### More Advanced Setup\n\nWant to remove specific rules? Just filter them out! 🔥\n\n```typescript\n// eslint.config.js\nimport rock from \"@zemd/eslint-rock-stack\";\n\nexport default rock().filter((feature) =\u003e !feature.name.startsWith(\"zemd/graphql\"));\n```\n\nOr cherry-pick only what you need:\n\n```typescript\n// eslint.config.js\nimport { javascript, typescript, vitest } from \"@zemd/eslint-rock-stack\";\n\nexport default [...javascript(), ...typescript(), ...vitest()];\n```\n\n## Add script for package.json\n\n```bash\nnpm pkg set scripts.lint=\"eslint .\"\nnpm pkg set scripts.lint:fix=\"eslint . --fix\"\n```\n\nor manually:\n\n```json\n{\n  \"scripts\": {\n    \"lint\": \"eslint .\",\n    \"lint:fix\": \"eslint . --fix\"\n  }\n}\n```\n\n## Debug your rules\n\nUse [`@eslint/config-inspector`](https://github.com/eslint/config-inspector) to debug your ESLint setup.\n\n```bash\nnpx @eslint/config-inspector@latest\n# or\nbunx @eslint/config-inspector@latest\n```\n\n## Vision\n\nThis monorepo is all about making your life easier — less tool stress, more confidence. Here’s the philosophy behind it:\n\n- 💠 No tool should block you from using language features,\n- 💠 Minimal warnings, just meaningful errors that help (not annoy) you.\n- 💠 No formatting rules — Prettier handles that so you don’t have to debate semicolons,\n- 💠 Simple configuration — just native JS arrays, no unnecessary abstractions,\n- 💠 Batteries included 🔋: Enable only what you need (TypeScript, React, Next.js, Tailwind, Vitest, Playwright, Storybook, etc.).\n- 💠 Rules guide you to write better code, not force a rigid style.\n\n## Inspirations and alternatives\n\n- [Sheriff](https://www.eslint-config-sheriff.dev/) -- Great, but includes some stylistic restrictions,\n- [Antfu config](https://github.com/antfu/eslint-config) -- Another solid choice,\n- [XO](https://github.com/spence-s/flat-xo) -- Flat version of `xo`, but still in beta.\n\n## License\n\nAll packages in this monorepo are licensed under **Apache-2.0 license** 😇.\n\n## 💙 💛 Donate\n\n[![](https://img.shields.io/static/v1?label=UNITED24\u0026message=support%20Ukraine\u0026color=blue)](https://u24.gov.ua/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzemd%2Feslint-flat-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzemd%2Feslint-flat-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzemd%2Feslint-flat-config/lists"}