@dopt/config
v1.1.0
Published
Centralized and shared configuration for eslint, jest,prettier, and tsconfig
Downloads
2
Readme
@dopt/config
Shared configuration for Dopt packages.
Today this contains shared/common configuration for
- Typescript Config
- Linting
- Formatting
- Testing
All packages in the monorepo should have a dev dependency on this package e.g.
"devDependencies": {
"@dopt/config": "workspace:*",
...
}
Which allows for extension of configuration contained here e.g. in your package's .prettierrc.js
const { prettier } = require('@dopt/config');
module.exports = {
...prettier,
};
The dependency on this package is wired up by default when using our package generator @dopt/pkgen.