Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tomjs/config
前端项目代码规范tsconfig、eslint、prettier、stylelint、commitlint等
https://github.com/tomjs/config
commitlint eslint prettier stylelint tomjs tsconfig
Last synced: 11 days 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 (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-11T04:58:27.000Z (4 months ago)
- Last Synced: 2024-10-15T06:03:10.308Z (about 1 month ago)
- Topics: commitlint, eslint, prettier, stylelint, tomjs, tsconfig
- Language: TypeScript
- Homepage:
- Size: 493 KB
- Stars: 2
- Watchers: 3
- 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 prettier @tomjs/eslint @tomjs/prettier @tomjs/tsconfig
```### commitlint
```bash
pnpm add -D husky lint-staged @commitlint/cli @tomjs/commitlint
```### style
```bash
pnpm add -D stylelint @tomjs/stylelint
```## Packages
| name | version | node |
| --- | --- | --- |
| [@tomjs/commitlint](./packages/commitlint/README.md) | ![npm](https://img.shields.io/npm/v/@tomjs/commitlint) | ![node-current (scoped)](https://img.shields.io/node/v/@tomjs/commitlint) |
| [@tomjs/eslint](./packages/eslint/README.md) | ![npm](https://img.shields.io/npm/v/@tomjs/eslint) | ![node-current (scoped)](https://img.shields.io/node/v/@tomjs/eslint) |
| [@tomjs/prettier](./packages/prettier/README.md) | ![npm](https://img.shields.io/npm/v/@tomjs/prettier) | ![node-current (scoped)](https://img.shields.io/node/v/@tomjs/prettier) |
| [@tomjs/stylelint](./packages/stylelint/README.md) | ![npm](https://img.shields.io/npm/v/@tomjs/stylelint) | ![node-current (scoped)](https://img.shields.io/node/v/@tomjs/stylelint) |
| [@tomjs/tsconfig](./packages/tsconfig/README.md) | ![npm](https://img.shields.io/npm/v/@tomjs/tsconfig) | ![node-current (scoped)](https://img.shields.io/node/v/@tomjs/tsconfig) |