Skip to content

Commit 30dd62f

Browse files
committed
chore(eslint): disable no-explicit-any
1 parent 2c26772 commit 30dd62f

File tree

4 files changed

+1
-3
lines changed

4 files changed

+1
-3
lines changed

__tests__/common/utils/merge.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// https://github.com/mesqueeb/merge-anything/blob/e492bfc05b2b333a5c6316e0dbc8953752eafe07/test/index.test.ts
33
// MIT Licensed https://github.com/mesqueeb/merge-anything/blob/e492bfc05b2b333a5c6316e0dbc8953752eafe07/LICENSE
44

5-
/* eslint-disable @typescript-eslint/no-explicit-any */
65
/* eslint-disable @typescript-eslint/no-unsafe-member-access */
76

87
import { merge } from '@/common/utils'

eslint.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ export default tseslint.config(
6060
'@typescript-eslint/consistent-type-exports': 'error',
6161
'@typescript-eslint/consistent-type-imports': ['error', { fixStyle: 'inline-type-imports' }],
6262
'@typescript-eslint/no-empty-object-type': 'off',
63+
'@typescript-eslint/no-explicit-any': 'off',
6364
'@typescript-eslint/no-import-type-side-effects': 'error',
6465
'@typescript-eslint/no-unsafe-argument': 'off',
6566
'@typescript-eslint/no-unsafe-assignment': 'off',

src/common/maybe.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ export const Just = <T extends {}>(value: T): IMaybe<T> => {
4242
return instance
4343
}
4444

45-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
4645
export const Nothing: IMaybe<any> = {
4746
isJust: () => false,
4847
isNothing: () => true,

src/common/utils/common.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ const getType = (value: unknown): string => Object.prototype.toString.call(value
7979

8080
export const isSameType = <T>(a: T, b: unknown): b is T => getType(a) === getType(b)
8181

82-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
8382
export type PlainObject = Record<PropertyKey, any>
8483

8584
export const isPlainObject = (value: unknown): value is PlainObject => {

0 commit comments

Comments
 (0)