This repository contains the shared configurations files for LintStaged, Prettier and TypeScript.
Use npm or yarn to install the package:
yarn add --dev @0xforkitall/shared-config
Extends the LintStaged configurations on a lint-staged.config.js
file:
module.exports = require('@0xforkitall/dev-config/lintstaged-config.js');
Extends the Prettier configurations on a prettier.config.js
file:
module.exports = require('@0xforkitall/dev-config/prettier-config.js');
Extends the TypeScript configurations on a tsconfig.json
file:
{
"extends": "@0xforkitall/dev-config/tsconfig.json"
}
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.