best practices typescript
this repo contains a declapract
declaration of best practices for typescript projects
usage
- add
declapract
to your repo
npm install --save-dev declapract
- add a declapract usage config to your repo
declarations: npm:best-practices-typescript
useCase: lambda-service
variables:
organizationName: 'awesome-org'
serviceName: 'svc-awesome-thing'
infrastructureNamespaceId: 'abcde12345'
slackReleaseWebHook: 'https://...'
- clone a declared best practices example, do bootstrap a new repo
declapract clone lambda-service-with-rds
- check that your repo is conforming to best practices
declapract check
- fix a specific practice that your repo is failing to conform to (if it has an automatic fix declared)
declapract fix --practice dates-and-times