Skip to content

Commit 455b686

Browse files
committed
Fix eslint problems
1 parent 8dac614 commit 455b686

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

eslint.config.js

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
11
import shared from 'utilium/eslint';
22

3-
export default shared(import.meta.dirname);
3+
export default [
4+
...shared(import.meta.dirname),
5+
{
6+
rules: {
7+
'@typescript-eslint/no-explicit-any': 'off',
8+
'@typescript-eslint/no-unsafe-call': 'off',
9+
},
10+
},
11+
];

src/struct.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { _debugLog } from 'utilium/debugging.js';
21
import { _throw } from 'utilium/misc.js';
32
import { getAllPrototypes } from 'utilium/objects.js';
43
import type { DecoratorContext, Field, Instance, Metadata, Options, StaticLike } from './internal.js';
@@ -65,6 +64,7 @@ export function struct(...options: Options[]) {
6564
isUnion: opts.isUnion ?? false,
6665
} satisfies Metadata;
6766

67+
// eslint-disable-next-line @typescript-eslint/no-implied-eval
6868
return new Function(
6969
'target',
7070
'size',

0 commit comments

Comments
 (0)