Shared configuration for ESLint, Prettier, Stylelint, and commitlint.
Important
Rule presets in @tofrankie/eslint and @tofrankie/stylelint are not yet stable and may change.
$ pnpm add eslint @tofrankie/eslint -DCreate an eslint.config.js in your project root:
import { defineConfig } from '@tofrankie/eslint'
export default defineConfig()$ pnpm add prettier @tofrankie/prettier -DCreate a prettier.config.js in your project root:
export default '@tofrankie/prettier'$ pnpm add stylelint @tofrankie/stylelint -DCreate a stylelint.config.js in your project root:
export default {
extends: ['@tofrankie/stylelint'],
}$ pnpm add commitlint @tofrankie/commitlint -DCreate a commitlint.config.js in your project root:
export default {
extends: ['@tofrankie/commitlint'],
}