Skip to content

many-things/shared-config

Repository files navigation

@alpha-dao/shared-config

Usage

Shared Config

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"),
};

Extending Hierarchy

${your-project} 👉 @alpha-dao/shared-config 👉 @alpha-dao/${individual-config}

Submodules

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.

@alpha-dao/tsconfig

// tsconfig.json
{
  "extends": "@alpha-dao/tsconfig",
  "compilerOptions": {
    "outDir": "build"
  }
}

@alpha-dao/prettier

// .prettierrc.js
module.exports = {
  ...require("@alpha-dao/prettier"),
};

About

⚙️ Monorepo for shared configurations

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published