@10stars/config 13.5.6 → 13.6.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.
@@ -3,6 +3,7 @@ import { builtinModules } from "node:module"
3
3
  import eslint from "@eslint/js"
4
4
  import stylistic from "@stylistic/eslint-plugin"
5
5
  import type { Linter } from "eslint"
6
+ import { defineConfig } from "eslint/config"
6
7
  import eslintConfigPrettier from "eslint-config-prettier"
7
8
  import importPlugin from "eslint-plugin-import"
8
9
  import noRelativeImportPaths from "eslint-plugin-no-relative-import-paths"
@@ -87,7 +88,7 @@ const addPluginStylistic = () =>
87
88
  },
88
89
  }) satisfies Linter.Config
89
90
 
90
- export default tseslint.config(
91
+ export default defineConfig(
91
92
  eslint.configs.recommended,
92
93
  tseslint.configs.strictTypeChecked,
93
94
  tseslint.configs.stylisticTypeChecked,
@@ -135,6 +136,7 @@ export default tseslint.config(
135
136
  },
136
137
  ],
137
138
 
139
+ "@typescript-eslint/await-thenable": 0, // we want to allow conditional await Promise([ "true/false" && promise ])
138
140
  "@typescript-eslint/prefer-nullish-coalescing": 0,
139
141
  "@typescript-eslint/consistent-indexed-object-style": 0,
140
142
  "@typescript-eslint/no-throw-literal": 0,
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "access": "public"
5
5
  },
6
6
  "name": "@10stars/config",
7
- "version": "13.5.6",
7
+ "version": "13.6.0",
8
8
  "author": "10stars.dev <web@alexandrov.co> (https://alexandrov.co)",
9
9
  "license": "MIT",
10
10
  "bin": {
@@ -25,10 +25,10 @@
25
25
  },
26
26
  "dependencies": {
27
27
  "@10stars/eslint-plugin-react-hooks": "^5.1.0",
28
- "@commitlint/cli": "^19.0.0",
29
- "@commitlint/config-conventional": "^19.0.0",
28
+ "@commitlint/cli": "^20.0.0",
29
+ "@commitlint/config-conventional": "^20.0.0",
30
30
  "@eslint/js": "^9.0.0",
31
- "@eslint-react/eslint-plugin": "^1.0.0",
31
+ "@eslint-react/eslint-plugin": "^2.0.0",
32
32
  "@stylistic/eslint-plugin": "^5.0.0",
33
33
  "@types/lodash": "^4.0.0",
34
34
  "@types/node": "^24.0.0",
@@ -7,7 +7,7 @@
7
7
 
8
8
  "compilerOptions": {
9
9
  "noEmit": true,
10
- "moduleResolution": "node10",
10
+ "moduleResolution": "bundler",
11
11
  "resolveJsonModule": true,
12
12
  "allowSyntheticDefaultImports": true,
13
13
  "allowJs": true,