robins-tsconfig 2.0.0 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,28 +1,20 @@
1
1
  {
2
2
  "name": "robins-tsconfig",
3
- "version": "2.0.0",
3
+ "version": "4.0.0",
4
4
  "description": "this is how i like my typescript projects. you might like it too. 🫱🏼‍🫲🏽",
5
5
  "keywords": [
6
6
  "tsconfig"
7
7
  ],
8
- "homepage": "https://github.com/robinloeffel/robins-tsconfig",
9
8
  "repository": "https://github.com/robinloeffel/robins-tsconfig",
10
9
  "license": "MIT",
11
10
  "author": "Robin Löffel",
12
- "type": "module",
13
- "main": "tsconfig.json",
14
11
  "files": [
15
12
  "tsconfig.json"
16
13
  ],
17
- "dependencies": {
18
- "@tsconfig/strictest": "^2.0.5"
19
- },
20
14
  "devDependencies": {
21
- "eslint": "^9.21.0",
22
- "eslint-config-sweet": "^24.0.0",
23
- "typescript": "^5.8.2"
15
+ "typescript": "6.0.2"
24
16
  },
25
17
  "peerDependencies": {
26
- "typescript": "^5.8"
18
+ "typescript": ">=6"
27
19
  }
28
20
  }
package/readme.md CHANGED
@@ -24,14 +24,11 @@ npm i -D robins-tsconfig
24
24
 
25
25
  ## good to know
26
26
 
27
- - the config extends from [`@tsconfig/strictest`](https://www.npmjs.com/package/@tsconfig/strictest)
28
- - i borrowed heavily from the [tsconfig cheat sheet](https://www.totaltypescript.com/tsconfig-cheat-sheet) by [matt pocock](https://github.com/mattpocock)
27
+ - i borrowed heavily from [`@tsconfig/strictest`](https://npmx.dev/package/@tsconfig/strictest) and the [tsconfig cheat sheet](https://www.totaltypescript.com/tsconfig-cheat-sheet) by [matt pocock](https://github.com/mattpocock)
29
28
  - you'll have to set [`include`](https://www.typescriptlang.org/tsconfig/#include) and [`exclude`](https://www.typescriptlang.org/tsconfig/#exclude) yourself
30
29
  - it assumes you're building for the browser; change [`lib`](https://www.typescriptlang.org/tsconfig/#lib) if you're not
31
30
  - if you want to compile via [`tsc`](https://www.typescriptlang.org/docs/handbook/compiler-options.html), override [`noEmit`](https://www.typescriptlang.org/tsconfig/#noEmit) and [`outDir`](https://www.typescriptlang.org/tsconfig/#outDir)
32
31
 
33
- you can check out the full config [here](./tsconfig.json).
34
-
35
32
  ## license
36
33
 
37
- [mit](./license.txt)
34
+ [mit](https://choosealicense.com/licenses/mit/)
package/tsconfig.json CHANGED
@@ -1,19 +1,27 @@
1
1
  {
2
- "extends": "@tsconfig/strictest",
3
2
  "compilerOptions": {
4
3
  "allowJs": true,
4
+ "allowUnreachableCode": false,
5
+ "allowUnusedLabels": false,
6
+ "checkJs": true,
5
7
  "erasableSyntaxOnly": true,
6
8
  "esModuleInterop": true,
7
- "forceConsistentCasingInFileNames": true,
8
- "lib": ["esnext", "dom", "dom.iterable"],
9
+ "exactOptionalPropertyTypes": true,
10
+ "isolatedModules": true,
11
+ "lib": ["esnext", "dom"],
9
12
  "module": "preserve",
10
13
  "moduleDetection": "force",
11
14
  "noEmit": true,
15
+ "noErrorTruncation": true,
12
16
  "noFallthroughCasesInSwitch": true,
13
- "noPropertyAccessFromIndexSignature": false,
14
- "noUncheckedSideEffectImports": true,
17
+ "noImplicitOverride": true,
18
+ "noImplicitReturns": true,
19
+ "noUncheckedIndexedAccess": true,
20
+ "noUnusedLocals": true,
21
+ "noUnusedParameters": true,
22
+ "pretty": true,
15
23
  "resolveJsonModule": true,
16
- "target": "esnext",
24
+ "skipLibCheck": true,
17
25
  "verbatimModuleSyntax": true
18
26
  }
19
27
  }
package/license.txt DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2024 Robin Löffel
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.