Skip to content

vexip-ui/lint-config

Repository files navigation

Vexip Lint Config

Usage

Install:

# commitlint
pnpm add -D @commitlint/cli @vexip-ui/commitlint-config

# eslint
pnpm add -D eslint @vexip-ui/eslint-config

# prettier
pnpm add -D prettier @vexip-ui/prettier-config

# stylelint
pnpm add -D stylelint @vexip-ui/stylelint-config

Then in your xxxlintrc.cjs:

module.exports = {
  extends: ['@vexip-ui/xxxlint-config']
}

Or in your xxxlintrc.mjs:

export default {
  extends: ['@vexip-ui/xxxlint-config']
}

For prettierrc.cjs just a little defferent:

module.exports = require('@vexip-ui/prettier-config')
export { default } from '@vexip-ui/prettier-config'

License

MIT License