This is a repository of packages that allow configuration to be shared between projects.
pnpm add -D @lacrypta/prettier-config @lacrypta/eslint-config @lacrypta/typescript-config eslint-config-prettier
Add to package.json
{
"prettier": "@lacrypta/prettier-config",
...
}
Add to tsconfig.json
{
"extends": "@lacrypta/typescript-config/base.json",
...
}
Add to .eslintrc.js
module.exports = {
extends: ["@lacrypta/eslint-config/library.js"],
...
};
This Turborepo includes the following packages/apps:
@lacrypta/prettier
:Prettier
configurations@lacrypta/eslint-config
:eslint
configurations (includeseslint-config-next
andeslint-config-prettier
)@lacrypta/typescript-config
:tsconfig.json
s used throughout the monorepo