@lntvow/eslint-config 9.35.1 → 9.35.3

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 +55 -1
  2. package/package.json +11 -11
package/dist/index.d.ts CHANGED
@@ -2219,6 +2219,11 @@ interface RuleOptions {
2219
2219
  * @see https://eslint.style/rules/eol-last
2220
2220
  */
2221
2221
  'style/eol-last'?: Linter.RuleEntry<StyleEolLast>
2222
+ /**
2223
+ * Enforce consistent spacing and line break styles inside brackets.
2224
+ * @see https://eslint.style/rules/list-style
2225
+ */
2226
+ 'style/exp-list-style'?: Linter.RuleEntry<StyleExpListStyle>
2222
2227
  /**
2223
2228
  * Enforce line breaks between arguments of a function call
2224
2229
  * @see https://eslint.style/rules/function-call-argument-newline
@@ -7561,6 +7566,50 @@ type StyleCurlyNewline = []|[(("always" | "never") | {
7561
7566
  type StyleDotLocation = []|[("object" | "property")]
7562
7567
  // ----- style/eol-last -----
7563
7568
  type StyleEolLast = []|[("always" | "never" | "unix" | "windows")]
7569
+ // ----- style/exp-list-style -----
7570
+ type StyleExpListStyle = []|[{
7571
+ singleLine?: _StyleExpListStyle_SingleLineConfig
7572
+ multiLine?: _StyleExpListStyle_MultiLineConfig
7573
+ overrides?: {
7574
+ "[]"?: _StyleExpListStyle_BaseConfig
7575
+ "{}"?: _StyleExpListStyle_BaseConfig
7576
+ "<>"?: _StyleExpListStyle_BaseConfig
7577
+ "()"?: _StyleExpListStyle_BaseConfig
7578
+ ArrayExpression?: _StyleExpListStyle_BaseConfig
7579
+ ArrayPattern?: _StyleExpListStyle_BaseConfig
7580
+ ArrowFunctionExpression?: _StyleExpListStyle_BaseConfig
7581
+ CallExpression?: _StyleExpListStyle_BaseConfig
7582
+ ExportNamedDeclaration?: _StyleExpListStyle_BaseConfig
7583
+ FunctionDeclaration?: _StyleExpListStyle_BaseConfig
7584
+ FunctionExpression?: _StyleExpListStyle_BaseConfig
7585
+ ImportDeclaration?: _StyleExpListStyle_BaseConfig
7586
+ ImportAttributes?: _StyleExpListStyle_BaseConfig
7587
+ NewExpression?: _StyleExpListStyle_BaseConfig
7588
+ ObjectExpression?: _StyleExpListStyle_BaseConfig
7589
+ ObjectPattern?: _StyleExpListStyle_BaseConfig
7590
+ TSDeclareFunction?: _StyleExpListStyle_BaseConfig
7591
+ TSFunctionType?: _StyleExpListStyle_BaseConfig
7592
+ TSInterfaceBody?: _StyleExpListStyle_BaseConfig
7593
+ TSEnumBody?: _StyleExpListStyle_BaseConfig
7594
+ TSTupleType?: _StyleExpListStyle_BaseConfig
7595
+ TSTypeLiteral?: _StyleExpListStyle_BaseConfig
7596
+ TSTypeParameterDeclaration?: _StyleExpListStyle_BaseConfig
7597
+ TSTypeParameterInstantiation?: _StyleExpListStyle_BaseConfig
7598
+ JSONArrayExpression?: _StyleExpListStyle_BaseConfig
7599
+ JSONObjectExpression?: _StyleExpListStyle_BaseConfig
7600
+ }
7601
+ }]
7602
+ interface _StyleExpListStyle_SingleLineConfig {
7603
+ spacing?: ("always" | "never")
7604
+ maxItems?: number
7605
+ }
7606
+ interface _StyleExpListStyle_MultiLineConfig {
7607
+ minItems?: number
7608
+ }
7609
+ interface _StyleExpListStyle_BaseConfig {
7610
+ singleLine?: _StyleExpListStyle_SingleLineConfig
7611
+ multiline?: _StyleExpListStyle_MultiLineConfig
7612
+ }
7564
7613
  // ----- style/function-call-argument-newline -----
7565
7614
  type StyleFunctionCallArgumentNewline = []|[("always" | "never" | "consistent")]
7566
7615
  // ----- style/function-call-spacing -----
@@ -7630,7 +7679,11 @@ type StyleIndent = []|[("tab" | number)]|[("tab" | number), {
7630
7679
  ObjectExpression?: (number | ("first" | "off"))
7631
7680
  ImportDeclaration?: (number | ("first" | "off"))
7632
7681
  flatTernaryExpressions?: boolean
7633
- offsetTernaryExpressions?: boolean
7682
+ offsetTernaryExpressions?: (boolean | {
7683
+ CallExpression?: boolean
7684
+ AwaitExpression?: boolean
7685
+ NewExpression?: boolean
7686
+ })
7634
7687
  offsetTernaryExpressionsOffsetCallExpressions?: boolean
7635
7688
  ignoredNodes?: string[]
7636
7689
  ignoreComments?: boolean
@@ -8433,6 +8486,7 @@ type StyleObjectCurlySpacing = []|[("always" | "never")]|[("always" | "never"),
8433
8486
  TSInterfaceBody?: ("always" | "never")
8434
8487
  TSEnumBody?: ("always" | "never")
8435
8488
  }
8489
+ emptyObjects?: ("ignore" | "always" | "never")
8436
8490
  }]
8437
8491
  // ----- style/object-property-newline -----
8438
8492
  type StyleObjectPropertyNewline = []|[{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lntvow/eslint-config",
3
- "version": "9.35.1",
3
+ "version": "9.35.3",
4
4
  "type": "module",
5
5
  "description": "Customizable eslint configuration",
6
6
  "keywords": [
@@ -29,10 +29,10 @@
29
29
  "prettier": ">=3.1.0"
30
30
  },
31
31
  "dependencies": {
32
- "@eslint/compat": "^1.4.0",
33
- "@eslint/js": "^9.37.0",
34
- "@lntvow/utils": "^4.6.1",
35
- "@stylistic/eslint-plugin": "^5.4.0",
32
+ "@eslint/compat": "^1.4.1",
33
+ "@eslint/js": "^9.39.0",
34
+ "@lntvow/utils": "^4.7.0",
35
+ "@stylistic/eslint-plugin": "^5.5.0",
36
36
  "eslint-config-prettier": "^10.1.8",
37
37
  "eslint-flat-config-utils": "^2.1.4",
38
38
  "eslint-plugin-import-x": "^4.16.1",
@@ -40,13 +40,13 @@
40
40
  "eslint-plugin-regexp": "^2.10.0",
41
41
  "eslint-plugin-unicorn": "^59.0.0",
42
42
  "eslint-plugin-vitest": "^0.5.4",
43
- "eslint-plugin-vue": "^10.5.0",
43
+ "eslint-plugin-vue": "^10.5.1",
44
44
  "find-up-simple": "^1.0.1",
45
- "globals": "^16.4.0",
45
+ "globals": "^16.5.0",
46
46
  "local-pkg": "^1.1.2",
47
- "typescript-eslint": "^8.46.0",
47
+ "typescript-eslint": "^8.46.2",
48
48
  "vue-eslint-parser": "^10.2.0",
49
- "@lntvow/eslint-plugin": "^9.35.1"
49
+ "@lntvow/eslint-plugin": "^9.35.3"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@commitlint/cli": "^20.1.0",
@@ -58,9 +58,9 @@
58
58
  "cheerio": "1.1.2",
59
59
  "commitizen": "^4.3.1",
60
60
  "cz-conventional-changelog": "^3.3.0",
61
- "eslint": "^9.37.0",
61
+ "eslint": "^9.39.0",
62
62
  "eslint-typegen": "^2.3.0",
63
- "lint-staged": "^16.2.3",
63
+ "lint-staged": "^16.2.6",
64
64
  "node-cron": "^4.2.1",
65
65
  "npm-run-all": "^4.1.5",
66
66
  "prettier": "^3.6.2",