@sourcegraph/tsconfig

v4.0.1
Base tsconfig.json for Sourcegraph TypeScript projects
tsconfig typescript rules compiler options

Sourcegraph tsconfig

npm downloads build code style: prettier

Base tsconfig.json for TypeScript projects at Sourcegraph. It only includes compiler options that make TypeScript more strict. It does not set any project-specific or environmental settings.

Usage

npm install --save-dev @sourcegraph/tsconfig

Then add this tsconfig.json:

{
  "extends": "./node_modules/@sourcegraph/tsconfig/tsconfig.json"
}

Making changes

npm link
cd <project>
npm link @sourcegraph/tsconfig
npm run lint

Publish a new version

Follow semver.

npm version major|minor|patch
git push
git push --tags
npm publish
npm i @sourcegraph/tsconfig

Metadata

  • MIT
  • Whatever
  • Felix Becker
  • released 3/24/2020

Downloads