declapract-typescript-ehmpathy

0.37.2 • Public • Published

declapract-typescript-ehmpathy

declapract = declared best practices

this repo contains the ehmpathy org's declared best practices for typescript, for usage with declapract

usage

  1. add declapract to your repo
npm install --save-dev declapract
  1. add a declapract usage config to your repo
# declapract.use.yml
declarations: npm:declapract-typescript-ehmpathy
useCase: lambda-service # specify which use case your repo is following, see `declapract-typescript-ehmpathy:src/useCases.yml` for options
variables: # specify the values of the variables to use against checks
  organizationName: 'awesome-org'
  projectName: 'svc-awesome-thing'
  infrastructureNamespaceId: 'abcde12345'
  slackReleaseWebHook: 'https://...'
  1. clone a declared best practices example, do bootstrap a new repo
declapract clone lambda-service-with-rds # bootstrap a new lambda-service-with-rds repo
  1. check that your repo is conforming to best practices
declapract check
  1. 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 # e.g., apply a fix for the the dates-and-times practice

Readme

Keywords

none

Package Sidebar

Install

npm i declapract-typescript-ehmpathy

Weekly Downloads

295

Version

0.37.2

License

MIT

Unpacked Size

178 kB

Total Files

333

Last publish

Collaborators

  • uladkasach