@minko-fe/any-config
v1.2.8
Published
minko's project config ✅
Downloads
4
Maintainers
Readme
@minko-fe/any-config
Usage
eslint
install
pnpm add eslint @minko-fe/eslint-config prettier -D
eslintrc
.eslintrc.json
{
"extends": "@minko-fe"
}
.eslintrc.js
module.exports = {
extends: '@minko-fe',
}
prettier
install
pnpm add prettier @minko-fe/prettier-config -D
prettierrc
.prettierrc.js
module.exports = {
...require('@minko-fe/prettier-config'),
}
.prettierrc.json
"@minko-fe/prettier-config"
commitlint
install
pnpm add @minko-fe/commitlint-config
commitlint.config.js
module.exports = {
extends: ['@minko-fe'],
}
tsconfig
install
pnpm add @minko-fe/tsconfig
tsconfig.json
lib
{
"extends": "@minko-fe/tsconfig/tsconfig.lib.json"
}
project
{
"extends": "@minko-fe/tsconfig/tsconfig.project.json"
}
❤️ antfu