Skip to content

Shared configuration for ESLint, Prettier, Stylelint, and commitlint.

License

Notifications You must be signed in to change notification settings

tofrankie/config

Repository files navigation

@tofrankie/config

Shared configuration for ESLint, Prettier, Stylelint, and commitlint.

Important

Rule presets in @tofrankie/eslint and @tofrankie/stylelint are not yet stable and may change.

Packages

Usage

ESLint

$ pnpm add eslint @tofrankie/eslint -D

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

import { defineConfig } from '@tofrankie/eslint'

export default defineConfig()

Prettier

$ pnpm add prettier @tofrankie/prettier -D

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

export default '@tofrankie/prettier'

Stylelint

$ pnpm add stylelint @tofrankie/stylelint -D

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

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

Commitlint

$ pnpm add commitlint @tofrankie/commitlint -D

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

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

About

Shared configuration for ESLint, Prettier, Stylelint, and commitlint.

Resources

License

Stars

Watchers

Forks

Packages

No packages published