Skip to content

tofrankie/config

Repository files navigation

@tofrankie/config

Ask DeepWiki zread

Shared configuration for Commitlint, ESLint, Prettier, Stylelint, and TypeScript.

Packages

Package Version Last Update
@tofrankie/commitlint NPM Version NPM Last Update
@tofrankie/eslint NPM Version NPM Last Update
@tofrankie/prettier NPM Version NPM Last Update
@tofrankie/stylelint NPM Version NPM Last Update
@tofrankie/tsconfig NPM Version NPM Last Update

Important

Before 1.0.0, releases may include breaking changes. Read each package's CHANGELOG before upgrading.

Usage

Commitlint

Documentation

$ pnpm add @commitlint/cli @tofrankie/commitlint -D

Create a commitlint.config.js in your project root:

export default {
  extends: ['@tofrankie/commitlint'],
}

ESLint

Documentation

$ pnpm add eslint @tofrankie/eslint -D

Create an eslint.config.mjs in your project root:

import { defineConfig } from '@tofrankie/eslint'

export default defineConfig()

Prettier

Documentation

$ pnpm add prettier @tofrankie/prettier -D

Create a prettier.config.mjs in your project root:

export default '@tofrankie/prettier'

Stylelint

Documentation

$ pnpm add stylelint @tofrankie/stylelint -D

Create a stylelint.config.mjs in your project root:

export default {
  extends: ['@tofrankie/stylelint'],
}

TypeScript

Documentation

$ pnpm add typescript @tofrankie/tsconfig -D

Create a tsconfig.json in your project root:

{
  "extends": "@tofrankie/tsconfig/react.vite.json"
}

See also

Use @antfu/nip to manage dependencies and keep pnpm catalogs in sync.

License

MIT License © Frankie

About

Shared configuration for Commitlint, ESLint, Prettier, Stylelint, and TypeScript.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors