@samialdury/config
v6.5.5
Published
Common configuration for often used tools
Downloads
76
Readme
@samialdury/config
Common configuration for often used tools.
Installation
pnpm i -D -E @samialdury/config prettier eslint husky @commitlint/cli lint-staged semantic-release
Usage
// 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)