{"id":38303893,"url":"https://github.com/bbcvc/eslint-config","last_synced_at":"2026-01-17T02:25:48.798Z","repository":{"id":59974822,"uuid":"540395016","full_name":"bbcvc/eslint-config","owner":"bbcvc","description":"eslint配置","archived":false,"fork":false,"pushed_at":"2023-06-26T08:11:42.000Z","size":102,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-05T20:13:55.816Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bbcvc.png","metadata":{"funding":{"github":["bbcvc"]},"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-23T10:47:52.000Z","updated_at":"2023-03-17T13:17:07.000Z","dependencies_parsed_at":"2024-10-12T22:31:46.028Z","dependency_job_id":"632d5343-2231-476e-941c-1f2227f211ad","html_url":"https://github.com/bbcvc/eslint-config","commit_stats":{"total_commits":38,"total_committers":3,"mean_commits":"12.666666666666666","dds":0.5263157894736843,"last_synced_commit":"f1cd9768d68c044cc6b5765cb69283e5d829b753"},"previous_names":[],"tags_count":27,"template":false,"template_full_name":null,"purl":"pkg:github/bbcvc/eslint-config","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbcvc%2Feslint-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbcvc%2Feslint-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbcvc%2Feslint-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbcvc%2Feslint-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bbcvc","download_url":"https://codeload.github.com/bbcvc/eslint-config/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bbcvc%2Feslint-config/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28492275,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T00:50:05.742Z","status":"online","status_checked_at":"2026-01-17T02:00:07.808Z","response_time":85,"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":[],"created_at":"2026-01-17T02:25:48.050Z","updated_at":"2026-01-17T02:25:48.791Z","avatar_url":"https://github.com/bbcvc.png","language":"JavaScript","funding_links":["https://github.com/sponsors/bbcvc"],"categories":[],"sub_categories":[],"readme":"# @bbcvc/eslint-config\n\n[![npm](https://img.shields.io/npm/v/@bbcvc/eslint-config?color=a1b858\u0026label=)](https://npmjs.com/package/@bbcvc/eslint-config)\n[![npm](https://img.shields.io/npm/dy/@bbcvc/eslint-config?color=0b73b4\u0026label=)](https://npmjs.com/package/@bbcvc/eslint-config)\n\n- Single quotes, no semi\n- Auto fix for formatting (aimed to be used standalone without Prettier)\n- Designed to work with TypeScript, Vue out-of-box\n- Lint also for json, yaml, markdown\n- Sorted imports, dangling commas for cleaner commit diff\n- Reasonable defaults, best practices, only one-line of config\n\n## Usage\n\n### Install\n\n```bash\npnpm add -D eslint @bbcvc/eslint-config\n```\n\n### Config `.eslintrc`\n\n```json\n{\n  \"extends\": \"@bbcvc\"\n}\n```\n\n\u003e You don't need `.eslintignore` normally as it has been provided by the preset.\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  \"prettier.enable\": false,\n  \"editor.codeActionsOnSave\": {\n    \"source.fixAll.eslint\": true\n  },\n  \"eslint.validate\": [\n    \"javascript\",\n    \"typescript\",\n    \"javascriptreact\",\n    \"typescriptreact\",\n    \"vue\",\n    \"html\",\n    \"markdown\",\n    \"json\",\n    \"jsonc\",\n    \"json5\"\n  ]\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbcvc%2Feslint-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbbcvc%2Feslint-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbbcvc%2Feslint-config/lists"}