Wondering which configuration to use when starting a new project? Then you're probably looking for this module.
yarn add -D @alpha-dao/shared-config
// tsconfig.json
{
"extends": "@alpha-dao/shared-config",
"compilerOptions": {
"outDir": "build"
}
}
// .prettierrc.js
module.exports = {
...require("@alpha-dao/shared-config/prettier"),
};
${your-project}
👉 @alpha-dao/shared-config
👉 @alpha-dao/${individual-config}
If you're using a single tool or looking for a way to use a specific version, don't worry! We divided each config into submodules.
- Configurations for TypeScript
- Add configurations here 👍
// tsconfig.json
{
"extends": "@alpha-dao/tsconfig",
"compilerOptions": {
"outDir": "build"
}
}
// .prettierrc.js
module.exports = {
...require("@alpha-dao/prettier"),
};