{"id":32521510,"url":"https://github.com/daotl/web-configs","last_synced_at":"2025-10-28T06:20:00.700Z","repository":{"id":57105871,"uuid":"361200432","full_name":"daotl/web-configs","owner":"daotl","description":"tsconfig.json and ESLint/Prettier configs for DAOT projects","archived":false,"fork":false,"pushed_at":"2025-07-21T07:22:20.000Z","size":1094,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-22T10:35:06.055Z","etag":null,"topics":["eslint","javascript","prettier","typescript","vue"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/daotl.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}},"created_at":"2021-04-24T15:40:07.000Z","updated_at":"2025-07-21T07:22:24.000Z","dependencies_parsed_at":"2023-12-04T03:22:28.465Z","dependency_job_id":"5439bfac-9741-4698-ace6-51bddf135553","html_url":"https://github.com/daotl/web-configs","commit_stats":{"total_commits":117,"total_committers":4,"mean_commits":29.25,"dds":"0.18803418803418803","last_synced_commit":"dad60b6e0365b44f09fe2d893759405ba7d2296f"},"previous_names":["daotl/web-style-configs"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/daotl/web-configs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daotl%2Fweb-configs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daotl%2Fweb-configs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daotl%2Fweb-configs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daotl%2Fweb-configs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daotl","download_url":"https://codeload.github.com/daotl/web-configs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daotl%2Fweb-configs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281322869,"owners_count":26481547,"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","status":"online","status_checked_at":"2025-10-27T02:00:05.855Z","response_time":61,"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":["eslint","javascript","prettier","typescript","vue"],"created_at":"2025-10-28T06:19:59.792Z","updated_at":"2025-10-28T06:20:00.689Z","avatar_url":"https://github.com/daotl.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Config for web development tools for DAOT projects\n\nThis monorepo includes packages for:\n- `tsconfig.json` for TypeScript\n- `biome.json` for Biome\n-  ESLint configs\n- `dprint.json` for dprint\n- Prettier config\n\n## Installation\n\n`tsconfig.json`:\n```shell\nnpm install -D @daotl/tsconfig\n```\n\nBiome config (`biome.jsonc`):\n```\nnpm install -D @daotl/biome-config\n```\n\nESLint config (including dprint config):\n```shell\nnpm install -D @daotl/eslint-config\n```\n\ndprint config (using without ESLint):\n```shell\nnpm instasll -D @daotl/dprint-config\n```\n\nPrettier config (deprecated):\n```shell\nnpm install -D @daotl/prettier-config\n```\n\n## Usage\n\n### Using tsconfig.json\n\nExtend the provided config in `tsconfig.json`:\n\n```json\n{\n  \"extends\": \"@daotl/tsconfig/xxx.json\",\n  \"compilerOptions\": {\n    \"outDir\": \"dist\"\n  }\n}\n```\n\nReplace `xxx` with one of `node`, `browser` or `vue`.\n\n### Using Biome config\n\nCreate `biome.jsonc` in the project root:\n\n```jsonc\n{\n  \"$schema\": \"./node_modules/@biomejs/biome/configuration_schema.json\",\n  \"extends\": [\"@daotl/biome-config\"],\n  // add your overrides here...\n}\n```\n\n### Using ESLint config\n\n`eslint.config.js`:\n\n```js\nimport { config } from '@daotl/eslint-config'\n\nexport default config({\n    // typescript: true, // Will auto detect\n    // browser: true,\n    // vue: true, // Will auto detect\n  },\n  {\n    // Extend with your config ...\n  },\n  {\n    // More extensions ...\n  }\n)\n```\n\nSee [@antfu/eslint-config](https://github.com/antfu/eslint-config#customization) for more options.\n\n### Using dprint config without ESLint\n\nAdd the `extends` field in your `dprint.json` config file:\n\n```json\n{\n  \"extends\": [\"./node_modules/@daotl/dprint-config/dist/dprint.json\"]\n}\n```\n\n### Using Prettier config (deprecated)\n\nReference `@daotl/web-config/prettier` in your `package.json`:\n\n```json\n{\n  \"name\": \"my-cool-library\",\n  \"version\": \"9000.0.1\",\n  \"prettier\": \"@daotl/prettier-config\"\n}\n```\n\nOr you can extend the provided Prettier config in `.prettierrc.js`:\n\n```javascript\nmodule.exports = {\n  ...require(\"@daotl/prettier-configs\"),\n  // your custom options\n}\n```\n\n## References\n\n- [Prettier - Sharing configurations](https://prettier.io/docs/en/configuration.html#sharing-configurations)\n- [ESLint - Shareable Configs](https://eslint.org/docs/developer-guide/shareable-configs)\n\n## License\n\n[MIT](LICENSE) © DAOT Labs.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaotl%2Fweb-configs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaotl%2Fweb-configs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaotl%2Fweb-configs/lists"}