File tree Expand file tree Collapse file tree 4 files changed +1
-3
lines changed Expand file tree Collapse file tree 4 files changed +1
-3
lines changed Original file line number Diff line number Diff line change 2
2
// https://github.com/mesqueeb/merge-anything/blob/e492bfc05b2b333a5c6316e0dbc8953752eafe07/test/index.test.ts
3
3
// MIT Licensed https://github.com/mesqueeb/merge-anything/blob/e492bfc05b2b333a5c6316e0dbc8953752eafe07/LICENSE
4
4
5
- /* eslint-disable @typescript-eslint/no-explicit-any */
6
5
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
7
6
8
7
import { merge } from '@/common/utils'
Original file line number Diff line number Diff line change @@ -60,6 +60,7 @@ export default tseslint.config(
60
60
'@typescript-eslint/consistent-type-exports' : 'error' ,
61
61
'@typescript-eslint/consistent-type-imports' : [ 'error' , { fixStyle : 'inline-type-imports' } ] ,
62
62
'@typescript-eslint/no-empty-object-type' : 'off' ,
63
+ '@typescript-eslint/no-explicit-any' : 'off' ,
63
64
'@typescript-eslint/no-import-type-side-effects' : 'error' ,
64
65
'@typescript-eslint/no-unsafe-argument' : 'off' ,
65
66
'@typescript-eslint/no-unsafe-assignment' : 'off' ,
Original file line number Diff line number Diff line change @@ -42,7 +42,6 @@ export const Just = <T extends {}>(value: T): IMaybe<T> => {
42
42
return instance
43
43
}
44
44
45
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
46
45
export const Nothing : IMaybe < any > = {
47
46
isJust : ( ) => false ,
48
47
isNothing : ( ) => true ,
Original file line number Diff line number Diff line change @@ -79,7 +79,6 @@ const getType = (value: unknown): string => Object.prototype.toString.call(value
79
79
80
80
export const isSameType = < T > ( a : T , b : unknown ) : b is T => getType ( a ) === getType ( b )
81
81
82
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
83
82
export type PlainObject = Record < PropertyKey , any >
84
83
85
84
export const isPlainObject = ( value : unknown ) : value is PlainObject => {
You can’t perform that action at this time.
0 commit comments