{"id":20588539,"url":"https://github.com/xbmlz/eslint-config","last_synced_at":"2025-07-06T05:32:48.712Z","repository":{"id":60886616,"uuid":"543532043","full_name":"xbmlz/eslint-config","owner":"xbmlz","description":"ESLint config presets including Vue2/3, React, and SolidJS.","archived":false,"fork":false,"pushed_at":"2023-05-16T09:50:45.000Z","size":210,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-01T02:25:16.721Z","etag":null,"topics":["eslint","prettier","react","solidjs","typescript","vue"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/xbmlz.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}},"created_at":"2022-09-30T09:48:05.000Z","updated_at":"2024-06-22T07:35:02.000Z","dependencies_parsed_at":"2024-11-07T13:42:21.361Z","dependency_job_id":"d2cb5837-92d8-46a2-b06a-b26088613dde","html_url":"https://github.com/xbmlz/eslint-config","commit_stats":{"total_commits":30,"total_committers":1,"mean_commits":30.0,"dds":0.0,"last_synced_commit":"4b0e70ce7ab0fffc5db723cdc7ea49002760f1a3"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/xbmlz/eslint-config","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xbmlz%2Feslint-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xbmlz%2Feslint-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xbmlz%2Feslint-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xbmlz%2Feslint-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xbmlz","download_url":"https://codeload.github.com/xbmlz/eslint-config/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xbmlz%2Feslint-config/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259287545,"owners_count":22834873,"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","prettier","react","solidjs","typescript","vue"],"created_at":"2024-11-16T07:25:04.130Z","updated_at":"2025-07-06T05:32:48.694Z","avatar_url":"https://github.com/xbmlz.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @xbmlz/eslint-config\n\n[![NPM version](https://img.shields.io/npm/v/@xbmlz/eslint-config)](https://www.npmjs.com/package/@xbmlz/eslint-config)\n[![License](https://img.shields.io/npm/l/@xbmlz/eslint-config)](LICENSE)\n[![Downloads](https://img.shields.io/npm/dm/@xbmlz/eslint-config)](https://npm-stat.com/charts.html?package=@xbmlz/eslint-config)\n\nESLint config for JavaScript, TypeScript, Vue 2, Vue 3, React, SolidJS, Prettier.\n\nForked from [antfu/eslint-config](https://github.com/antfu/eslint-config)\n\n## Usage\n\n### Install\n\n```bash\npnpm add -D eslint @xbmlz/eslint-config # JavaScript, TypeScript, Vue 2/3 and Prettier\n\n# Or yarn add -D / npm install -D\npnpm add -D eslint @xbmlz/eslint-config-ts       # JavaScript and TypeScript\npnpm add -D eslint @xbmlz/eslint-config-vue      # JavaScript, TypeScript and Vue 2/3 (Auto detect)\npnpm add -D eslint @xbmlz/eslint-config-prettier # Prettier only\npnpm add -D eslint @xbmlz/eslint-config-solid    # SolidJS, TypeScript\npnpm add -D eslint @xbmlz/eslint-config-react    # React, TypeScript\n```\n### Config `.eslintrc`\n\n```json\n{\n  \"extends\": \"@xbmlz\"\n}\n```\n\n\u003e You don't need `.eslintignore` normally as it has been provided by the preset.\n\n### Config .prettierrc\n\nFor example:\n\n```json\n{\n  \"semi\": false,\n  \"singleQuote\": true\n}\n```\n\n### Recommended Config .gitattributes\n\nFor example:\n\n```txt\n* text=auto eol=lf\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### Config VS Code auto fix\n\nCreate .vscode/settings.json\n\n```json\n{\n  \"editor.formatOnSave\": false,\n  \"editor.codeActionsOnSave\": {\n    \"source.fixAll.eslint\": true\n  }\n}\n```\n\n## License\n\n[MIT](./LICENSE) License \u0026copy; 2022-PRESENT [xbmlz](https://github.com/xbmlz)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxbmlz%2Feslint-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxbmlz%2Feslint-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxbmlz%2Feslint-config/lists"}