12.0.1 • Published 5 days ago

@voxpelli/tsconfig v12.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
5 days ago

@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

12.0.1

5 days ago

12.0.0

22 days ago

10.1.0

2 months ago

11.0.0

2 months ago

10.0.0

6 months ago

9.0.0

7 months ago

8.0.0

12 months ago

7.0.0

1 year ago

5.0.1

2 years ago

5.0.0

2 years ago

6.1.0

2 years ago

6.0.0

2 years ago

4.1.0

2 years ago

4.2.0

2 years ago

4.0.0

2 years ago

3.2.0

2 years ago

3.1.0

2 years ago

3.1.0-0

3 years ago

3.0.0

3 years ago

3.0.0-0

3 years ago

2.1.0

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.0.0

3 years ago

0.0.0

3 years ago