# config
**Repository Path**: tofrankie/config
## Basic Information
- **Project Name**: config
- **Description**: Shared configuration for ESLint, Prettier, Stylelint and Commitlint.
- **Primary Language**: TypeScript
- **License**: MIT
- **Default Branch**: main
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2026-03-28
- **Last Updated**: 2026-04-05
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# @tofrankie/config
Shared configuration for Commitlint, ESLint, Prettier, Stylelint, and TypeScript.
## Packages
| Package | Version | Last Update |
| :------------------------------------------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [@tofrankie/commitlint](packages/commitlint) |
|
|
| [@tofrankie/eslint](packages/eslint) |
|
|
| [@tofrankie/prettier](packages/prettier) |
|
|
| [@tofrankie/stylelint](packages/stylelint) |
|
|
| [@tofrankie/tsconfig](packages/tsconfig) |
|
|
> [!IMPORTANT]
> Before 1.0.0, releases may include breaking changes. Read each package's **CHANGELOG** before upgrading.
## Usage
### Commitlint
[Documentation](packages/commitlint/README.md)
```bash
$ pnpm add commitlint @tofrankie/commitlint -D
```
Create a `commitlint.config.js` in your project root:
```js
export default {
extends: ['@tofrankie/commitlint'],
}
```
### ESLint
[Documentation](packages/eslint/README.md)
```bash
$ pnpm add eslint @tofrankie/eslint -D
```
Create an `eslint.config.mjs` in your project root:
```js
import { defineConfig } from '@tofrankie/eslint'
export default defineConfig()
```
### Prettier
[Documentation](packages/prettier/README.md)
```bash
$ pnpm add prettier @tofrankie/prettier -D
```
Create a `prettier.config.mjs` in your project root:
```js
export default '@tofrankie/prettier'
```
### Stylelint
[Documentation](packages/stylelint/README.md)
```bash
$ pnpm add stylelint @tofrankie/stylelint -D
```
Create a `stylelint.config.mjs` in your project root:
```js
export default {
extends: ['@tofrankie/stylelint'],
}
```
### TypeScript
[Documentation](packages/tsconfig/README.md)
```bash
$ pnpm add typescript @tofrankie/tsconfig -D
```
Create a `tsconfig.json` in your project root:
```json
{
"extends": "@tofrankie/tsconfig/react.vite.json"
}
```
## See also
Use [@antfu/nip](https://github.com/antfu/nip) to manage dependencies and keep [pnpm catalogs](https://antfu.me/posts/categorize-deps) in sync.