Skip to content
This repository was archived by the owner on Mar 25, 2025. It is now read-only.

Commit eacc3fd

Browse files
committed
chore: remove biome lint rule useEnumInitializers
1 parent 5d8f4a8 commit eacc3fd

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

biome.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@
2222
"style": {
2323
"noUnusedTemplateLiteral": "off",
2424
"useExponentiationOperator": "off",
25-
"noParameterAssign": "off",
26-
"useEnumInitializers": "off"
25+
"noParameterAssign": "off"
2726
},
2827
"a11y": {
2928
"noSvgWithoutTitle": "off"

packages/core/src/Table/context.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import { createContext, Dispatch, RefObject } from 'react'
22

33
export enum WidthActionType {
4-
SET_WIDTHS,
5-
UPDATE_WIDTHS,
6-
RESET_WIDTHS,
7-
SET_TOTAL_WIDTH,
4+
SET_WIDTHS = 0,
5+
UPDATE_WIDTHS = 1,
6+
RESET_WIDTHS = 2,
7+
SET_TOTAL_WIDTH = 3,
88
}
99

1010
interface SetWidthsAction {

packages/core/src/Toast/context.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ export interface BaseToastValue {
5959
}
6060

6161
export enum ToastActionType {
62-
TOAST_CREATE,
63-
TOAST_REMOVE,
64-
TOAST_REMOVE_ALL,
62+
TOAST_CREATE = 0,
63+
TOAST_REMOVE = 1,
64+
TOAST_REMOVE_ALL = 2,
6565
}
6666

6767
export type ToastId = string

0 commit comments

Comments
 (0)