{"id":16398161,"url":"https://github.com/hugorcd/eslint-config","last_synced_at":"2025-06-24T15:05:52.061Z","repository":{"id":230031234,"uuid":"778278280","full_name":"HugoRCD/eslint-config","owner":"HugoRCD","description":"Personal and opinionated ESLint Flat configuration","archived":false,"fork":false,"pushed_at":"2025-06-24T07:27:43.000Z","size":2902,"stargazers_count":8,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-24T15:04:39.104Z","etag":null,"topics":["eslint","eslint-config","flat-config","nuxt","typescript","vue"],"latest_commit_sha":null,"homepage":"","language":"Vue","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/HugoRCD.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":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":["HugoRCD"]}},"created_at":"2024-03-27T12:26:26.000Z","updated_at":"2025-06-24T07:26:21.000Z","dependencies_parsed_at":"2024-04-16T06:30:49.630Z","dependency_job_id":"22dc3b76-4c76-43b1-880a-5cc1c70b509d","html_url":"https://github.com/HugoRCD/eslint-config","commit_stats":null,"previous_names":["hugorcd/eslint-config"],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/HugoRCD/eslint-config","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HugoRCD%2Feslint-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HugoRCD%2Feslint-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HugoRCD%2Feslint-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HugoRCD%2Feslint-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HugoRCD","download_url":"https://codeload.github.com/HugoRCD/eslint-config/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HugoRCD%2Feslint-config/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261700468,"owners_count":23196501,"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":["eslint","eslint-config","flat-config","nuxt","typescript","vue"],"created_at":"2024-10-11T05:12:00.289Z","updated_at":"2025-06-24T15:05:52.043Z","avatar_url":"https://github.com/HugoRCD.png","language":"Vue","funding_links":["https://github.com/sponsors/HugoRCD"],"categories":[],"sub_categories":[],"readme":"![social-banner.jpg](assets/social-banner.jpg)\n\n# @hrcd/eslint-config\n\n\u003c!-- automd:badges color=black license provider=shields  --\u003e\n\n[![npm version](https://img.shields.io/npm/v/@hrcd/eslint-config?color=black)](https://npmjs.com/package/@hrcd/eslint-config)\n[![npm downloads](https://img.shields.io/npm/dm/@hrcd/eslint-config?color=black)](https://npmjs.com/package/@hrcd/eslint-config)\n[![license](https://img.shields.io/github/license/HugoRCD/eslint-config?color=black)](https://github.com/HugoRCD/eslint-config/blob/main/LICENSE)\n\n\u003c!-- /automd --\u003e\n\nA comprehensive and opinionated ESLint Flat configuration, designed to deliver an optimal development experience with minimal setup.\n\n## ✨ Features\n\n- **Primed for Vue \u0026 Nuxt** - Optimized for Vue 3 and the Nuxt ecosystem with tailored rules\n- **Advanced TypeScript Support** - Specific rules for TypeScript with type checking\n- **Multi-language** - Supports JavaScript, TypeScript, Vue, JSON, YAML, Markdown and more\n- **PNPM Optimized** - Special rules for projects using PNPM workspaces\n- **PNPM Catalog Support** - Integration with the new PNPM Catalog feature for better dependency management\n- **Automatic Formatting** - Auto-fix styling issues without relying on Prettier\n- **Highly Customizable** - Opinionated but easily adjustable to your needs\n- **Respects `.gitignore`** - Automatically ignores files listed in your `.gitignore`\n\n## 📦 Installation\n\n\u003c!-- automd:pm-install --\u003e\n\n```sh\n# ✨ Auto-detect\nnpx nypm install @hrcd/eslint-config\n\n# npm\nnpm install @hrcd/eslint-config\n\n# yarn\nyarn add @hrcd/eslint-config\n\n# pnpm\npnpm install @hrcd/eslint-config\n\n# bun\nbun install @hrcd/eslint-config\n```\n\n\u003c!-- /automd --\u003e\n\n## 🚀 Usage\n\nCreate an `eslint.config.js` file at the root of your project:\n\n```js\nimport { createConfig } from \"@hrcd/eslint-config\"\n\nexport default createConfig()\n```\n\n### Customization\n\nThe configuration is opinionated but flexible. You can customize it to match your project's needs:\n\n```js\nimport { createConfig } from \"@hrcd/eslint-config\"\n\nexport default createConfig({\n  // Enable/disable features\n  typescript: true, // TypeScript support\n  vue: true,        // Vue support\n  nuxt: true,       // Nuxt support\n\n  // Define files to ignore\n  ignores: [\n    'dist',\n    'node_modules',\n    // Other patterns\n  ]\n})\n```\n\n## 🔍 PNPM Catalog Support\n\nThis ESLint config includes optimized rules for projects using PNPM Catalog, the new feature that helps manage and organize packages in PNPM workspaces. It ensures proper dependency declarations, prevents hoisting issues, and maintains catalog structure consistency.\n\n## 🛠️ IDE Integration\n\n### VS Code\n\n1. Install the [ESLint extension](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)\n2. Add to your `settings.json`:\n\n```json\n{\n  \"eslint.validate\": [\n    \"javascript\",\n    \"typescript\",\n    \"vue\",\n    \"html\",\n    \"markdown\",\n    \"json\",\n    \"yaml\"\n  ],\n  \"editor.codeActionsOnSave\": {\n    \"source.fixAll.eslint\": true\n  }\n}\n```\n\n## 🛠️ Development\n\n- Clone this repository\n- Install latest LTS version of [Node.js](https://nodejs.org/en/)\n- Enable [Corepack](https://github.com/nodejs/corepack) using `corepack enable`\n- Install dependencies using `bun install`\n\n## Contributing\nTo start contributing, you can follow these steps:\n\n1. First raise an issue to discuss the changes you would like to make.\n2. Fork the repository.\n3. Create a branch using conventional commits and the issue number as the branch name. For example, `feat/123` or `fix/456`.\n4. Make changes following the local development steps [above](#local-development).\n5. Commit your changes following the [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) specification.\n6. Run tests using `pnpm run test`.\n7. Create a pull request following the [Pull Request Template](.github/pull_request_template.md).\n   - To be merged, the pull request must pass the tests/workflow and have at least one approval.\n   - If your changes affect the documentation, make sure to update it.\n   - If your changes affect the code, make sure to update the tests.\n8. Wait for the maintainers to review your pull request.\n9. Once approved, the pull request will be merged in the next release !\n\n\u003c!-- automd:fetch url=\"gh:hugorcd/markdown/main/src/sponsors.md\" --\u003e\n\n## Sponsors\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/sponsors/HugoRCD\"\u003e\n    \u003cimg src='https://cdn.jsdelivr.net/gh/hugorcd/static/sponsors.svg' alt=\"HugoRCD sponsors\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003c!-- /automd --\u003e\n\n## Contributors\n\n\u003c!-- automd:contributors license=Apache author=HugoRCD--\u003e\n\nPublished under the [APACHE](https://github.com/HugoRCD/eslint-config/blob/main/LICENSE) license.\nMade by [@HugoRCD](https://github.com/HugoRCD) and [community](https://github.com/HugoRCD/eslint-config/graphs/contributors) 💛\n\u003cbr\u003e\u003cbr\u003e\n\u003ca href=\"https://github.com/HugoRCD/eslint-config/graphs/contributors\"\u003e\n\u003cimg src=\"https://contrib.rocks/image?repo=HugoRCD/eslint-config\" /\u003e\n\u003c/a\u003e\n\n\u003c!-- /automd --\u003e\n\n\u003c!-- automd:with-automd lastUpdate --\u003e\n\n---\n\n_🤖 auto updated with [automd](https://automd.unjs.io) (last updated: Thu Apr 03 2025)_\n\n\u003c!-- /automd --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhugorcd%2Feslint-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhugorcd%2Feslint-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhugorcd%2Feslint-config/lists"}