@ben_12/eslint-plugin-dprint 1.17.1 → 1.18.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.
@@ -1115,6 +1115,26 @@
1115
1115
  }
1116
1116
  ]
1117
1117
  },
1118
+ "functionExpression.flatIife": {
1119
+ "description": "Whether to skip indenting the body of a function expression used in an IIFE.",
1120
+ "type": "boolean",
1121
+ "oneOf": [
1122
+ {
1123
+ "description": "Does not indent the body of the function in `(function() { ... })();`.",
1124
+ "type": "boolean",
1125
+ "enum": [
1126
+ true
1127
+ ]
1128
+ },
1129
+ {
1130
+ "description": "Indents the body as normal.",
1131
+ "type": "boolean",
1132
+ "enum": [
1133
+ false
1134
+ ]
1135
+ }
1136
+ ]
1137
+ },
1118
1138
  "getAccessor.spaceBeforeParentheses": {
1119
1139
  "description": "Whether to add a space before the parentheses of a get accessor.",
1120
1140
  "type": "boolean",
@@ -1529,6 +1549,9 @@
1529
1549
  "functionExpression.spaceAfterFunctionKeyword": {
1530
1550
  "$ref": "#/definitions/functionExpression.spaceAfterFunctionKeyword"
1531
1551
  },
1552
+ "functionExpression.flatIife": {
1553
+ "$ref": "#/definitions/functionExpression.flatIife"
1554
+ },
1532
1555
  "getAccessor.spaceBeforeParentheses": {
1533
1556
  "$ref": "#/definitions/getAccessor.spaceBeforeParentheses"
1534
1557
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ben_12/eslint-plugin-dprint",
3
- "version": "1.17.1",
3
+ "version": "1.18.0",
4
4
  "description": "An ESLint plugin that fixes code with dprint",
5
5
  "engines": {
6
6
  "node": ">=18.0.0"
@@ -15,10 +15,10 @@
15
15
  "@dprint/json": "^0.21.3",
16
16
  "@dprint/markdown": "^0.21.1",
17
17
  "@dprint/toml": "^0.7.0",
18
- "@dprint/typescript": "^0.95.15",
18
+ "@dprint/typescript": "^0.96.0",
19
19
  "dprint-plugin-graphql": "^0.2.3",
20
20
  "dprint-plugin-malva": "^0.15.3",
21
- "dprint-plugin-markup": "^0.27.0",
21
+ "dprint-plugin-markup": "^0.27.1",
22
22
  "dprint-plugin-yaml": "^0.6.0",
23
23
  "eslint": ">=7.0.0"
24
24
  },
@@ -64,7 +64,7 @@
64
64
  "@dprint/json": "^0.21.3",
65
65
  "@dprint/markdown": "^0.21.1",
66
66
  "@dprint/toml": "^0.7.0",
67
- "@dprint/typescript": "^0.95.15",
67
+ "@dprint/typescript": "^0.96.0",
68
68
  "@types/debug": "^4.1.5",
69
69
  "@types/eslint": "^9.0.0",
70
70
  "@types/node": "^18.0.0",
@@ -72,7 +72,7 @@
72
72
  "axios": "^1.7.9",
73
73
  "dprint-plugin-graphql": "^0.2.3",
74
74
  "dprint-plugin-malva": "^0.15.3",
75
- "dprint-plugin-markup": "^0.27.0",
75
+ "dprint-plugin-markup": "^0.27.1",
76
76
  "dprint-plugin-yaml": "^0.6.0",
77
77
  "eslint": "^9.0.0",
78
78
  "mocha": "^11.0.0",