Common configuration for often used tools.
pnpm i -D -E @samialdury/config prettier eslint husky @commitlint/cli lint-staged semantic-release
// prettier.config.cjs
const { prettier } = require('@samialdury/config')
module.exports = prettier.config(options)
// eslint.config.js
import { eslint } from '@samialdury/config'
export default [...eslint.config(options)]
// commitlint.config.cjs
const { commitlint } = require('@samialdury/config')
module.exports = commitlint.config(options)
// lint-staged.config.cjs
const { lintStaged } = require('@samialdury/config')
module.exports = lintStaged.config(options)
// release.config.cjs
const { semanticRelease } = require('@samialdury/config')
module.exports = semanticRelease.config(options)