@elizaos/config 1.6.5-alpha.2 → 1.6.5-alpha.20
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.
- package/dist/eslint/eslint.config.base.d.ts +203 -0
- package/dist/eslint/eslint.config.frontend.d.ts +250 -0
- package/dist/eslint/eslint.config.plugin.d.ts +250 -0
- package/dist/index.d.ts +25 -0
- package/dist/index.js +330364 -0
- package/dist/prettier/prettier.config.d.ts +41 -0
- package/package.json +2 -2
- package/src/eslint/eslint.config.base.js +136 -0
|
@@ -0,0 +1,203 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Base ESLint configuration for ElizaOS packages
|
|
3
|
+
* Provides consistent code quality across all packages
|
|
4
|
+
*/
|
|
5
|
+
export const baseConfig: ({
|
|
6
|
+
readonly rules: Readonly<import("eslint").Linter.RulesRecord>;
|
|
7
|
+
} | {
|
|
8
|
+
files: string[];
|
|
9
|
+
languageOptions: {
|
|
10
|
+
parser: typeof typescriptParser;
|
|
11
|
+
parserOptions: {
|
|
12
|
+
ecmaVersion: number;
|
|
13
|
+
sourceType: string;
|
|
14
|
+
ecmaFeatures: {
|
|
15
|
+
jsx: boolean;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
globals: {
|
|
19
|
+
console: string;
|
|
20
|
+
process: string;
|
|
21
|
+
Buffer: string;
|
|
22
|
+
__dirname: string;
|
|
23
|
+
__filename: string;
|
|
24
|
+
module: string;
|
|
25
|
+
require: string;
|
|
26
|
+
global: string;
|
|
27
|
+
globalThis: string;
|
|
28
|
+
exports: string;
|
|
29
|
+
setTimeout: string;
|
|
30
|
+
clearTimeout: string;
|
|
31
|
+
setInterval: string;
|
|
32
|
+
clearInterval: string;
|
|
33
|
+
setImmediate: string;
|
|
34
|
+
clearImmediate: string;
|
|
35
|
+
FormData: string;
|
|
36
|
+
File: string;
|
|
37
|
+
Blob: string;
|
|
38
|
+
URL: string;
|
|
39
|
+
URLSearchParams: string;
|
|
40
|
+
ArrayBuffer: string;
|
|
41
|
+
Uint8Array: string;
|
|
42
|
+
Float32Array: string;
|
|
43
|
+
fetch: string;
|
|
44
|
+
performance: string;
|
|
45
|
+
AbortController: string;
|
|
46
|
+
AbortSignal: string;
|
|
47
|
+
NodeJS: string;
|
|
48
|
+
btoa: string;
|
|
49
|
+
atob: string;
|
|
50
|
+
Bun: string;
|
|
51
|
+
Response: string;
|
|
52
|
+
BufferEncoding: string;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
plugins: {
|
|
56
|
+
'@typescript-eslint': {
|
|
57
|
+
configs: Record<string, import("@typescript-eslint/utils/ts-eslint").ClassicConfig.Config>;
|
|
58
|
+
meta: import("@typescript-eslint/utils/ts-eslint").FlatConfig.PluginMeta;
|
|
59
|
+
rules: typeof import("@typescript-eslint/eslint-plugin/use-at-your-own-risk/rules");
|
|
60
|
+
};
|
|
61
|
+
'@elizaos': {
|
|
62
|
+
meta: {
|
|
63
|
+
name: string;
|
|
64
|
+
version: string;
|
|
65
|
+
};
|
|
66
|
+
rules: {
|
|
67
|
+
'structured-logging': {
|
|
68
|
+
meta: {
|
|
69
|
+
type: string;
|
|
70
|
+
docs: {
|
|
71
|
+
description: string;
|
|
72
|
+
category: string;
|
|
73
|
+
recommended: boolean;
|
|
74
|
+
};
|
|
75
|
+
fixable: any;
|
|
76
|
+
schema: any[];
|
|
77
|
+
messages: {
|
|
78
|
+
missingObjectArg: string;
|
|
79
|
+
missingSrcProperty: string;
|
|
80
|
+
srcMustBeString: string;
|
|
81
|
+
missingMessageArg: string;
|
|
82
|
+
messageMustBeString: string;
|
|
83
|
+
invalidSrcFormat: string;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
create(context: any): {
|
|
87
|
+
CallExpression(node: any): void;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
rules: {
|
|
94
|
+
'@elizaos/structured-logging': string;
|
|
95
|
+
'@typescript-eslint/no-unused-vars': (string | {
|
|
96
|
+
argsIgnorePattern: string;
|
|
97
|
+
varsIgnorePattern: string;
|
|
98
|
+
caughtErrorsIgnorePattern: string;
|
|
99
|
+
})[];
|
|
100
|
+
'@typescript-eslint/no-explicit-any': string;
|
|
101
|
+
'@typescript-eslint/explicit-function-return-type': string;
|
|
102
|
+
'@typescript-eslint/explicit-module-boundary-types': string;
|
|
103
|
+
'@typescript-eslint/no-inferrable-types': string;
|
|
104
|
+
'@typescript-eslint/no-non-null-assertion': string;
|
|
105
|
+
'@typescript-eslint/ban-ts-comment': string;
|
|
106
|
+
'no-unused-vars': string;
|
|
107
|
+
'no-console': string;
|
|
108
|
+
'no-debugger': string;
|
|
109
|
+
'no-alert': string;
|
|
110
|
+
'no-var': string;
|
|
111
|
+
'prefer-const': string;
|
|
112
|
+
'prefer-arrow-callback': string;
|
|
113
|
+
'arrow-spacing': string;
|
|
114
|
+
'object-shorthand': string;
|
|
115
|
+
'prefer-template': string;
|
|
116
|
+
'template-curly-spacing': string;
|
|
117
|
+
'no-multiple-empty-lines': (string | {
|
|
118
|
+
max: number;
|
|
119
|
+
maxEOF: number;
|
|
120
|
+
})[];
|
|
121
|
+
'eol-last': string;
|
|
122
|
+
'comma-dangle': string[];
|
|
123
|
+
semi: string[];
|
|
124
|
+
quotes: (string | {
|
|
125
|
+
avoidEscape: boolean;
|
|
126
|
+
})[];
|
|
127
|
+
indent: (string | number | {
|
|
128
|
+
SwitchCase: number;
|
|
129
|
+
})[];
|
|
130
|
+
'no-trailing-spaces': string;
|
|
131
|
+
'keyword-spacing': string;
|
|
132
|
+
'space-before-blocks': string;
|
|
133
|
+
'object-curly-spacing': string[];
|
|
134
|
+
'array-bracket-spacing': string[];
|
|
135
|
+
'computed-property-spacing': string[];
|
|
136
|
+
'space-in-parens': string[];
|
|
137
|
+
'space-before-function-paren': (string | {
|
|
138
|
+
anonymous: string;
|
|
139
|
+
named: string;
|
|
140
|
+
asyncArrow: string;
|
|
141
|
+
})[];
|
|
142
|
+
eqeqeq: string[];
|
|
143
|
+
curly: string[];
|
|
144
|
+
'no-eval': string;
|
|
145
|
+
'no-implied-eval': string;
|
|
146
|
+
'no-new-func': string;
|
|
147
|
+
'no-return-assign': string;
|
|
148
|
+
'no-self-compare': string;
|
|
149
|
+
'no-sequences': string;
|
|
150
|
+
'no-throw-literal': string;
|
|
151
|
+
'no-unmodified-loop-condition': string;
|
|
152
|
+
'no-unused-expressions': string;
|
|
153
|
+
'no-useless-call': string;
|
|
154
|
+
'no-useless-concat': string;
|
|
155
|
+
'no-useless-return': string;
|
|
156
|
+
'prefer-promise-reject-errors': string;
|
|
157
|
+
radix: string;
|
|
158
|
+
yoda: string;
|
|
159
|
+
'no-duplicate-imports': string;
|
|
160
|
+
'no-useless-catch': string;
|
|
161
|
+
'no-fallthrough': string;
|
|
162
|
+
'no-case-declarations': string;
|
|
163
|
+
'no-control-regex': string;
|
|
164
|
+
'no-useless-escape': string;
|
|
165
|
+
'no-empty': string;
|
|
166
|
+
'no-unreachable': string;
|
|
167
|
+
'no-undef': string;
|
|
168
|
+
};
|
|
169
|
+
})[];
|
|
170
|
+
export namespace testOverrides {
|
|
171
|
+
let files: string[];
|
|
172
|
+
namespace languageOptions {
|
|
173
|
+
namespace globals {
|
|
174
|
+
let describe: string;
|
|
175
|
+
let it: string;
|
|
176
|
+
let test: string;
|
|
177
|
+
let expect: string;
|
|
178
|
+
let beforeEach: string;
|
|
179
|
+
let afterEach: string;
|
|
180
|
+
let beforeAll: string;
|
|
181
|
+
let afterAll: string;
|
|
182
|
+
let jest: string;
|
|
183
|
+
let vitest: string;
|
|
184
|
+
let mock: string;
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
let rules: {
|
|
188
|
+
'@elizaos/structured-logging': string;
|
|
189
|
+
'@typescript-eslint/no-explicit-any': string;
|
|
190
|
+
'@typescript-eslint/no-unused-vars': string;
|
|
191
|
+
'@typescript-eslint/no-non-null-assertion': string;
|
|
192
|
+
'no-console': string;
|
|
193
|
+
'no-undef': string;
|
|
194
|
+
'no-duplicate-imports': string;
|
|
195
|
+
'no-useless-catch': string;
|
|
196
|
+
'no-fallthrough': string;
|
|
197
|
+
'no-case-declarations': string;
|
|
198
|
+
'no-control-regex': string;
|
|
199
|
+
'no-useless-escape': string;
|
|
200
|
+
};
|
|
201
|
+
}
|
|
202
|
+
export const standardIgnores: string[];
|
|
203
|
+
import typescriptParser from '@typescript-eslint/parser';
|
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
declare const _default: ({
|
|
2
|
+
readonly rules: Readonly<import("eslint").Linter.RulesRecord>;
|
|
3
|
+
} | {
|
|
4
|
+
files: string[];
|
|
5
|
+
languageOptions: {
|
|
6
|
+
parser: typeof import("@typescript-eslint/parser");
|
|
7
|
+
parserOptions: {
|
|
8
|
+
ecmaVersion: number;
|
|
9
|
+
sourceType: string;
|
|
10
|
+
ecmaFeatures: {
|
|
11
|
+
jsx: boolean;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
globals: {
|
|
15
|
+
console: string;
|
|
16
|
+
process: string;
|
|
17
|
+
Buffer: string;
|
|
18
|
+
__dirname: string;
|
|
19
|
+
__filename: string;
|
|
20
|
+
module: string;
|
|
21
|
+
require: string;
|
|
22
|
+
global: string;
|
|
23
|
+
globalThis: string;
|
|
24
|
+
exports: string;
|
|
25
|
+
setTimeout: string;
|
|
26
|
+
clearTimeout: string;
|
|
27
|
+
setInterval: string;
|
|
28
|
+
clearInterval: string;
|
|
29
|
+
setImmediate: string;
|
|
30
|
+
clearImmediate: string;
|
|
31
|
+
FormData: string;
|
|
32
|
+
File: string;
|
|
33
|
+
Blob: string;
|
|
34
|
+
URL: string;
|
|
35
|
+
URLSearchParams: string;
|
|
36
|
+
ArrayBuffer: string;
|
|
37
|
+
Uint8Array: string;
|
|
38
|
+
Float32Array: string;
|
|
39
|
+
fetch: string;
|
|
40
|
+
performance: string;
|
|
41
|
+
AbortController: string;
|
|
42
|
+
AbortSignal: string;
|
|
43
|
+
NodeJS: string;
|
|
44
|
+
btoa: string;
|
|
45
|
+
atob: string;
|
|
46
|
+
Bun: string;
|
|
47
|
+
Response: string;
|
|
48
|
+
BufferEncoding: string;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
plugins: {
|
|
52
|
+
'@typescript-eslint': {
|
|
53
|
+
configs: Record<string, import("@typescript-eslint/utils/ts-eslint").ClassicConfig.Config>;
|
|
54
|
+
meta: import("@typescript-eslint/utils/ts-eslint").FlatConfig.PluginMeta;
|
|
55
|
+
rules: typeof import("@typescript-eslint/eslint-plugin/use-at-your-own-risk/rules");
|
|
56
|
+
};
|
|
57
|
+
'@elizaos': {
|
|
58
|
+
meta: {
|
|
59
|
+
name: string;
|
|
60
|
+
version: string;
|
|
61
|
+
};
|
|
62
|
+
rules: {
|
|
63
|
+
'structured-logging': {
|
|
64
|
+
meta: {
|
|
65
|
+
type: string;
|
|
66
|
+
docs: {
|
|
67
|
+
description: string;
|
|
68
|
+
category: string;
|
|
69
|
+
recommended: boolean;
|
|
70
|
+
};
|
|
71
|
+
fixable: any;
|
|
72
|
+
schema: any[];
|
|
73
|
+
messages: {
|
|
74
|
+
missingObjectArg: string;
|
|
75
|
+
missingSrcProperty: string;
|
|
76
|
+
srcMustBeString: string;
|
|
77
|
+
missingMessageArg: string;
|
|
78
|
+
messageMustBeString: string;
|
|
79
|
+
invalidSrcFormat: string;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
create(context: any): {
|
|
83
|
+
CallExpression(node: any): void;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
rules: {
|
|
90
|
+
'@elizaos/structured-logging': string;
|
|
91
|
+
'@typescript-eslint/no-unused-vars': (string | {
|
|
92
|
+
argsIgnorePattern: string;
|
|
93
|
+
varsIgnorePattern: string;
|
|
94
|
+
caughtErrorsIgnorePattern: string;
|
|
95
|
+
})[];
|
|
96
|
+
'@typescript-eslint/no-explicit-any': string;
|
|
97
|
+
'@typescript-eslint/explicit-function-return-type': string;
|
|
98
|
+
'@typescript-eslint/explicit-module-boundary-types': string;
|
|
99
|
+
'@typescript-eslint/no-inferrable-types': string;
|
|
100
|
+
'@typescript-eslint/no-non-null-assertion': string;
|
|
101
|
+
'@typescript-eslint/ban-ts-comment': string;
|
|
102
|
+
'no-unused-vars': string;
|
|
103
|
+
'no-console': string;
|
|
104
|
+
'no-debugger': string;
|
|
105
|
+
'no-alert': string;
|
|
106
|
+
'no-var': string;
|
|
107
|
+
'prefer-const': string;
|
|
108
|
+
'prefer-arrow-callback': string;
|
|
109
|
+
'arrow-spacing': string;
|
|
110
|
+
'object-shorthand': string;
|
|
111
|
+
'prefer-template': string;
|
|
112
|
+
'template-curly-spacing': string;
|
|
113
|
+
'no-multiple-empty-lines': (string | {
|
|
114
|
+
max: number;
|
|
115
|
+
maxEOF: number;
|
|
116
|
+
})[];
|
|
117
|
+
'eol-last': string;
|
|
118
|
+
'comma-dangle': string[];
|
|
119
|
+
semi: string[];
|
|
120
|
+
quotes: (string | {
|
|
121
|
+
avoidEscape: boolean;
|
|
122
|
+
})[];
|
|
123
|
+
indent: (string | number | {
|
|
124
|
+
SwitchCase: number;
|
|
125
|
+
})[];
|
|
126
|
+
'no-trailing-spaces': string;
|
|
127
|
+
'keyword-spacing': string;
|
|
128
|
+
'space-before-blocks': string;
|
|
129
|
+
'object-curly-spacing': string[];
|
|
130
|
+
'array-bracket-spacing': string[];
|
|
131
|
+
'computed-property-spacing': string[];
|
|
132
|
+
'space-in-parens': string[];
|
|
133
|
+
'space-before-function-paren': (string | {
|
|
134
|
+
anonymous: string;
|
|
135
|
+
named: string;
|
|
136
|
+
asyncArrow: string;
|
|
137
|
+
})[];
|
|
138
|
+
eqeqeq: string[];
|
|
139
|
+
curly: string[];
|
|
140
|
+
'no-eval': string;
|
|
141
|
+
'no-implied-eval': string;
|
|
142
|
+
'no-new-func': string;
|
|
143
|
+
'no-return-assign': string;
|
|
144
|
+
'no-self-compare': string;
|
|
145
|
+
'no-sequences': string;
|
|
146
|
+
'no-throw-literal': string;
|
|
147
|
+
'no-unmodified-loop-condition': string;
|
|
148
|
+
'no-unused-expressions': string;
|
|
149
|
+
'no-useless-call': string;
|
|
150
|
+
'no-useless-concat': string;
|
|
151
|
+
'no-useless-return': string;
|
|
152
|
+
'prefer-promise-reject-errors': string;
|
|
153
|
+
radix: string;
|
|
154
|
+
yoda: string;
|
|
155
|
+
'no-duplicate-imports': string;
|
|
156
|
+
'no-useless-catch': string;
|
|
157
|
+
'no-fallthrough': string;
|
|
158
|
+
'no-case-declarations': string;
|
|
159
|
+
'no-control-regex': string;
|
|
160
|
+
'no-useless-escape': string;
|
|
161
|
+
'no-empty': string;
|
|
162
|
+
'no-unreachable': string;
|
|
163
|
+
'no-undef': string;
|
|
164
|
+
};
|
|
165
|
+
} | {
|
|
166
|
+
files: string[];
|
|
167
|
+
languageOptions: {
|
|
168
|
+
globals: {
|
|
169
|
+
describe: string;
|
|
170
|
+
it: string;
|
|
171
|
+
test: string;
|
|
172
|
+
expect: string;
|
|
173
|
+
beforeEach: string;
|
|
174
|
+
afterEach: string;
|
|
175
|
+
beforeAll: string;
|
|
176
|
+
afterAll: string;
|
|
177
|
+
jest: string;
|
|
178
|
+
vitest: string;
|
|
179
|
+
mock: string;
|
|
180
|
+
};
|
|
181
|
+
};
|
|
182
|
+
rules: {
|
|
183
|
+
'@elizaos/structured-logging': string;
|
|
184
|
+
'@typescript-eslint/no-explicit-any': string;
|
|
185
|
+
'@typescript-eslint/no-unused-vars': string;
|
|
186
|
+
'@typescript-eslint/no-non-null-assertion': string;
|
|
187
|
+
'no-console': string;
|
|
188
|
+
'no-undef': string;
|
|
189
|
+
'no-duplicate-imports': string;
|
|
190
|
+
'no-useless-catch': string;
|
|
191
|
+
'no-fallthrough': string;
|
|
192
|
+
'no-case-declarations': string;
|
|
193
|
+
'no-control-regex': string;
|
|
194
|
+
'no-useless-escape': string;
|
|
195
|
+
};
|
|
196
|
+
} | {
|
|
197
|
+
files: string[];
|
|
198
|
+
languageOptions: {
|
|
199
|
+
globals: {
|
|
200
|
+
window: string;
|
|
201
|
+
document: string;
|
|
202
|
+
HTMLElement: string;
|
|
203
|
+
HTMLInputElement: string;
|
|
204
|
+
HTMLButtonElement: string;
|
|
205
|
+
HTMLDivElement: string;
|
|
206
|
+
HTMLCanvasElement: string;
|
|
207
|
+
HTMLTextAreaElement: string;
|
|
208
|
+
HTMLSelectElement: string;
|
|
209
|
+
HTMLTableElement: string;
|
|
210
|
+
HTMLTableSectionElement: string;
|
|
211
|
+
HTMLTableRowElement: string;
|
|
212
|
+
HTMLTableCellElement: string;
|
|
213
|
+
HTMLTableCaptionElement: string;
|
|
214
|
+
Element: string;
|
|
215
|
+
Document: string;
|
|
216
|
+
PointerEvent: string;
|
|
217
|
+
MouseEvent: string;
|
|
218
|
+
KeyboardEvent: string;
|
|
219
|
+
Event: string;
|
|
220
|
+
EventTarget: string;
|
|
221
|
+
CanvasRenderingContext2D: string;
|
|
222
|
+
WebGLRenderingContext: string;
|
|
223
|
+
WebGL2RenderingContext: string;
|
|
224
|
+
SVGElement: string;
|
|
225
|
+
SVGSVGElement: string;
|
|
226
|
+
ScrollBehavior: string;
|
|
227
|
+
MutationObserver: string;
|
|
228
|
+
ResizeObserver: string;
|
|
229
|
+
IntersectionObserver: string;
|
|
230
|
+
ImageData: string;
|
|
231
|
+
DOMRect: string;
|
|
232
|
+
FileReader: string;
|
|
233
|
+
navigator: string;
|
|
234
|
+
requestAnimationFrame: string;
|
|
235
|
+
cancelAnimationFrame: string;
|
|
236
|
+
React: string;
|
|
237
|
+
};
|
|
238
|
+
};
|
|
239
|
+
rules: {
|
|
240
|
+
'jsx-quotes': string[];
|
|
241
|
+
'no-undef': string;
|
|
242
|
+
};
|
|
243
|
+
ignores?: undefined;
|
|
244
|
+
} | {
|
|
245
|
+
ignores: string[];
|
|
246
|
+
files?: undefined;
|
|
247
|
+
languageOptions?: undefined;
|
|
248
|
+
rules?: undefined;
|
|
249
|
+
})[];
|
|
250
|
+
export default _default;
|
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
declare const _default: ({
|
|
2
|
+
readonly rules: Readonly<import("eslint").Linter.RulesRecord>;
|
|
3
|
+
} | {
|
|
4
|
+
files: string[];
|
|
5
|
+
languageOptions: {
|
|
6
|
+
parser: typeof import("@typescript-eslint/parser");
|
|
7
|
+
parserOptions: {
|
|
8
|
+
ecmaVersion: number;
|
|
9
|
+
sourceType: string;
|
|
10
|
+
ecmaFeatures: {
|
|
11
|
+
jsx: boolean;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
globals: {
|
|
15
|
+
console: string;
|
|
16
|
+
process: string;
|
|
17
|
+
Buffer: string;
|
|
18
|
+
__dirname: string;
|
|
19
|
+
__filename: string;
|
|
20
|
+
module: string;
|
|
21
|
+
require: string;
|
|
22
|
+
global: string;
|
|
23
|
+
globalThis: string;
|
|
24
|
+
exports: string;
|
|
25
|
+
setTimeout: string;
|
|
26
|
+
clearTimeout: string;
|
|
27
|
+
setInterval: string;
|
|
28
|
+
clearInterval: string;
|
|
29
|
+
setImmediate: string;
|
|
30
|
+
clearImmediate: string;
|
|
31
|
+
FormData: string;
|
|
32
|
+
File: string;
|
|
33
|
+
Blob: string;
|
|
34
|
+
URL: string;
|
|
35
|
+
URLSearchParams: string;
|
|
36
|
+
ArrayBuffer: string;
|
|
37
|
+
Uint8Array: string;
|
|
38
|
+
Float32Array: string;
|
|
39
|
+
fetch: string;
|
|
40
|
+
performance: string;
|
|
41
|
+
AbortController: string;
|
|
42
|
+
AbortSignal: string;
|
|
43
|
+
NodeJS: string;
|
|
44
|
+
btoa: string;
|
|
45
|
+
atob: string;
|
|
46
|
+
Bun: string;
|
|
47
|
+
Response: string;
|
|
48
|
+
BufferEncoding: string;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
plugins: {
|
|
52
|
+
'@typescript-eslint': {
|
|
53
|
+
configs: Record<string, import("@typescript-eslint/utils/ts-eslint").ClassicConfig.Config>;
|
|
54
|
+
meta: import("@typescript-eslint/utils/ts-eslint").FlatConfig.PluginMeta;
|
|
55
|
+
rules: typeof import("@typescript-eslint/eslint-plugin/use-at-your-own-risk/rules");
|
|
56
|
+
};
|
|
57
|
+
'@elizaos': {
|
|
58
|
+
meta: {
|
|
59
|
+
name: string;
|
|
60
|
+
version: string;
|
|
61
|
+
};
|
|
62
|
+
rules: {
|
|
63
|
+
'structured-logging': {
|
|
64
|
+
meta: {
|
|
65
|
+
type: string;
|
|
66
|
+
docs: {
|
|
67
|
+
description: string;
|
|
68
|
+
category: string;
|
|
69
|
+
recommended: boolean;
|
|
70
|
+
};
|
|
71
|
+
fixable: any;
|
|
72
|
+
schema: any[];
|
|
73
|
+
messages: {
|
|
74
|
+
missingObjectArg: string;
|
|
75
|
+
missingSrcProperty: string;
|
|
76
|
+
srcMustBeString: string;
|
|
77
|
+
missingMessageArg: string;
|
|
78
|
+
messageMustBeString: string;
|
|
79
|
+
invalidSrcFormat: string;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
82
|
+
create(context: any): {
|
|
83
|
+
CallExpression(node: any): void;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
rules: {
|
|
90
|
+
'@elizaos/structured-logging': string;
|
|
91
|
+
'@typescript-eslint/no-unused-vars': (string | {
|
|
92
|
+
argsIgnorePattern: string;
|
|
93
|
+
varsIgnorePattern: string;
|
|
94
|
+
caughtErrorsIgnorePattern: string;
|
|
95
|
+
})[];
|
|
96
|
+
'@typescript-eslint/no-explicit-any': string;
|
|
97
|
+
'@typescript-eslint/explicit-function-return-type': string;
|
|
98
|
+
'@typescript-eslint/explicit-module-boundary-types': string;
|
|
99
|
+
'@typescript-eslint/no-inferrable-types': string;
|
|
100
|
+
'@typescript-eslint/no-non-null-assertion': string;
|
|
101
|
+
'@typescript-eslint/ban-ts-comment': string;
|
|
102
|
+
'no-unused-vars': string;
|
|
103
|
+
'no-console': string;
|
|
104
|
+
'no-debugger': string;
|
|
105
|
+
'no-alert': string;
|
|
106
|
+
'no-var': string;
|
|
107
|
+
'prefer-const': string;
|
|
108
|
+
'prefer-arrow-callback': string;
|
|
109
|
+
'arrow-spacing': string;
|
|
110
|
+
'object-shorthand': string;
|
|
111
|
+
'prefer-template': string;
|
|
112
|
+
'template-curly-spacing': string;
|
|
113
|
+
'no-multiple-empty-lines': (string | {
|
|
114
|
+
max: number;
|
|
115
|
+
maxEOF: number;
|
|
116
|
+
})[];
|
|
117
|
+
'eol-last': string;
|
|
118
|
+
'comma-dangle': string[];
|
|
119
|
+
semi: string[];
|
|
120
|
+
quotes: (string | {
|
|
121
|
+
avoidEscape: boolean;
|
|
122
|
+
})[];
|
|
123
|
+
indent: (string | number | {
|
|
124
|
+
SwitchCase: number;
|
|
125
|
+
})[];
|
|
126
|
+
'no-trailing-spaces': string;
|
|
127
|
+
'keyword-spacing': string;
|
|
128
|
+
'space-before-blocks': string;
|
|
129
|
+
'object-curly-spacing': string[];
|
|
130
|
+
'array-bracket-spacing': string[];
|
|
131
|
+
'computed-property-spacing': string[];
|
|
132
|
+
'space-in-parens': string[];
|
|
133
|
+
'space-before-function-paren': (string | {
|
|
134
|
+
anonymous: string;
|
|
135
|
+
named: string;
|
|
136
|
+
asyncArrow: string;
|
|
137
|
+
})[];
|
|
138
|
+
eqeqeq: string[];
|
|
139
|
+
curly: string[];
|
|
140
|
+
'no-eval': string;
|
|
141
|
+
'no-implied-eval': string;
|
|
142
|
+
'no-new-func': string;
|
|
143
|
+
'no-return-assign': string;
|
|
144
|
+
'no-self-compare': string;
|
|
145
|
+
'no-sequences': string;
|
|
146
|
+
'no-throw-literal': string;
|
|
147
|
+
'no-unmodified-loop-condition': string;
|
|
148
|
+
'no-unused-expressions': string;
|
|
149
|
+
'no-useless-call': string;
|
|
150
|
+
'no-useless-concat': string;
|
|
151
|
+
'no-useless-return': string;
|
|
152
|
+
'prefer-promise-reject-errors': string;
|
|
153
|
+
radix: string;
|
|
154
|
+
yoda: string;
|
|
155
|
+
'no-duplicate-imports': string;
|
|
156
|
+
'no-useless-catch': string;
|
|
157
|
+
'no-fallthrough': string;
|
|
158
|
+
'no-case-declarations': string;
|
|
159
|
+
'no-control-regex': string;
|
|
160
|
+
'no-useless-escape': string;
|
|
161
|
+
'no-empty': string;
|
|
162
|
+
'no-unreachable': string;
|
|
163
|
+
'no-undef': string;
|
|
164
|
+
};
|
|
165
|
+
} | {
|
|
166
|
+
files: string[];
|
|
167
|
+
languageOptions: {
|
|
168
|
+
globals: {
|
|
169
|
+
describe: string;
|
|
170
|
+
it: string;
|
|
171
|
+
test: string;
|
|
172
|
+
expect: string;
|
|
173
|
+
beforeEach: string;
|
|
174
|
+
afterEach: string;
|
|
175
|
+
beforeAll: string;
|
|
176
|
+
afterAll: string;
|
|
177
|
+
jest: string;
|
|
178
|
+
vitest: string;
|
|
179
|
+
mock: string;
|
|
180
|
+
};
|
|
181
|
+
};
|
|
182
|
+
rules: {
|
|
183
|
+
'@elizaos/structured-logging': string;
|
|
184
|
+
'@typescript-eslint/no-explicit-any': string;
|
|
185
|
+
'@typescript-eslint/no-unused-vars': string;
|
|
186
|
+
'@typescript-eslint/no-non-null-assertion': string;
|
|
187
|
+
'no-console': string;
|
|
188
|
+
'no-undef': string;
|
|
189
|
+
'no-duplicate-imports': string;
|
|
190
|
+
'no-useless-catch': string;
|
|
191
|
+
'no-fallthrough': string;
|
|
192
|
+
'no-case-declarations': string;
|
|
193
|
+
'no-control-regex': string;
|
|
194
|
+
'no-useless-escape': string;
|
|
195
|
+
};
|
|
196
|
+
} | {
|
|
197
|
+
files: string[];
|
|
198
|
+
languageOptions: {
|
|
199
|
+
globals: {
|
|
200
|
+
window: string;
|
|
201
|
+
document: string;
|
|
202
|
+
HTMLElement: string;
|
|
203
|
+
HTMLInputElement: string;
|
|
204
|
+
HTMLButtonElement: string;
|
|
205
|
+
HTMLDivElement: string;
|
|
206
|
+
HTMLCanvasElement: string;
|
|
207
|
+
HTMLTextAreaElement: string;
|
|
208
|
+
HTMLSelectElement: string;
|
|
209
|
+
HTMLTableElement: string;
|
|
210
|
+
HTMLTableSectionElement: string;
|
|
211
|
+
HTMLTableRowElement: string;
|
|
212
|
+
HTMLTableCellElement: string;
|
|
213
|
+
HTMLTableCaptionElement: string;
|
|
214
|
+
Element: string;
|
|
215
|
+
Document: string;
|
|
216
|
+
PointerEvent: string;
|
|
217
|
+
MouseEvent: string;
|
|
218
|
+
KeyboardEvent: string;
|
|
219
|
+
Event: string;
|
|
220
|
+
EventTarget: string;
|
|
221
|
+
CanvasRenderingContext2D: string;
|
|
222
|
+
WebGLRenderingContext: string;
|
|
223
|
+
WebGL2RenderingContext: string;
|
|
224
|
+
SVGElement: string;
|
|
225
|
+
SVGSVGElement: string;
|
|
226
|
+
ScrollBehavior: string;
|
|
227
|
+
MutationObserver: string;
|
|
228
|
+
ResizeObserver: string;
|
|
229
|
+
IntersectionObserver: string;
|
|
230
|
+
ImageData: string;
|
|
231
|
+
DOMRect: string;
|
|
232
|
+
FileReader: string;
|
|
233
|
+
navigator: string;
|
|
234
|
+
requestAnimationFrame: string;
|
|
235
|
+
cancelAnimationFrame: string;
|
|
236
|
+
React: string;
|
|
237
|
+
};
|
|
238
|
+
};
|
|
239
|
+
rules: {
|
|
240
|
+
'jsx-quotes': string[];
|
|
241
|
+
'no-undef': string;
|
|
242
|
+
};
|
|
243
|
+
ignores?: undefined;
|
|
244
|
+
} | {
|
|
245
|
+
ignores: string[];
|
|
246
|
+
files?: undefined;
|
|
247
|
+
languageOptions?: undefined;
|
|
248
|
+
rules?: undefined;
|
|
249
|
+
})[];
|
|
250
|
+
export default _default;
|