{"id":26605786,"url":"https://github.com/lobehub/lobe-lint","last_synced_at":"2025-04-06T23:16:11.400Z","repository":{"id":173008263,"uuid":"650028465","full_name":"lobehub/lobe-lint","owner":"lobehub","description":"📐 ESlint, Stylelint, Commitlint, Prettier, Remark, Semantic Release config for LobeHub","archived":false,"fork":false,"pushed_at":"2025-04-02T15:17:23.000Z","size":236,"stargazers_count":34,"open_issues_count":29,"forks_count":19,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-06T14:12:18.432Z","etag":null,"topics":["commitlint","eslint","lint","lobehub","prettier","remark","semantic-release","stylelint"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@lobehub/lint","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/lobehub.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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},"funding":{"github":"lobehub","open_collective":"lobehub"}},"created_at":"2023-06-06T07:18:38.000Z","updated_at":"2025-04-04T04:22:04.000Z","dependencies_parsed_at":"2023-07-06T14:16:12.942Z","dependency_job_id":"4b01aa8b-637b-42b2-ba48-018753d9dcf9","html_url":"https://github.com/lobehub/lobe-lint","commit_stats":{"total_commits":153,"total_committers":8,"mean_commits":19.125,"dds":"0.47058823529411764","last_synced_commit":"0a8d8de90eec81fa76854be02474f6fdd45a26f1"},"previous_names":["lobehub/lint","lobehub/lobe-lint"],"tags_count":58,"template":false,"template_full_name":"canisminor1990/canisminor-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lobehub%2Flobe-lint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lobehub%2Flobe-lint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lobehub%2Flobe-lint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lobehub%2Flobe-lint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lobehub","download_url":"https://codeload.github.com/lobehub/lobe-lint/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247492565,"owners_count":20947545,"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":["commitlint","eslint","lint","lobehub","prettier","remark","semantic-release","stylelint"],"created_at":"2025-03-23T21:16:12.622Z","updated_at":"2025-04-06T23:16:11.366Z","avatar_url":"https://github.com/lobehub.png","language":"TypeScript","funding_links":["https://github.com/sponsors/lobehub","https://opencollective.com/lobehub"],"categories":[],"sub_categories":[],"readme":"\u003ca name=\"readme-top\"\u003e\u003c/a\u003e\u003cdiv align=\"center\"\u003e\n\n\u003cimg height=\"120\" src=\"https://registry.npmmirror.com/@lobehub/assets-logo/1.0.0/files/assets/logo-3d.webp\"\u003e\n\u003cimg height=\"120\" src=\"https://gw.alipayobjects.com/zos/kitchen/qJ3l3EPsdW/split.svg\"\u003e\n\u003cimg height=\"120\" src=\"https://registry.npmmirror.com/@lobehub/assets-emoji/1.3.0/files/assets/triangular-ruler.webp\"\u003e\n\n\u003ch1\u003eLobe Lint\u003c/h1\u003e\n\nESlint config, Prettier config, Remark config for LobeHub\n\n[Changelog](./CHANGELOG.md) · [Report Bug][issues-link] · [Request Feature][issues-link]\n\n\u003c!-- SHIELD GROUP --\u003e\n\n[![][npm-release-shield]][npm-release-link]\n[![][discord-shield]][discord-link]\n[![][npm-downloads-shield]][npm-downloads-link]\n[![][github-releasedate-shield]][github-releasedate-link]\n[![][github-action-test-shield]][github-action-test-link]\n[![][github-action-release-shield]][github-action-release-link]\u003cbr/\u003e\n[![][github-contributors-shield]][github-contributors-link]\n[![][github-forks-shield]][github-forks-link]\n[![][github-stars-shield]][github-stars-link]\n[![][github-issues-shield]][github-issues-link]\n[![][github-license-shield]][github-license-link]\n\n\u003c/div\u003e\n\n![](https://raw.githubusercontent.com/andreasbm/readme/master/assets/lines/rainbow.png)\n\n\u003cdetails\u003e\n\u003csummary\u003e\u003ckbd\u003eTable of contents\u003c/kbd\u003e\u003c/summary\u003e\n\n#### TOC\n\n- [📦 Installation](#-installation)\n- [🤯 Usage](#-usage)\n  - [.npmrc](#npmrc)\n  - [ESlint](#eslint)\n  - [Stylelint](#stylelint)\n  - [Commitlint](#commitlint)\n  - [Changelog](#changelog)\n  - [Remark](#remark)\n  - [Prettier](#prettier)\n  - [Semantic Release](#semantic-release)\n- [⌨️ Local Development](#️-local-development)\n- [🤝 Contributing](#-contributing)\n\n####\n\n\u003c/details\u003e\n\n## 📦 Installation\n\nTo install Lobe Lint, run the following command:\n\n[![][bun-shield]][bun-link]\n\n```bash\n$ bun add @lobehub/lint -D\n```\n\nTo use template ignore files, run the following command:\n\n```bash\n$ curl -O https://raw.githubusercontent.com/lobehub/lobe-lint/master/.eslintignore\n$ curl -O https://raw.githubusercontent.com/lobehub/lobe-lint/master/.gitignore\n$ curl -O https://raw.githubusercontent.com/lobehub/lobe-lint/master/.prettierignore\n```\n\n\u003cdiv align=\"right\"\u003e\n\n[![][back-to-top]](#readme-top)\n\n\u003c/div\u003e\n\n## 🤯 Usage\n\n### .npmrc\n\n```text\npublic-hoist-pattern[]=*@umijs/lint*\npublic-hoist-pattern[]=*changelog*\npublic-hoist-pattern[]=*commitlint*\npublic-hoist-pattern[]=*eslint*\npublic-hoist-pattern[]=*postcss*\npublic-hoist-pattern[]=*prettier*\npublic-hoist-pattern[]=*remark*\npublic-hoist-pattern[]=*semantic-release*\npublic-hoist-pattern[]=*stylelint*\n```\n\n### ESlint\n\nconfig can be found at [`.eslintrc.js`](/src/eslint/index.ts)\n\n```js\nmodule.exports = require('@lobehub/lint').eslint;\n```\n\n### Stylelint\n\nconfig can be found at [`.stylelintrc.js`](/src/stylelint/index.ts)\n\n```js\nmodule.exports = require('@lobehub/lint').stylelint;\n```\n\n### Commitlint\n\nconfig can be found at [`.commitlintrc.js`](/src/commitlint/index.ts)\n\n```js\nmodule.exports = require('@lobehub/lint').commitlint;\n```\n\n### Changelog\n\nconfig can be found at [`.changelogrc.js`](/src/changelog/index.ts)\n\n```js\nmodule.exports = require('@lobehub/lint').changelog;\n```\n\n### Remark\n\nconfig can be found at [`.remarkrc.js`](/src/remarklint/index.ts)\n\n```js\nmodule.exports = require('@lobehub/lint').remarklint;\n```\n\n### Prettier\n\nconfig can be found at [`.prettierrc.js`](/src/prettier/index.ts)\n\n```js\nmodule.exports = require('@lobehub/lint').prettier;\n```\n\n### Semantic Release\n\nconfig can be found at [`.releaserc.js`](/src/semantic-release/index.ts)\n\n```js\nmodule.exports = require('@lobehub/lint').semanticRelease;\n```\n\n\u003cdiv align=\"right\"\u003e\n\n[![][back-to-top]](#readme-top)\n\n\u003c/div\u003e\n\n## ⌨️ Local Development\n\nYou can use Github Codespaces for online development:\n\n[![][codespaces-shield]][codespaces-link]\n\nOr clone it for local development:\n\n```bash\n$ git clone https://github.com/lobehub/lobe-lint.git\n$ cd lobehub/lint\n$ bun install\n$ bun start\n```\n\n\u003cdiv align=\"right\"\u003e\n\n[![][back-to-top]](#readme-top)\n\n\u003c/div\u003e\n\n## 🤝 Contributing\n\nContributions of all types are more than welcome, if you are interested in contributing code, feel free to check out our GitHub [Issues][github-issues-link] to get stuck in to show us what you’re made of.\n\n[![][pr-welcome-shield]][pr-welcome-link]\n\n[![][contributors-contrib]][contributors-url]\n\n\u003cdiv align=\"right\"\u003e\n\n[![][back-to-top]](#readme-top)\n\n\u003c/div\u003e\n\n---\n\n#### 📝 License\n\nCopyright © 2023 [LobeHub][profile-link]. \u003cbr /\u003e\nThis project is [MIT](./LICENSE) licensed.\n\n\u003c!-- LINK GROUP --\u003e\n\n[back-to-top]: https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square\n[bun-link]: https://bun.sh\n[bun-shield]: https://img.shields.io/badge/-speedup%20with%20bun-black?logo=bun\u0026style=for-the-badge\n[codespaces-link]: https://codespaces.new/lobehub/lobe-lint\n[codespaces-shield]: https://github.com/codespaces/badge.svg\n[contributors-contrib]: https://contrib.rocks/image?repo=lobehub/lobe-lint\n[contributors-url]: https://github.com/lobehub/lobe-lint/graphs/contributors\n[discord-link]: https://discord.gg/AYFPHvv2jT\n[discord-shield]: https://img.shields.io/discord/1127171173982154893?color=5865F2\u0026label=discord\u0026labelColor=black\u0026logo=discord\u0026logoColor=white\u0026style=flat-square\n[github-action-release-link]: https://github.com/lobehub/lobe-lint/actions/workflows/release.yml\n[github-action-release-shield]: https://img.shields.io/github/actions/workflow/status/lobehub/lobe-lint/release.yml?label=release\u0026labelColor=black\u0026logo=githubactions\u0026logoColor=white\u0026style=flat-square\n[github-action-test-link]: https://github.com/lobehub/lobe-lint/actions/workflows/test.yml\n[github-action-test-shield]: https://img.shields.io/github/actions/workflow/status/lobehub/lobe-lint/test.yml?label=test\u0026labelColor=black\u0026logo=githubactions\u0026logoColor=white\u0026style=flat-square\n[github-contributors-link]: https://github.com/lobehub/lobe-lint/graphs/contributors\n[github-contributors-shield]: https://img.shields.io/github/contributors/lobehub/lobe-lint?color=c4f042\u0026labelColor=black\u0026style=flat-square\n[github-forks-link]: https://github.com/lobehub/lobe-lint/network/members\n[github-forks-shield]: https://img.shields.io/github/forks/lobehub/lobe-lint?color=8ae8ff\u0026labelColor=black\u0026style=flat-square\n[github-issues-link]: https://github.com/lobehub/lobe-lint/issues\n[github-issues-shield]: https://img.shields.io/github/issues/lobehub/lobe-lint?color=ff80eb\u0026labelColor=black\u0026style=flat-square\n[github-license-link]: https://github.com/lobehub/lobe-lint/blob/master/LICENSE\n[github-license-shield]: https://img.shields.io/github/license/lobehub/lobe-lint?color=white\u0026labelColor=black\u0026style=flat-square\n[github-releasedate-link]: https://github.com/lobehub/lobe-lint/releases\n[github-releasedate-shield]: https://img.shields.io/github/release-date/lobehub/lobe-lint?labelColor=black\u0026style=flat-square\n[github-stars-link]: https://github.com/lobehub/lobe-lint/network/stargazers\n[github-stars-shield]: https://img.shields.io/github/stars/lobehub/lobe-lint?color=ffcb47\u0026labelColor=black\u0026style=flat-square\n[issues-link]: https://github.com/lobehub/lobe-lint/issues/new/choose\n[npm-downloads-link]: https://www.npmjs.com/package/@lobehub/lint\n[npm-downloads-shield]: https://img.shields.io/npm/dt/@lobehub/lint?labelColor=black\u0026style=flat-square\n[npm-release-link]: https://www.npmjs.com/package/@lobehub/lint\n[npm-release-shield]: https://img.shields.io/npm/v/@lobehub/lint?color=369eff\u0026labelColor=black\u0026logo=npm\u0026logoColor=white\u0026style=flat-square\n[pr-welcome-link]: https://github.com/lobehub/lobe-lint/pulls\n[pr-welcome-shield]: https://img.shields.io/badge/🤯_pr_welcome-%E2%86%92-ffcb47?labelColor=black\u0026style=for-the-badge\n[profile-link]: https://github.com/lobehub\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flobehub%2Flobe-lint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flobehub%2Flobe-lint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flobehub%2Flobe-lint/lists"}