@yunquejs/fabric
v0.1.5
Published
A collection of configuration files containing prettier, eslint, rollup.
Downloads
11
Readme
@yunquejs/fabric
A collection of configuration files containing prettier, eslint, rollup.
Install
# npm
npm install -D @yunquejs/fabric
# yarn
yarn add -D @yunquejs/fabric
# pnpm
pnpm add -D @yunquejs/fabric
Usage
git verify-commit
"gitHooks": {
"pre-commit": "lint-staged",
"commit-msg": "verify-commit"
}
in .eslintrc.js
module.exports = {
extends: [require.resolve('@yunquejs/fabric/dist/eslint')],
}
in .prettierrc.js
const prettier = require('@yunquejs/fabric/dist/prettier');
module.exports = {
...prettier,
}