chore(web): new lint setup (#30020)

Co-authored-by: yyh <yuanyouhuilyz@gmail.com>
This commit is contained in:
Stephen Zhou
2025-12-23 16:58:55 +08:00
committed by GitHub
parent 9701a2994b
commit f2842da397
3356 changed files with 85046 additions and 81278 deletions
+3 -3
View File
@@ -1,3 +1,4 @@
import { renderHook } from '@testing-library/react'
/**
* Test suite for React context creation utilities
*
@@ -9,7 +10,6 @@
* - createSelectorCtx: Context with selector support using use-context-selector library
*/
import React from 'react'
import { renderHook } from '@testing-library/react'
import { createCtx, createSelectorCtx } from './context'
describe('Context Utilities', () => {
@@ -106,8 +106,8 @@ describe('Context Utilities', () => {
*/
it('should handle complex context values', () => {
type ComplexContext = {
user: { id: string; name: string }
settings: { theme: string; locale: string }
user: { id: string, name: string }
settings: { theme: string, locale: string }
actions: Array<() => void>
}