@jcoreio/toolchain-typescript 5.1.2 → 5.3.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,6 +1,6 @@
1
1
  {
2
2
  "name": "@jcoreio/toolchain-typescript",
3
- "version": "5.1.2",
3
+ "version": "5.3.0",
4
4
  "description": "TypeScript JS build toolchain",
5
5
  "repository": {
6
6
  "type": "git",
@@ -18,22 +18,21 @@
18
18
  "@babel/preset-typescript": "^7.26.0",
19
19
  "@typescript-eslint/eslint-plugin": "^8.19.1",
20
20
  "@typescript-eslint/parser": "^8.19.1",
21
+ "eslint": "^9.18.0",
21
22
  "json5": "^2.2.1",
22
- "@jcoreio/toolchain": "5.1.2",
23
- "@jcoreio/toolchain-esnext": "5.1.2"
23
+ "typescript-eslint": "^8.29.0",
24
+ "@jcoreio/toolchain-esnext": "5.3.0",
25
+ "@jcoreio/toolchain": "5.3.0"
24
26
  },
25
27
  "peerDependencies": {
26
28
  "typescript": "^5.1.0"
27
29
  },
28
30
  "devDependencies": {
29
- "eslint": "^9.18.0",
30
31
  "typescript": "^5.1.0"
31
32
  },
32
33
  "toolchainManaged": {
33
34
  "devDependencies": {
34
35
  "@jcoreio/toolchain-esnext": "*",
35
- "@typescript-eslint/eslint-plugin": "*",
36
- "@typescript-eslint/parser": "*",
37
36
  "typescript": "*"
38
37
  }
39
38
  }
@@ -0,0 +1,40 @@
1
+ const tseslint = require('typescript-eslint')
2
+ const { projectDir } = require('@jcoreio/toolchain/util/findUps.cjs')
3
+
4
+ module.exports = [
5
+ () =>
6
+ tseslint.config(
7
+ [
8
+ ...tseslint.configs.recommendedTypeChecked,
9
+ ...tseslint.configs.strictTypeChecked,
10
+ ].map((conf) => ({
11
+ ...conf,
12
+ files: ['**/*.{ts,tsx,cts,ctsx,mts,mtsx}'],
13
+ })),
14
+ {
15
+ files: ['**/*.{ts,tsx,cts,ctsx,mts,mtsx}'],
16
+ languageOptions: {
17
+ parserOptions: {
18
+ project: true,
19
+ projectService: true,
20
+ tsconfigRootDir: projectDir,
21
+ },
22
+ },
23
+ rules: {
24
+ '@typescript-eslint/member-delimiter-style': 0,
25
+ '@typescript-eslint/no-confusing-void-expression': 0,
26
+ '@typescript-eslint/no-explicit-any': 0,
27
+ '@typescript-eslint/no-invalid-void-type': 0,
28
+ '@typescript-eslint/no-unsafe-argument': 0,
29
+ '@typescript-eslint/no-unsafe-assignment': 0,
30
+ '@typescript-eslint/no-unsafe-call': 0,
31
+ '@typescript-eslint/no-unsafe-declaration-merging': 0,
32
+ '@typescript-eslint/no-unsafe-enum-comparison': 0,
33
+ '@typescript-eslint/no-unsafe-member-access': 0,
34
+ '@typescript-eslint/no-unsafe-return': 0,
35
+ '@typescript-eslint/require-await': 0,
36
+ '@typescript-eslint/restrict-template-expressions': 0,
37
+ },
38
+ }
39
+ ),
40
+ ]
@@ -1,32 +0,0 @@
1
- module.exports = {
2
- overrides: [
3
- {
4
- files: ['*.ts', '*.tsx', '*.mts', '*.mtsx', '*.cts', '*.ctsx'],
5
- extends: [
6
- 'plugin:@typescript-eslint/eslint-recommended',
7
- 'plugin:@typescript-eslint/recommended',
8
- 'plugin:@typescript-eslint/strict-type-checked',
9
- ],
10
- parser: '@typescript-eslint/parser',
11
- parserOptions: {
12
- project: true,
13
- },
14
- plugins: ['@typescript-eslint/eslint-plugin'],
15
- rules: {
16
- '@typescript-eslint/member-delimiter-style': 0,
17
- '@typescript-eslint/no-confusing-void-expression': 0,
18
- '@typescript-eslint/no-explicit-any': 0,
19
- '@typescript-eslint/no-invalid-void-type': 0,
20
- '@typescript-eslint/no-unsafe-argument': 0,
21
- '@typescript-eslint/no-unsafe-assignment': 0,
22
- '@typescript-eslint/no-unsafe-call': 0,
23
- '@typescript-eslint/no-unsafe-declaration-merging': 0,
24
- '@typescript-eslint/no-unsafe-enum-comparison': 0,
25
- '@typescript-eslint/no-unsafe-member-access': 0,
26
- '@typescript-eslint/no-unsafe-return': 0,
27
- '@typescript-eslint/require-await': 0,
28
- '@typescript-eslint/restrict-template-expressions': 0,
29
- },
30
- },
31
- ],
32
- }
@@ -1 +0,0 @@
1
- module.exports = [() => [require.resolve('../eslint.extends.cjs')]]