Skip to content

Common configuration for often used tools.

License

Notifications You must be signed in to change notification settings

samialdury/config

Repository files navigation

@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