@lntvow/eslint-config 9.34.2 → 9.34.4

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +14 -0
  2. package/package.json +11 -11
package/dist/index.d.ts CHANGED
@@ -1613,6 +1613,11 @@ interface RuleOptions {
1613
1613
  * @see https://eslint.org/docs/latest/rules/prefer-template
1614
1614
  */
1615
1615
  'prefer-template'?: Linter.RuleEntry<[]>
1616
+ /**
1617
+ * Disallow losing originally caught error when re-throwing custom errors
1618
+ * @see https://eslint.org/docs/latest/rules/preserve-caught-error
1619
+ */
1620
+ 'preserve-caught-error'?: Linter.RuleEntry<PreserveCaughtError>
1616
1621
  /**
1617
1622
  * @see https://github.com/prettier/eslint-plugin-prettier#options
1618
1623
  */
@@ -6823,12 +6828,16 @@ type NoRestrictedImports = ((string | {
6823
6828
  message?: string
6824
6829
  importNames?: string[]
6825
6830
  allowImportNames?: string[]
6831
+
6832
+ allowTypeImports?: boolean
6826
6833
  })[] | []|[{
6827
6834
  paths?: (string | {
6828
6835
  name: string
6829
6836
  message?: string
6830
6837
  importNames?: string[]
6831
6838
  allowImportNames?: string[]
6839
+
6840
+ allowTypeImports?: boolean
6832
6841
  })[]
6833
6842
  patterns?: (string[] | ({
6834
6843
  [k: string]: unknown | undefined
@@ -7131,6 +7140,11 @@ type PreferReflect = []|[{
7131
7140
  type PreferRegexLiterals = []|[{
7132
7141
  disallowRedundantWrapping?: boolean
7133
7142
  }]
7143
+ // ----- preserve-caught-error -----
7144
+ type PreserveCaughtError = []|[{
7145
+
7146
+ requireCatchParameter?: boolean
7147
+ }]
7134
7148
  // ----- prettier/prettier -----
7135
7149
  type PrettierPrettier = []|[{
7136
7150
  [k: string]: unknown | undefined
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lntvow/eslint-config",
3
- "version": "9.34.2",
3
+ "version": "9.34.4",
4
4
  "type": "module",
5
5
  "description": "Customizable eslint configuration",
6
6
  "keywords": [
@@ -46,29 +46,29 @@
46
46
  "local-pkg": "^1.1.2",
47
47
  "typescript-eslint": "^8.42.0",
48
48
  "vue-eslint-parser": "^10.2.0",
49
- "@lntvow/eslint-plugin": "^9.34.2"
49
+ "@lntvow/eslint-plugin": "^9.34.4"
50
50
  },
51
51
  "devDependencies": {
52
- "@commitlint/cli": "^19.8.1",
53
- "@commitlint/config-conventional": "^19.8.1",
52
+ "@commitlint/cli": "^20.1.0",
53
+ "@commitlint/config-conventional": "^20.0.0",
54
54
  "@types/estree": "^1.0.8",
55
55
  "@types/node": "^22.15.32",
56
- "axios": "^1.11.0",
57
- "bumpp": "^10.2.3",
56
+ "axios": "^1.12.2",
57
+ "bumpp": "^10.3.1",
58
58
  "cheerio": "1.1.2",
59
59
  "commitizen": "^4.3.1",
60
60
  "cz-conventional-changelog": "^3.3.0",
61
- "eslint": "^9.34.0",
61
+ "eslint": "^9.37.0",
62
62
  "eslint-typegen": "^2.3.0",
63
- "lint-staged": "^16.1.6",
63
+ "lint-staged": "^16.2.3",
64
64
  "node-cron": "^4.2.1",
65
65
  "npm-run-all": "^4.1.5",
66
66
  "prettier": "^3.6.2",
67
67
  "simple-git-hooks": "^2.13.1",
68
68
  "tsup": "^8.5.0",
69
- "tsx": "^4.20.5",
70
- "typescript": "^5.9.2",
71
- "vue": "^3.5.21"
69
+ "tsx": "^4.20.6",
70
+ "typescript": "^5.9.3",
71
+ "vue": "^3.5.22"
72
72
  },
73
73
  "scripts": {
74
74
  "rimraf": "rimraf ./node_modules/ && pnpm -r rimraf",