chore: lint require and how to import react (#30041)

This commit is contained in:
Stephen Zhou
2025-12-23 18:02:10 +08:00
committed by GitHub
parent 72ca3607a3
commit 403adefc07
1078 changed files with 1680 additions and 1216 deletions

View File

@ -1,6 +1,6 @@
import type { IconData } from './IconBase'
import { fireEvent, render, screen } from '@testing-library/react'
import React from 'react'
import * as React from 'react'
import IconBase from './IconBase'
import * as utils from './utils'

View File

@ -1,5 +1,5 @@
import type { Meta, StoryObj } from '@storybook/nextjs'
import React from 'react'
import * as React from 'react'
declare const require: any

View File

@ -1,4 +1,4 @@
import React from 'react'
import * as React from 'react'
export type AbstractNode = {
name: string