{"id":14978373,"url":"https://github.com/coderwyd/eslint-config","last_synced_at":"2026-03-02T09:07:34.103Z","repository":{"id":185545325,"uuid":"673691011","full_name":"coderwyd/eslint-config","owner":"coderwyd","description":"Donny's ESLint config presets.","archived":false,"fork":false,"pushed_at":"2026-01-21T14:03:31.000Z","size":3012,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-22T01:57:35.666Z","etag":null,"topics":["eslint","eslint-config","eslint-plugin","eslint-plugin-import","eslint-plugin-react","eslint-plugin-react-hooks","eslint-plugin-svelte","eslint-plugin-unicorn","eslint-plugin-vitest","eslint-plugin-vue"],"latest_commit_sha":null,"homepage":"https://donny-eslint-config.netlify.app/","language":"TypeScript","has_issues":false,"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/coderwyd.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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-08-02T07:52:17.000Z","updated_at":"2026-01-07T09:20:32.000Z","dependencies_parsed_at":"2024-01-28T20:42:40.446Z","dependency_job_id":"5317c432-e951-4be2-bec8-fc47f55173b9","html_url":"https://github.com/coderwyd/eslint-config","commit_stats":{"total_commits":804,"total_committers":2,"mean_commits":402.0,"dds":"0.37935323383084574","last_synced_commit":"cef4f05097c6d925e5825bf3dccb4afb84715960"},"previous_names":["coderwyd/eslint-config"],"tags_count":89,"template":false,"template_full_name":null,"purl":"pkg:github/coderwyd/eslint-config","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderwyd%2Feslint-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderwyd%2Feslint-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderwyd%2Feslint-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderwyd%2Feslint-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/coderwyd","download_url":"https://codeload.github.com/coderwyd/eslint-config/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/coderwyd%2Feslint-config/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28720454,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T05:53:42.649Z","status":"ssl_error","status_checked_at":"2026-01-24T05:53:41.698Z","response_time":89,"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":["eslint","eslint-config","eslint-plugin","eslint-plugin-import","eslint-plugin-react","eslint-plugin-react-hooks","eslint-plugin-svelte","eslint-plugin-unicorn","eslint-plugin-vitest","eslint-plugin-vue"],"created_at":"2024-09-24T13:57:29.833Z","updated_at":"2026-01-24T08:10:26.609Z","avatar_url":"https://github.com/coderwyd.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @coderwyd/eslint-config\n\n[![release status](https://github.com/coderwyd/eslint-config/actions/workflows/release.yml/badge.svg)](https://github.com/coderwyd/eslint-config/actions/workflows/release.yml)\n[![npm](https://img.shields.io/npm/v/@coderwyd/eslint-config.svg)](https://npmjs.org/package/@coderwyd/eslint-config)\n[![downloads](https://img.shields.io/npm/dy/@coderwyd/eslint-config.svg)](https://npmjs.org/package/@coderwyd/eslint-config)\n\n## Feature\n\n- 🛠️ Auto fix for formatting\n- ✨ Support Vue, React, Svelte.\n- 🎯 Designed to work with TypeScript, Vue out-of-box\n- 🏆 Reasonable defaults, best practices, only one-line of config\n\n## Usage\n\n### Install\n\n```bash\npnpm i -D eslint @coderwyd/eslint-config\n```\n\n### Create config file\n\n```js\n// eslint.config.js\nimport { defineConfig } from '@coderwyd/eslint-config'\n\nexport default defineConfig()\n```\n\n### Add script for package.json\n\nFor example:\n\n```json\n{\n  \"scripts\": {\n    \"lint\": \"eslint .\",\n    \"lint:fix\": \"eslint . --fix\"\n  }\n}\n```\n\n## VS Code support (auto fix)\n\nAdd the following settings to your `.vscode/settings.json`:\n\n```jsonc\n{\n  \"prettier.enable\": true,\n  \"editor.formatOnSave\": false,\n\n  // Auto fix\n  \"editor.codeActionsOnSave\": {\n    \"source.fixAll\": \"explicit\",\n    \"source.organizeImports\": \"never\",\n  },\n}\n```\n\n### Lint Staged\n\nIf you want to apply lint and auto-fix before every commit, you can add the following to your `package.json`:\n\n```json\n{\n  \"simple-git-hooks\": {\n    \"pre-commit\": \"pnpm lint-staged\"\n  },\n  \"lint-staged\": {\n    \"*\": \"eslint --fix\"\n  }\n}\n```\n\nand then\n\n```bash\nnpm i -D lint-staged simple-git-hooks\n```\n\n## Options\n\n### interface Options\n\n```ts\ninterface OptionsConfig extends OptionsComponentExts {\n  /**\n   * The current working directory\n   *\n   * @default process.cwd()\n   */\n  cwd?: string\n\n  /**\n   * Enable gitignore support.\n   *\n   * Passing an object to configure the options.\n   *\n   * @see https://github.com/antfu/eslint-config-flat-gitignore\n   * @default true\n   */\n  gitignore?: boolean | FlatGitignoreOptions\n\n  /**\n   * Core rules. Can't be disabled.\n   */\n  javascript?: OptionsOverrides\n\n  /**\n   * Enable TypeScript support.\n   *\n   * Passing an object to enable TypeScript Language Server support.\n   *\n   * @default auto-detect based on the dependencies\n   */\n  typescript?: boolean | OptionsTypescript\n\n  /**\n   * Enable test support.\n   *\n   * @default true\n   */\n  test?: boolean | OptionsOverrides\n\n  /**\n   * Enable Vue support.\n   *\n   * @default auto-detect based on the dependencies\n   */\n  vue?: boolean | OptionsVue\n\n  /**\n   * Enable JSONC support.\n   *\n   * @default true\n   */\n  jsonc?: boolean | OptionsOverrides\n\n  /**\n   * Enable react rules.\n   *\n   * Requires installing:\n   * - `@eslint-react/eslint-plugin`\n   * - `eslint-plugin-react-hooks`\n   * - `eslint-plugin-react-refresh`\n   *\n   * @default false\n   */\n  react?: boolean | OptionsOverrides\n\n  /**\n   * Enable svelte rules.\n   *\n   * Requires installing:\n   * - `eslint-plugin-svelte`\n   *\n   * @default false\n   */\n  svelte?: boolean | OptionsOverrides\n\n  /**\n   * Enable tainwindcss rules.\n   *\n   * @default auto-detect based on the dependencies\n   */\n  tailwindcss?: boolean | OptionsOverrides\n\n  /**\n   * Enable unocss rules.\n   *\n   * Requires installing:\n   * - `@unocss/eslint-plugin`\n   *\n   * @default false\n   */\n  unocss?: boolean | OptionsUnoCSS\n\n  /**\n   * Enable regexp rules.\n   *\n   * @see https://ota-meshi.github.io/eslint-plugin-regexp/\n   * @default true\n   */\n  regexp?: boolean | (OptionsRegExp \u0026 OptionsOverrides)\n\n  /**\n   * Control to disable some rules in editors.\n   * @default auto-detect based on the process.env\n   */\n  isInEditor?: boolean\n\n  /**\n   * Automatically rename plugins in the config.\n   *\n   * @default true\n   */\n  autoRenamePlugins?: boolean\n}\n```\n\n## Thanks\n\nThis project is based on [@antfu/eslint-config](https://github.com/antfu/eslint-config)\n\n## License\n\n[MIT](./LICENSE) License \u0026copy; 2023-PRESENT [Donny Wang](https://github.com/coderwyd)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderwyd%2Feslint-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcoderwyd%2Feslint-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcoderwyd%2Feslint-config/lists"}