https://github.com/tomjs/config
前端项目代码规范tsconfig、eslint、prettier、stylelint、commitlint等
https://github.com/tomjs/config
commitlint eslint prettier stylelint tomjs tsconfig
Last synced: 4 months ago
JSON representation
前端项目代码规范tsconfig、eslint、prettier、stylelint、commitlint等
- Host: GitHub
- URL: https://github.com/tomjs/config
- Owner: tomjs
- License: mit
- Created: 2023-09-14T14:47:22.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2026-01-16T15:35:23.000Z (5 months ago)
- Last Synced: 2026-01-17T22:17:19.965Z (5 months ago)
- Topics: commitlint, eslint, prettier, stylelint, tomjs, tsconfig
- Language: TypeScript
- Homepage:
- Size: 1.12 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tomjs/config
**English** | [中文](./README.zh_CN.md)
> Standard organization of front-end project codes to facilitate quick project construction
## Instructions for use
Take `pnpm` as an example
### General
```bash
pnpm add -D eslint @tomjs/eslint @tomjs/tsconfig
```
### commitlint
```bash
pnpm add -D simple-git-hooks lint-staged @commitlint/cli @tomjs/commitlint
```
### style
```bash
pnpm add -D stylelint @tomjs/stylelint
```
## Packages
| name | version | node |
| ---------------------------------------------------- | ------------------------------------------------------ | ------------------------------------------------------------------------- |
| [@tomjs/commitlint](./packages/commitlint/README.md) |  |  |
| [@tomjs/eslint](./packages/eslint/README.md) |  |  |
| [@tomjs/prettier](./packages/prettier/README.md) |  |  |
| [@tomjs/stylelint](./packages/stylelint/README.md) |  |  |
| [@tomjs/tsconfig](./packages/tsconfig/README.md) |  |  |