Skip to content

Latest commit

 

History

History
65 lines (42 loc) · 1.42 KB

README.md

File metadata and controls

65 lines (42 loc) · 1.42 KB

@samialdury/config

CI status license npm version

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)

License

MIT