This bounty is no longer available
Web3 DAO | Optimism Logo

feat: Create a @eth-optimism/configs package

Organization

Optimism

Deadline

N/A

Status

ENDED


INSTRUCTIONS

Affected Packages

All TS packages

Problem

  • Can't reuse our base configs in other repos
  • Caches like nx cache are more complicated to configure to break when configs change
  • Root of repo is pretty noisy with configs
  • It's generally a bad practice in package based repos to do absolute paths to outside of the package

Proposed solution

  1. Create a new package @eth-optimism/configs in packages/configs
  2. Move tsconfig, prettier config, and eslint config to this package
  3. Update references to configs from ../../tsconfig.json to @eth-optimism/configs/tsconfig.json
  4. Clean up: Remove the configs from nx.json
  5. Clean up: remove the configs from checked-changed python script