{"id":28412033,"url":"https://github.com/directus/eslint-config","last_synced_at":"2026-02-12T22:31:11.259Z","repository":{"id":272846959,"uuid":"836796910","full_name":"directus/eslint-config","owner":"directus","description":"Shared ESLint config used in Directus projects","archived":false,"fork":false,"pushed_at":"2025-09-29T06:18:36.000Z","size":2282,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-10-02T10:46:40.976Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://directus.github.io/eslint-config/","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/directus.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":"2024-08-01T15:18:41.000Z","updated_at":"2025-08-01T06:26:13.000Z","dependencies_parsed_at":"2025-07-11T08:26:27.914Z","dependency_job_id":null,"html_url":"https://github.com/directus/eslint-config","commit_stats":null,"previous_names":["directus/eslint-config"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/directus/eslint-config","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/directus%2Feslint-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/directus%2Feslint-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/directus%2Feslint-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/directus%2Feslint-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/directus","download_url":"https://codeload.github.com/directus/eslint-config/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/directus%2Feslint-config/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29383877,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T22:07:52.078Z","status":"ssl_error","status_checked_at":"2026-02-12T22:07:49.026Z","response_time":55,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":[],"created_at":"2025-06-02T19:20:05.438Z","updated_at":"2026-02-12T22:31:11.254Z","avatar_url":"https://github.com/directus.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Directus ESLint Config\n\nOpinionated ESLint config used by the projects in the Directus ecosystem.\n\n- Lint and format JS/TS, Vue, JSON, YAML and TOML files (via ESLint)\n- Format HTML, CSS/SCSS, MD and GQL files (via [dprint](https://github.com/dprint/dprint))\n- Contains recommended and hand-picked rules\n  - [eslint-plugin-import-x](https://github.com/un-ts/eslint-plugin-import-x) - Linting of import/export syntax\n  - [eslint-plugin-n](https://github.com/eslint-community/eslint-plugin-n) - Rules for Node.js\n  - [eslint-plugin-vitest](https://github.com/vitest-dev/eslint-plugin-vitest) - Linting tests\n  - [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) - Best practice rules for JS/TS\n  - [eslint-stylistic](https://github.com/eslint-stylistic/eslint-stylistic) - Formatting rules\n  - and more...\n- Includes [eslint-plugin-command](https://github.com/antfu/eslint-plugin-command) for one-off codemod\n\n## Installation\n\n```shell\npnpm add -D eslint @directus/eslint-config\n```\n\n## Usage\n\nCreate an [ESLint config file](https://eslint.org/docs/latest/use/configure/configuration-files) with the following\ncontent:\n\n_Minimal_\n\n```js\nexport { default } from '@directus/eslint-config';\n```\n\n_When using additional config_\n\n```js\nimport directusConfig from '@directus/eslint-config';\n\nexport default [\n\t...directusConfig,\n\t// Additional config\n];\n```\n\n## Credits\n\nThis config is heavily inspired by and partially based on Anthony's ESLint config preset ❤️\\\nIf you're looking for an ESLint config preset outside of the Directus ecosystem, check it out at\nhttps://github.com/antfu/eslint-config.\n\nCredits also go to all maintainers of the ESLint plugins this config is using.\n\n## Additional Resources\n\n- [Directus Website](https://directus.io)\n- [Directus GitHub Repository](https://github.com/directus/directus)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdirectus%2Feslint-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdirectus%2Feslint-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdirectus%2Feslint-config/lists"}