@kazupon/eslint-config 0.18.0 → 0.19.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.
Files changed (87) hide show
  1. package/dist/index.cjs +97 -216
  2. package/dist/index.d.cts +14216 -3
  3. package/dist/index.d.ts +14216 -3
  4. package/dist/index.js +70 -89
  5. package/package.json +15 -15
  6. package/dist/config.d.cts +0 -9
  7. package/dist/config.d.ts +0 -9
  8. package/dist/configs/comments.d.cts +0 -15
  9. package/dist/configs/comments.d.ts +0 -15
  10. package/dist/configs/imports.d.cts +0 -21
  11. package/dist/configs/imports.d.ts +0 -21
  12. package/dist/configs/index.d.cts +0 -17
  13. package/dist/configs/index.d.ts +0 -17
  14. package/dist/configs/javascript.d.cts +0 -15
  15. package/dist/configs/javascript.d.ts +0 -15
  16. package/dist/configs/jsdoc.d.cts +0 -27
  17. package/dist/configs/jsdoc.d.ts +0 -27
  18. package/dist/configs/jsonc.d.cts +0 -39
  19. package/dist/configs/jsonc.d.ts +0 -39
  20. package/dist/configs/markdown.d.cts +0 -28
  21. package/dist/configs/markdown.d.ts +0 -28
  22. package/dist/configs/prettier.d.cts +0 -15
  23. package/dist/configs/prettier.d.ts +0 -15
  24. package/dist/configs/promise.d.cts +0 -15
  25. package/dist/configs/promise.d.ts +0 -15
  26. package/dist/configs/react.d.cts +0 -26
  27. package/dist/configs/react.d.ts +0 -26
  28. package/dist/configs/regexp.d.cts +0 -15
  29. package/dist/configs/regexp.d.ts +0 -15
  30. package/dist/configs/svelte.d.cts +0 -21
  31. package/dist/configs/svelte.d.ts +0 -21
  32. package/dist/configs/toml.d.cts +0 -15
  33. package/dist/configs/toml.d.ts +0 -15
  34. package/dist/configs/typescript.d.cts +0 -38
  35. package/dist/configs/typescript.d.ts +0 -38
  36. package/dist/configs/unicorn.d.cts +0 -20
  37. package/dist/configs/unicorn.d.ts +0 -20
  38. package/dist/configs/vitest.d.cts +0 -22
  39. package/dist/configs/vitest.d.ts +0 -22
  40. package/dist/configs/vue.d.cts +0 -36
  41. package/dist/configs/vue.d.ts +0 -36
  42. package/dist/configs/yml.d.cts +0 -22
  43. package/dist/configs/yml.d.ts +0 -22
  44. package/dist/globs.d.cts +0 -14
  45. package/dist/globs.d.ts +0 -14
  46. package/dist/types/gens/comments.d.cts +0 -65
  47. package/dist/types/gens/comments.d.ts +0 -65
  48. package/dist/types/gens/eslint.d.cts +0 -23
  49. package/dist/types/gens/eslint.d.ts +0 -23
  50. package/dist/types/gens/imports.d.cts +0 -520
  51. package/dist/types/gens/imports.d.ts +0 -520
  52. package/dist/types/gens/javascript.d.cts +0 -3163
  53. package/dist/types/gens/javascript.d.ts +0 -3163
  54. package/dist/types/gens/jsdoc.d.cts +0 -796
  55. package/dist/types/gens/jsdoc.d.ts +0 -796
  56. package/dist/types/gens/jsonc.d.cts +0 -513
  57. package/dist/types/gens/jsonc.d.ts +0 -513
  58. package/dist/types/gens/markdown.d.cts +0 -42
  59. package/dist/types/gens/markdown.d.ts +0 -42
  60. package/dist/types/gens/prettier.d.cts +0 -2
  61. package/dist/types/gens/prettier.d.ts +0 -2
  62. package/dist/types/gens/promise.d.cts +0 -113
  63. package/dist/types/gens/promise.d.ts +0 -113
  64. package/dist/types/gens/react.d.cts +0 -1053
  65. package/dist/types/gens/react.d.ts +0 -1053
  66. package/dist/types/gens/regexp.d.cts +0 -553
  67. package/dist/types/gens/regexp.d.ts +0 -553
  68. package/dist/types/gens/svelte.d.cts +0 -491
  69. package/dist/types/gens/svelte.d.ts +0 -491
  70. package/dist/types/gens/toml.d.cts +0 -256
  71. package/dist/types/gens/toml.d.ts +0 -256
  72. package/dist/types/gens/typescript.d.cts +0 -1578
  73. package/dist/types/gens/typescript.d.ts +0 -1578
  74. package/dist/types/gens/unicorn.d.cts +0 -925
  75. package/dist/types/gens/unicorn.d.ts +0 -925
  76. package/dist/types/gens/vitest.d.cts +0 -377
  77. package/dist/types/gens/vitest.d.ts +0 -377
  78. package/dist/types/gens/vue.d.cts +0 -2746
  79. package/dist/types/gens/vue.d.ts +0 -2746
  80. package/dist/types/gens/yml.d.cts +0 -375
  81. package/dist/types/gens/yml.d.ts +0 -375
  82. package/dist/types/index.d.cts +0 -19
  83. package/dist/types/index.d.ts +0 -19
  84. package/dist/types/overrides.d.cts +0 -8
  85. package/dist/types/overrides.d.ts +0 -8
  86. package/dist/utils.d.cts +0 -18
  87. package/dist/utils.d.ts +0 -18
