Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@voxpelli/tsconfig

voxpelli3.6kMIT15.1.1

Personal tsconfig bases

readme

@voxpelli/tsconfig

npm version npm downloads Follow @voxpelli@mastodon.social

My personal types in js focused tsconfig bases.

Are meant to be used with javascript code, not typescript code, hence they're having eg. noEmit: true set.

Usage

npm install --save-dev @voxpelli/tsconfig

Then in your tsconfig.json, it extends the chosen base config:

{
  "extends": "@voxpelli/tsconfig/node20.json",
  "files": [
    "index.js"
  ],
  "include": [
    "test/**/*",
  ]
}

Available configs

Generic ones

  • base – where most of the configuration is set
  • legacy – like base but for older TypeScript versions – version 4.5 and onward
  • recommended – like base but adds a target set to ES2015

Node specific ones

These extends base with the correct lib and target for the node.js version.

Inspired by tsconfig/bases.

Can I use this in my own project?

Absolutely, my pleasure!

Just as with voxpelli/eslint-config I follow Semantic Versioning and thus won't do any breaking changes in any non-major releases.

Give me a ping if you use it, would be a delight to know you like it 🙂

Alternatives

My other reusable configs

changelog

Changelog

15.1.1 (2025-01-06)

🧹 Chores

  • dependents: update npm data (#71) (e4d0a7b)
  • dependents: update npm data (#78) (55832d8)
  • deps: lock file maintenance (#77) (d0e9fb8)
  • deps: update dependency @types/node to ^22.10.3 (#75) (f5827bf)
  • deps: update dependency list-dependents-cli to ^2.7.1 (#76) (1702791)
  • deps: update dependency npm-run-all2 to ^7.0.2 (#74) (8fdfb2d)

15.1.0 (2024-11-25)

🌟 Features

🧹 Chores

15.0.0 (2024-09-13)

⚠ BREAKING CHANGES

  • update dependency typescript to ~5.6.2 (#54)

🌟 Features

  • add noUncheckedSideEffectImports (#56) (c93909e)

🩹 Fixes

  • update dependency typescript to ~5.6.2 (#54) (b831ea5)

14.0.0 (2024-09-06)

⚠ BREAKING CHANGES

  • update dependency typescript to ~5.5.4 (#48)
  • disable implicit @types/ imports (#50)

Features

Bug Fixes

  • update dependency typescript to ~5.5.4 (#48) (77e3fbb)

13.0.0 (2024-07-21)

⚠ BREAKING CHANGES

  • update dependency typescript to ~5.5.3 (#43)
  • require typescript 5.5 (#45)

Features

Bug Fixes

  • update dependency typescript to ~5.5.3 (#43) (6cdfdce)

12.0.1 (2024-04-29)

Bug Fixes

12.0.0 (2024-04-29)

⚠ BREAKING CHANGES

  • update typescript to ~5.5.0-beta (#37)

Miscellaneous Chores

  • update typescript to ~5.5.0-beta (#37) (a62a4a3)

11.0.0 (2024-03-10)

⚠ BREAKING CHANGES

  • update dependency typescript to ~5.4.2 (#30)

Miscellaneous Chores

  • update dependency typescript to ~5.4.2 (#30) (43a28fe)

10.1.0 (2024-03-10)

Features

10.0.0 (2023-11-21)

⚠ BREAKING CHANGES

  • update dependency typescript to ~5.3.2 (#28)

Miscellaneous Chores

  • update dependency typescript to ~5.3.2 (#28) (1da4b71)

9.0.0 (2023-10-20)

⚠ BREAKING CHANGES

  • update dependency typescript to ~5.2.2 (#21)

Miscellaneous Chores

  • update dependency typescript to ~5.2.2 (#21) (7a76845)

8.0.0 (2023-06-02)

⚠ BREAKING CHANGES

  • update dependency typescript to ~5.1.3 (#19)
  • update dependency typescript to ~5.0.4 (#17)

Miscellaneous Chores

  • update dependency typescript to ~5.0.4 (#17) (4d3f145)
  • update dependency typescript to ~5.1.3 (#19) (0d85756)