Skip to content

sourcegraph/tsconfig

Repository files navigation

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

About

Base tsconfig.json for Sourcegraph TypeScript projects

Resources

License

Stars

1 star

Watchers

53 watching

Forks

Packages

 
 
 

Contributors