@@ -1,256 +0,0 @@
1
- import type { Linter } from 'eslint';
2
- export interface TomlRules {
3
- /**
4
- * enforce linebreaks after opening and before closing array brackets
5
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/array-bracket-newline.html
6
- */
7
- 'toml/array-bracket-newline'?: Linter.RuleEntry<TomlArrayBracketNewline>;
8
- /**
9
- * enforce consistent spacing inside array brackets
10
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/array-bracket-spacing.html
11
- */
12
- 'toml/array-bracket-spacing'?: Linter.RuleEntry<TomlArrayBracketSpacing>;
13
- /**
14
- * enforce line breaks between array elements
15
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/array-element-newline.html
16
- */
17
- 'toml/array-element-newline'?: Linter.RuleEntry<TomlArrayElementNewline>;
18
- /**
19
- * enforce consistent comma style in array
20
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/comma-style.html
21
- */
22
- 'toml/comma-style'?: Linter.RuleEntry<TomlCommaStyle>;
23
- /**
24
- * enforce consistent indentation
25
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/indent.html
26
- */
27
- 'toml/indent'?: Linter.RuleEntry<TomlIndent>;
28
- /**
29
- * enforce consistent spacing inside braces
30
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/inline-table-curly-spacing.html
31
- */
32
- 'toml/inline-table-curly-spacing'?: Linter.RuleEntry<TomlInlineTableCurlySpacing>;
33
- /**
34
- * enforce consistent spacing between keys and values in key/value pairs
35
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/key-spacing.html
36
- */
37
- 'toml/key-spacing'?: Linter.RuleEntry<TomlKeySpacing>;
38
- /**
39
- * disallow defining pair keys out-of-order
40
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/keys-order.html
41
- */
42
- 'toml/keys-order'?: Linter.RuleEntry<[]>;
43
- /**
44
- * disallow mixed data types in array
45
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/no-mixed-type-in-array.html
46
- */
47
- 'toml/no-mixed-type-in-array'?: Linter.RuleEntry<TomlNoMixedTypeInArray>;
48
- /**
49
- * disallow hexadecimal, octal and binary integer
50
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/no-non-decimal-integer.html
51
- */
52
- 'toml/no-non-decimal-integer'?: Linter.RuleEntry<TomlNoNonDecimalInteger>;
53
- /**
54
- * disallow spacing around infix operators
55
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/no-space-dots.html
56
- */
57
- 'toml/no-space-dots'?: Linter.RuleEntry<[]>;
58
- /**
59
- * disallow number separators that to not enhance readability.
60
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/no-unreadable-number-separator.html
61
- */
62
- 'toml/no-unreadable-number-separator'?: Linter.RuleEntry<[]>;
63
- /**
64
- * require or disallow padding lines between pairs
65
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/padding-line-between-pairs.html
66
- */
67
- 'toml/padding-line-between-pairs'?: Linter.RuleEntry<[]>;
68
- /**
69
- * require or disallow padding lines between tables
70
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/padding-line-between-tables.html
71
- */
72
- 'toml/padding-line-between-tables'?: Linter.RuleEntry<[]>;
73
- /**
74
- * disallow precision of fractional seconds greater than the specified value.
75
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/precision-of-fractional-seconds.html
76
- */
77
- 'toml/precision-of-fractional-seconds'?: Linter.RuleEntry<TomlPrecisionOfFractionalSeconds>;
78
- /**
79
- * disallow precision of integer greater than the specified value.
80
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/precision-of-integer.html
81
- */
82
- 'toml/precision-of-integer'?: Linter.RuleEntry<TomlPrecisionOfInteger>;
83
- /**
84
- * require or disallow quotes around keys
85
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/quoted-keys.html
86
- */
87
- 'toml/quoted-keys'?: Linter.RuleEntry<TomlQuotedKeys>;
88
- /**
89
- * require spacing around equals sign
90
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/space-eq-sign.html
91
- * @deprecated
92
- */
93
- 'toml/space-eq-sign'?: Linter.RuleEntry<[]>;
94
- /**
95
- * enforce consistent spacing after the `#` in a comment
96
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/spaced-comment.html
97
- */
98
- 'toml/spaced-comment'?: Linter.RuleEntry<TomlSpacedComment>;
99
- /**
100
- * enforce consistent spacing inside table brackets
101
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/table-bracket-spacing.html
102
- */
103
- 'toml/table-bracket-spacing'?: Linter.RuleEntry<TomlTableBracketSpacing>;
104
- /**
105
- * disallow defining tables out-of-order
106
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/tables-order.html
107
- */
108
- 'toml/tables-order'?: Linter.RuleEntry<[]>;
109
- /**
110
- * disallow parsing errors in Vue custom blocks
111
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/vue-custom-block/no-parsing-error.html
112
- */
113
- 'toml/vue-custom-block/no-parsing-error'?: Linter.RuleEntry<[]>;
114
- }
115
- type TomlArrayBracketNewline = [] | [
116
- (("always" | "never" | "consistent") | {
117
- multiline?: boolean;
118
- minItems?: (number | null);
119
- })
120
- ];
121
- type TomlArrayBracketSpacing = [] | [("always" | "never")] | [
122
- ("always" | "never"),
123
- {
124
- singleValue?: boolean;
125
- objectsInArrays?: boolean;
126
- arraysInArrays?: boolean;
127
- }
128
- ];
129
- type TomlArrayElementNewline = [] | [
130
- (_TomlArrayElementNewlineBasicConfig | {
131
- ArrayExpression?: _TomlArrayElementNewlineBasicConfig;
132
- ArrayPattern?: _TomlArrayElementNewlineBasicConfig;
133
- TOMLArray?: _TomlArrayElementNewlineBasicConfig;
134
- })
135
- ];
136
- type _TomlArrayElementNewlineBasicConfig = (("always" | "never" | "consistent") | {
137
- multiline?: boolean;
138
- minItems?: (number | null);
139
- });
140
- type TomlCommaStyle = [] | [("first" | "last")] | [
141
- ("first" | "last"),
142
- {
143
- exceptions?: {
144
- [k: string]: boolean | undefined;
145
- };
146
- }
147
- ];
148
- type TomlIndent = [] | [("tab" | number)] | [
149
- ("tab" | number),
150
- {
151
- subTables?: number;
152
- keyValuePairs?: number;
153
- }
154
- ];
155
- type TomlInlineTableCurlySpacing = [] | [("always" | "never")] | [
156
- ("always" | "never"),
157
- {
158
- arraysInObjects?: boolean;
159
- objectsInObjects?: boolean;
160
- }
161
- ];
162
- type TomlKeySpacing = [] | [
163
- ({
164
- align?: (("equal" | "value") | {
165
- on?: ("equal" | "value");
166
- mode?: ("strict" | "minimum");
167
- beforeEqual?: boolean;
168
- afterEqual?: boolean;
169
- });
170
- mode?: ("strict" | "minimum");
171
- beforeEqual?: boolean;
172
- afterEqual?: boolean;
173
- } | {
174
- singleLine?: {
175
- mode?: ("strict" | "minimum");
176
- beforeEqual?: boolean;
177
- afterEqual?: boolean;
178
- };
179
- multiLine?: {
180
- align?: (("equal" | "value") | {
181
- on?: ("equal" | "value");
182
- mode?: ("strict" | "minimum");
183
- beforeEqual?: boolean;
184
- afterEqual?: boolean;
185
- });
186
- mode?: ("strict" | "minimum");
187
- beforeEqual?: boolean;
188
- afterEqual?: boolean;
189
- };
190
- } | {
191
- singleLine?: {
192
- mode?: ("strict" | "minimum");
193
- beforeEqual?: boolean;
194
- afterEqual?: boolean;
195
- };
196
- multiLine?: {
197
- mode?: ("strict" | "minimum");
198
- beforeEqual?: boolean;
199
- afterEqual?: boolean;
200
- };
201
- align?: {
202
- on?: ("equal" | "value");
203
- mode?: ("strict" | "minimum");
204
- beforeEqual?: boolean;
205
- afterEqual?: boolean;
206
- };
207
- })
208
- ];
209
- type TomlNoMixedTypeInArray = [] | [
210
- {
211
- typeMap?: {
212
- string?: string;
213
- boolean?: string;
214
- integer?: string;
215
- float?: string;
216
- offsetDateTime?: string;
217
- localDateTime?: string;
218
- localDate?: string;
219
- localTime?: string;
220
- array?: string;
221
- inlineTable?: string;
222
- };
223
- }
224
- ];
225
- type TomlNoNonDecimalInteger = [] | [
226
- {
227
- allowHexadecimal?: boolean;
228
- allowOctal?: boolean;
229
- allowBinary?: boolean;
230
- }
231
- ];
232
- type TomlPrecisionOfFractionalSeconds = [] | [
233
- {
234
- max?: number;
235
- }
236
- ];
237
- type TomlPrecisionOfInteger = [] | [
238
- {
239
- maxBit?: number;
240
- }
241
- ];
242
- type TomlQuotedKeys = [] | [
243
- {
244
- prefer?: ("as-needed" | "always");
245
- numbers?: boolean;
246
- }
247
- ];
248
- type TomlSpacedComment = [] | [("always" | "never")] | [
249
- ("always" | "never"),
250
- {
251
- exceptions?: string[];
252
- markers?: string[];
253
- }
254
- ];
255
- type TomlTableBracketSpacing = [] | [("always" | "never")];
256
- export {};
@@ -1,256 +0,0 @@
1
- import type { Linter } from 'eslint';
2
- export interface TomlRules {
3
- /**
4
- * enforce linebreaks after opening and before closing array brackets
5
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/array-bracket-newline.html
6
- */
7
- 'toml/array-bracket-newline'?: Linter.RuleEntry<TomlArrayBracketNewline>;
8
- /**
9
- * enforce consistent spacing inside array brackets
10
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/array-bracket-spacing.html
11
- */
12
- 'toml/array-bracket-spacing'?: Linter.RuleEntry<TomlArrayBracketSpacing>;
13
- /**
14
- * enforce line breaks between array elements
15
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/array-element-newline.html
16
- */
17
- 'toml/array-element-newline'?: Linter.RuleEntry<TomlArrayElementNewline>;
18
- /**
19
- * enforce consistent comma style in array
20
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/comma-style.html
21
- */
22
- 'toml/comma-style'?: Linter.RuleEntry<TomlCommaStyle>;
23
- /**
24
- * enforce consistent indentation
25
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/indent.html
26
- */
27
- 'toml/indent'?: Linter.RuleEntry<TomlIndent>;
28
- /**
29
- * enforce consistent spacing inside braces
30
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/inline-table-curly-spacing.html
31
- */
32
- 'toml/inline-table-curly-spacing'?: Linter.RuleEntry<TomlInlineTableCurlySpacing>;
33
- /**
34
- * enforce consistent spacing between keys and values in key/value pairs
35
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/key-spacing.html
36
- */
37
- 'toml/key-spacing'?: Linter.RuleEntry<TomlKeySpacing>;
38
- /**
39
- * disallow defining pair keys out-of-order
40
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/keys-order.html
41
- */
42
- 'toml/keys-order'?: Linter.RuleEntry<[]>;
43
- /**
44
- * disallow mixed data types in array
45
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/no-mixed-type-in-array.html
46
- */
47
- 'toml/no-mixed-type-in-array'?: Linter.RuleEntry<TomlNoMixedTypeInArray>;
48
- /**
49
- * disallow hexadecimal, octal and binary integer
50
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/no-non-decimal-integer.html
51
- */
52
- 'toml/no-non-decimal-integer'?: Linter.RuleEntry<TomlNoNonDecimalInteger>;
53
- /**
54
- * disallow spacing around infix operators
55
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/no-space-dots.html
56
- */
57
- 'toml/no-space-dots'?: Linter.RuleEntry<[]>;
58
- /**
59
- * disallow number separators that to not enhance readability.
60
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/no-unreadable-number-separator.html
61
- */
62
- 'toml/no-unreadable-number-separator'?: Linter.RuleEntry<[]>;
63
- /**
64
- * require or disallow padding lines between pairs
65
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/padding-line-between-pairs.html
66
- */
67
- 'toml/padding-line-between-pairs'?: Linter.RuleEntry<[]>;
68
- /**
69
- * require or disallow padding lines between tables
70
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/padding-line-between-tables.html
71
- */
72
- 'toml/padding-line-between-tables'?: Linter.RuleEntry<[]>;
73
- /**
74
- * disallow precision of fractional seconds greater than the specified value.
75
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/precision-of-fractional-seconds.html
76
- */
77
- 'toml/precision-of-fractional-seconds'?: Linter.RuleEntry<TomlPrecisionOfFractionalSeconds>;
78
- /**
79
- * disallow precision of integer greater than the specified value.
80
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/precision-of-integer.html
81
- */
82
- 'toml/precision-of-integer'?: Linter.RuleEntry<TomlPrecisionOfInteger>;
83
- /**
84
- * require or disallow quotes around keys
85
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/quoted-keys.html
86
- */
87
- 'toml/quoted-keys'?: Linter.RuleEntry<TomlQuotedKeys>;
88
- /**
89
- * require spacing around equals sign
90
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/space-eq-sign.html
91
- * @deprecated
92
- */
93
- 'toml/space-eq-sign'?: Linter.RuleEntry<[]>;
94
- /**
95
- * enforce consistent spacing after the `#` in a comment
96
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/spaced-comment.html
97
- */
98
- 'toml/spaced-comment'?: Linter.RuleEntry<TomlSpacedComment>;
99
- /**
100
- * enforce consistent spacing inside table brackets
101
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/table-bracket-spacing.html
102
- */
103
- 'toml/table-bracket-spacing'?: Linter.RuleEntry<TomlTableBracketSpacing>;
104
- /**
105
- * disallow defining tables out-of-order
106
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/tables-order.html
107
- */
108
- 'toml/tables-order'?: Linter.RuleEntry<[]>;
109
- /**
110
- * disallow parsing errors in Vue custom blocks
111
- * @see https://ota-meshi.github.io/eslint-plugin-toml/rules/vue-custom-block/no-parsing-error.html
112
- */
113
- 'toml/vue-custom-block/no-parsing-error'?: Linter.RuleEntry<[]>;
114
- }
115
- type TomlArrayBracketNewline = [] | [
116
- (("always" | "never" | "consistent") | {
117
- multiline?: boolean;
118
- minItems?: (number | null);
119
- })
120
- ];
121
- type TomlArrayBracketSpacing = [] | [("always" | "never")] | [
122
- ("always" | "never"),
123
- {
124
- singleValue?: boolean;
125
- objectsInArrays?: boolean;
126
- arraysInArrays?: boolean;
127
- }
128
- ];
129
- type TomlArrayElementNewline = [] | [
130
- (_TomlArrayElementNewlineBasicConfig | {
131
- ArrayExpression?: _TomlArrayElementNewlineBasicConfig;
132
- ArrayPattern?: _TomlArrayElementNewlineBasicConfig;
133
- TOMLArray?: _TomlArrayElementNewlineBasicConfig;
134
- })
135
- ];
136
- type _TomlArrayElementNewlineBasicConfig = (("always" | "never" | "consistent") | {
137
- multiline?: boolean;
138
- minItems?: (number | null);
139
- });
140
- type TomlCommaStyle = [] | [("first" | "last")] | [
141
- ("first" | "last"),
142
- {
143
- exceptions?: {
144
- [k: string]: boolean | undefined;
145
- };
146
- }
147
- ];
148
- type TomlIndent = [] | [("tab" | number)] | [
149
- ("tab" | number),
150
- {
151
- subTables?: number;
152
- keyValuePairs?: number;
153
- }
154
- ];
155
- type TomlInlineTableCurlySpacing = [] | [("always" | "never")] | [
156
- ("always" | "never"),
157
- {
158
- arraysInObjects?: boolean;
159
- objectsInObjects?: boolean;
160
- }
161
- ];
162
- type TomlKeySpacing = [] | [
163
- ({
164
- align?: (("equal" | "value") | {
165
- on?: ("equal" | "value");
166
- mode?: ("strict" | "minimum");
167
- beforeEqual?: boolean;
168
- afterEqual?: boolean;
169
- });
170
- mode?: ("strict" | "minimum");
171
- beforeEqual?: boolean;
172
- afterEqual?: boolean;
173
- } | {
174
- singleLine?: {
175
- mode?: ("strict" | "minimum");
176
- beforeEqual?: boolean;
177
- afterEqual?: boolean;
178
- };
179
- multiLine?: {
180
- align?: (("equal" | "value") | {
181
- on?: ("equal" | "value");
182
- mode?: ("strict" | "minimum");
183
- beforeEqual?: boolean;
184
- afterEqual?: boolean;
185
- });
186
- mode?: ("strict" | "minimum");
187
- beforeEqual?: boolean;
188
- afterEqual?: boolean;
189
- };
190
- } | {
191
- singleLine?: {
192
- mode?: ("strict" | "minimum");
193
- beforeEqual?: boolean;
194
- afterEqual?: boolean;
195
- };
196
- multiLine?: {
197
- mode?: ("strict" | "minimum");
198
- beforeEqual?: boolean;
199
- afterEqual?: boolean;
200
- };
201
- align?: {
202
- on?: ("equal" | "value");
203
- mode?: ("strict" | "minimum");
204
- beforeEqual?: boolean;
205
- afterEqual?: boolean;
206
- };
207
- })
208
- ];
209
- type TomlNoMixedTypeInArray = [] | [
210
- {
211
- typeMap?: {
212
- string?: string;
213
- boolean?: string;
214
- integer?: string;
215
- float?: string;
216
- offsetDateTime?: string;
217
- localDateTime?: string;
218
- localDate?: string;
219
- localTime?: string;
220
- array?: string;
221
- inlineTable?: string;
222
- };
223
- }
224
- ];
225
- type TomlNoNonDecimalInteger = [] | [
226
- {
227
- allowHexadecimal?: boolean;
228
- allowOctal?: boolean;
229
- allowBinary?: boolean;
230
- }
231
- ];
232
- type TomlPrecisionOfFractionalSeconds = [] | [
233
- {
234
- max?: number;
235
- }
236
- ];
237
- type TomlPrecisionOfInteger = [] | [
238
- {
239
- maxBit?: number;
240
- }
241
- ];
242
- type TomlQuotedKeys = [] | [
243
- {
244
- prefer?: ("as-needed" | "always");
245
- numbers?: boolean;
246
- }
247
- ];
248
- type TomlSpacedComment = [] | [("always" | "never")] | [
249
- ("always" | "never"),
250
- {
251
- exceptions?: string[];
252
- markers?: string[];
253
- }
254
- ];
255
- type TomlTableBracketSpacing = [] | [("always" | "never")];
256
- export {};