{"id":20931165,"url":"https://github.com/dashbrains/eslint-config","last_synced_at":"2025-10-15T12:51:49.374Z","repository":{"id":158480071,"uuid":"634127480","full_name":"DashBrains/eslint-config","owner":"DashBrains","description":"Eslint configuration used by DashBrains","archived":false,"fork":false,"pushed_at":"2024-04-10T01:22:44.000Z","size":97,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-10T04:08:38.266Z","etag":null,"topics":["eslint","eslint-config","prettier","prettier-config","react","typescript"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@dashbrains/eslint-config","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/DashBrains.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}},"created_at":"2023-04-29T06:08:50.000Z","updated_at":"2024-04-15T00:28:10.589Z","dependencies_parsed_at":"2024-04-15T00:28:02.733Z","dependency_job_id":null,"html_url":"https://github.com/DashBrains/eslint-config","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DashBrains%2Feslint-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DashBrains%2Feslint-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DashBrains%2Feslint-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DashBrains%2Feslint-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DashBrains","download_url":"https://codeload.github.com/DashBrains/eslint-config/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243324507,"owners_count":20273113,"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","prettier","prettier-config","react","typescript"],"created_at":"2024-11-18T21:39:39.029Z","updated_at":"2025-10-15T12:51:44.320Z","avatar_url":"https://github.com/DashBrains.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @dashbrains/eslint-config\n\n[![npm](https://img.shields.io/npm/v/@dashbrains/eslint-config?color=a1b858\u0026label=)](https://www.npmjs.com/package/@dashbrains/eslint-config)\n\n- Single quotes, no semi\n- Auto fix for formatting\n- Designed to work with TypeScript, React out-of-box\n- Sorted imports, dangling commas\n- Reasonable defaults, best practices, only one-line of config\n- **Style principle**: Minimal for reading, stable for diff\n\n## Usage\n\n### Install\n\n```bash\npnpm add -D eslint @dashbrains/eslint-config\n```\n\n### Config `.eslintrc`\n\n```json\n{\n  \"extends\": \"@dashbrains/eslint-config\"\n}\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\nInstall [VS Code ESLint extension](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) and create `.vscode/settings.json`\n\n```json\n{\n  \"prettier.enable\": true,\n  \"editor.formatOnSave\": false,\n  \"editor.codeActionsOnSave\": {\n    \"source.fixAll.eslint\": true\n  }\n}\n```\n\n### Prettier\n\nIf you want to apply formatting with prettier, you can add the following to your `.prettierrc`:\n\n```json\n{\n  \"singleQuote\": true,\n  \"tabWidth\": 2,\n  \"semi\": false\n}\n```\n\nand then\n\n```bash\nnpm i -D prettier\n```\n\n## FAQ\n\n### I prefer XXX...\n\nSure, you can override the rules in your `.eslintrc` file.\n\n\u003c!-- eslint-skip --\u003e\n\n```jsonc\n{\n  \"extends\": \"@dashbrains/eslint-config\",\n  \"rules\": {\n    // your rules...\n  }\n}\n```\n\nOr you can always fork this repo and make your own.\n\n## License\n\n[MIT](./LICENSE) License \u0026copy; 2019-PRESENT [DashBrains](https://github.com/dashbrains)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdashbrains%2Feslint-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdashbrains%2Feslint-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdashbrains%2Feslint-config/lists"}