@sourcegraph/tsconfig

4.0.1 • Public • Published

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

/@sourcegraph/tsconfig/

    Package Sidebar

    Install

    npm i @sourcegraph/tsconfig

    Weekly Downloads

    8,285

    Version

    4.0.1

    License

    MIT

    Unpacked Size

    2.69 kB

    Total Files

    6

    Last publish

    Collaborators

    • techopsadmin
    • andreeleuterio
    • sourcegraph-bot
    • sqs
    • beyang
    • slimsag