-
-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Weekly scheduled smoke test: eslint-plugin-react #29
Comments
Detected 29 ESLint reports and/or crashes. Click to expandRule: jsx-no-constructed-context-values
21 | return (
22 | <>
> 23 | <Context.Provider value={context as any}>{children}</Context.Provider>
24 | <div ref={modalRef as any} />
25 | </>
26 | );
Rule: jsx-no-constructed-context-values
97 | {...otherProps}
98 | >
> 99 | <CommandContext.Provider value={_reveal as boolean}>
100 | {!!container.content.length && <div className={classes.content}>{container.content}</div>}
101 | <div className={classes.primary}>
102 | {_reveal
Rule: jsx-no-constructed-context-values
29 | const setReveal = (val: boolean) => (reveal = val);
30 | const { rerender } = render(
> 31 | <QuizContext.Provider value={mockStore as QuizStore}>
32 | <Answer answer={answer} reveal={reveal} setReveal={setReveal} />
33 | </QuizContext.Provider>
34 | );
Rule: jsx-no-constructed-context-values
14 | const mockStore = { categoryId: 1 };
15 | render(
> 16 | <QuizContext.Provider value={mockStore as QuizStore}>
17 | <CategorySelector categories={categories} />
18 | </QuizContext.Provider>
19 | );
Rule: jsx-no-constructed-context-values
9 | const mockStore = { difficulty: "easy" };
10 | render(
> 11 | <QuizContext.Provider value={mockStore as QuizStore}>
12 | <DifficultySelector />
13 | </QuizContext.Provider>
14 | );
Rule: jsx-no-constructed-context-values
36 | const stop = jest.fn();
37 | render(
> 38 | <QuizContext.Provider value={mockStore as QuizStore}>
39 | <Done stop={stop} />
40 | </QuizContext.Provider>
41 | );
Rule: jsx-no-constructed-context-values
9 | const mockStore = { quantity: 0 };
10 | render(
> 11 | <QuizContext.Provider value={mockStore as QuizStore}>
12 | <QuantitySelector />
13 | </QuizContext.Provider>
14 | );
Rule: jsx-no-constructed-context-values
30 | test("shows utf8 question from base64 source", async () => {
31 | render(
> 32 | <QuizContext.Provider value={mockStore as QuizStore}>
33 | <Question />
34 | </QuizContext.Provider>
35 | );
Rule: jsx-no-constructed-context-values
41 | const hookWrapper = (mockStore: any): FC => ({ children }) => {
42 | return (
> 43 | <QuizContext.Provider value={mockStore as QuizStore}>
44 | {children}
45 | </QuizContext.Provider>
46 | );
Rule: jsx-no-constructed-context-values
28 | const wrapper = mount(
29 | <Theme>
> 30 | <JokesContext.Provider value={contextState as JokesContextState}>
31 | <JokeList />
32 | </JokesContext.Provider>
33 | </Theme>
Rule: jsx-no-constructed-context-values
17 | return React.useMemo(
18 | () => (
> 19 | <FormGlobalContext.Provider value={rest as FormContextValues}>
20 | {children}
21 | </FormGlobalContext.Provider>
22 | ),
Rule: jsx-no-constructed-context-values
67 |
68 | return (
> 69 | <AddMessageContext.Provider value={addMessage as AddMessage<Message>}>
70 | <MessageQueueActionsContext.Provider value={actions}>
71 | <MessageVisibilityContext.Provider value={visible}>
72 | <MessageQueueContext.Provider value={queue}>
Rule: jsx-no-constructed-context-values
143 |
144 | return (
> 145 | <ParentContext.Provider value>
146 | <InheritContext.Provider value={inherit}>
147 | <Component
148 | {...remaining}
Rule: jsx-no-constructed-context-values
17 |
18 | const Context: FC = ({ children }) => (
> 19 | <InheritContext.Provider value>{children}</InheritContext.Provider>
20 | );
21 |
22 | const Test1 = () => {
Rule: jsx-no-constructed-context-values
34 | render(
35 | <MemoryRouter>
> 36 | <SessionContext.Provider value={(session as unknown) as Session}>
37 | <FragmentLineToVecRanking
38 | number={'X.0'}
39 | fragmentService={fragmentService}
Rule: jsx-no-constructed-context-values
103 | }
104 | return (
> 105 | <OrderContext.Provider value={orderValue as OrderState}>
106 | {children}
107 | </OrderContext.Provider>
108 | )
Rule: jsx-no-constructed-context-values
54 | };
55 |
> 56 | return <NotificationContext.Provider value={contextValue as NotificationContextType} {...props} />;
57 | };
58 |
59 | export { NotificationContext, NotificationContextProvider };
Rule: jsx-no-constructed-context-values
140 |
141 | return (
> 142 | <BannerContext.Provider value>
143 | <div
144 | className={className}
145 | // eslint-disable-next-line jsx-a11y/no-noninteractive-tabindex
Rule: jsx-no-constructed-context-values
180 |
181 | const bannerWithContentContext = mountWithAppProvider(
> 182 | <WithinContentContext.Provider value>
183 | <Banner
184 | action={{
185 | content: 'Primary action',
Rule: jsx-no-constructed-context-values
119 |
120 | return (
> 121 | <WithinContentContext.Provider value>
122 | <div className={className}>
123 | {headerMarkup}
124 | {content}
Rule: jsx-no-constructed-context-values
45 | it('renders a medium button when in a content context', () => {
46 | const emptyStateInContentContext = mountWithAppProvider(
> 47 | <WithinContentContext.Provider value>
48 | <EmptyState image={imgSrc} action={{content: 'Upload files'}} />
49 | </WithinContentContext.Provider>,
50 | );
Rule: jsx-no-constructed-context-values
435 |
436 | return (
> 437 | <WithinFilterContext.Provider value>
438 | <div className={styles.Filters}>
439 | {filtersControlMarkup}
440 | {filtersContainerMarkup}
Rule: jsx-no-constructed-context-values
199 |
200 | return (
> 201 | <WithinContentContext.Provider value>
202 | {activatorMarkup}
203 | <Portal idPrefix="modal">
204 | <TransitionGroup appear={animated} enter={animated} exit={animated}>
Rule: jsx-no-constructed-context-values
61 | return (
62 | <NavigationContext.Provider value={context}>
> 63 | <WithinContentContext.Provider value>
64 | <nav className={styles.Navigation}>
65 | {mediaMarkup}
66 | <Scrollable className={styles.PrimaryNavigation}>
Rule: jsx-no-constructed-context-values
46 | const [funds, dispatch] = useReducer(reducer, { currencies }, init)
47 | return (
> 48 | <DispatchContext.Provider value={dispatch as () => void}>
49 | <FundsContext.Provider value={funds}>{children}</FundsContext.Provider>
50 | </DispatchContext.Provider>
51 | )
Rule: jsx-no-constructed-context-values
147 | <ApolloProvider client={client}>
148 | <MockedProvider mocks={queryMocks}>
> 149 | <ChatsContext.Provider value={mockedContextValue as any}>
150 | <ChatsMenu />
151 | </ChatsContext.Provider>
152 | </MockedProvider>
Rule: jsx-no-constructed-context-values
72 |
73 | return (
> 74 | <HostDialogsContext.Provider value={context as HostDialogsContextType}>
75 | {children}
76 | </HostDialogsContext.Provider>
77 | );
Rule: jsx-no-constructed-context-values
23 | }
24 | return () => (
> 25 | <AwardContext.Provider value={(ctx.award.initialState as any).award || {}}>
26 | <Loadable.Capture report={(moduleName: any) => ctx.award.modules.push(moduleName)}>
27 | <Component {...(ctx.award.initialState.award || {})} />
28 | </Loadable.Capture>
Rule: jsx-no-constructed-context-values
648 | render(
649 | <Canvas>
> 650 | <stateContext.Provider value={sharedState.current as SharedCanvasContext}>
651 | {typeof children === 'function' ? children(state.current) : children}
652 | </stateContext.Provider>
653 | </Canvas>,
|
Detected 22 ESLint reports and/or crashes. Click to expandRule: jsx-no-constructed-context-values
138 | };
139 |
> 140 | return <globalContext.Provider value={globalContextData as GlobalContext}>{props.children}</globalContext.Provider>;
141 | };
142 |
143 | const wrapWithProvider = ({ element }: { element: React.ReactChildren }) => <Provider>{element}</Provider>;
Rule: jsx-no-constructed-context-values
648 | render(
649 | <Canvas>
> 650 | <stateContext.Provider value={sharedState.current as SharedCanvasContext}>
651 | {typeof children === 'function' ? children(state.current) : children}
652 | </stateContext.Provider>
653 | </Canvas>,
Rule: jsx-no-constructed-context-values
46 | const [funds, dispatch] = useReducer(reducer, { currencies }, init)
47 | return (
> 48 | <DispatchContext.Provider value={dispatch as () => void}>
49 | <FundsContext.Provider value={funds}>{children}</FundsContext.Provider>
50 | </DispatchContext.Provider>
51 | )
Rule: jsx-no-constructed-context-values
33 |
34 | return (
> 35 | <LoginDispatchContext.Provider value={dispatch as LoginDispatch}>
36 | <LoginStateContext.Provider value={state}>
37 | {children}
38 | </LoginStateContext.Provider>
Rule: jsx-max-depth
20 | <Fade in={isOpen}>
21 | <DialogContent>
> 22 | <Icon icon="cancel" onClick={onClose} popoverText="Close Modal" />
23 | <div className="modal_content">{children}</div>
24 | <div className={clxs('modal_buttons', classes.buttons)}>
25 | <Button className="modal_buttons--cancel" onClick={onCancel}>
Rule: jsx-no-constructed-context-values
67 |
68 | return (
> 69 | <AddMessageContext.Provider value={addMessage as AddMessage<Message>}>
70 | <MessageQueueActionsContext.Provider value={actions}>
71 | <MessageVisibilityContext.Provider value={visible}>
72 | <MessageQueueContext.Provider value={queue}>
Rule: jsx-no-constructed-context-values
143 |
144 | return (
> 145 | <ParentContext.Provider value>
146 | <InheritContext.Provider value={inherit}>
147 | <Component
148 | {...remaining}
Rule: jsx-no-constructed-context-values
17 |
18 | const Context: FC = ({ children }) => (
> 19 | <InheritContext.Provider value>{children}</InheritContext.Provider>
20 | );
21 |
22 | const Test1 = () => {
Rule: jsx-no-constructed-context-values
191 | subscriptions,
192 | ])
> 193 | return <context.Provider value={api as ProviderContext}>{children}</context.Provider>
194 | }
195 |
Rule: jsx-no-constructed-context-values
40 | await act(async () => {
41 | wrapper = mount(
> 42 | <RepositoryContext.Provider value={repo as any}>
43 | <SharedContext.Provider value={shareobject}>
44 | <EditPropertiesDialogBody {...(testprops as any)} />
45 | </SharedContext.Provider>
Rule: jsx-no-constructed-context-values
33 | await act(async () => {
34 | wrapper = mount(
> 35 | <RepositoryContext.Provider value={repo as any}>
36 | <SharedContext.Provider value={shareobject as any}>
37 | <EventComponent {...(testprops as any)} />
38 | </SharedContext.Provider>
Rule: jsx-no-constructed-context-values
35 | wrapper = mount(
36 | <RepositoryContext.Provider value={repo}>
> 37 | <SharedContext.Provider value={shareobject as any}>
38 | <MainPanel />
39 | </SharedContext.Provider>
40 | </RepositoryContext.Provider>,
Rule: jsx-no-constructed-context-values
40 | await act(async () => {
41 | wrapper = mount(
> 42 | <RepositoryContext.Provider value={repo as any}>
43 | <SharedContext.Provider value={shareobject as any}>
44 | <NewDialogBody {...(testprops as any)} />
45 | </SharedContext.Provider>
Rule: jsx-no-constructed-context-values
57 | await act(async () => {
58 | wrapper = mount(
> 59 | <RepositoryContext.Provider value={repo as any}>
60 | <SharedContext.Provider value={shareobject as any}>
61 | <ViewDialogBody {...(testprops as any)} />
62 | </SharedContext.Provider>
Rule: jsx-no-constructed-context-values
29 | await act(async () => {
30 | wrapper = mount(
> 31 | <RepositoryContext.Provider value={repository as any}>
32 | <App />
33 | </RepositoryContext.Provider>,
34 | )
Rule: jsx-no-constructed-context-values
66 |
67 | const wrapper = mount(
> 68 | <RepositoryContext.Provider value={repository as any}>
69 | <DropFileArea {...testprop} />
70 | </RepositoryContext.Provider>,
71 | )
Rule: jsx-no-constructed-context-values
21 | }
22 | const wrapper = mount(
> 23 | <RepositoryContext.Provider value={repository as any}>
24 | <UploadControll {...testprop} />
25 | </RepositoryContext.Provider>,
26 | )
Rule: jsx-no-constructed-context-values
22 | await act(async () => {
23 | wrapper = mount(
> 24 | <RepositoryContext.Provider value={repository as any}>
25 | <App />
26 | </RepositoryContext.Provider>,
27 | )
Rule: jsx-no-constructed-context-values
33 | await act(async () => {
34 | wrapper = mount(
> 35 | <RepositoryContext.Provider value={repo as any}>
36 | <UserSearchPanel />
37 | </RepositoryContext.Provider>,
38 | )
Rule: jsx-no-constructed-context-values
106 |
107 | return (
> 108 | <CurrentContentContext.Provider value={content as GenericContent}>{props.children}</CurrentContentContext.Provider>
109 | )
110 | }
111 |
Rule: jsx-no-constructed-context-values
99 | await act(async () => {
100 | wrapper = mount(
> 101 | <RepositoryContext.Provider value={mockRepository as any}>
102 | <CurrentChildrenProvider>
103 | <CurrentChildrenContext.Consumer>
104 | {(value) =>
Rule: jsx-no-constructed-context-values
28 | const wrapper = mount(
29 | <Theme>
> 30 | <JokesContext.Provider value={contextState as JokesContextState}>
31 | <JokeList />
32 | </JokesContext.Provider>
33 | </Theme>
|
Detected 18 ESLint reports and/or crashes. Click to expandRule: jsx-no-constructed-context-values
29 | const setReveal = (val: boolean) => (reveal = val);
30 | const { rerender } = render(
> 31 | <QuizContext.Provider value={mockStore as QuizStore}>
32 | <Answer answer={answer} reveal={reveal} setReveal={setReveal} />
33 | </QuizContext.Provider>
34 | );
Rule: jsx-no-constructed-context-values
14 | const mockStore = { categoryId: 1 };
15 | render(
> 16 | <QuizContext.Provider value={mockStore as QuizStore}>
17 | <CategorySelector categories={categories} />
18 | </QuizContext.Provider>
19 | );
Rule: jsx-no-constructed-context-values
9 | const mockStore = { difficulty: "easy" };
10 | render(
> 11 | <QuizContext.Provider value={mockStore as QuizStore}>
12 | <DifficultySelector />
13 | </QuizContext.Provider>
14 | );
Rule: jsx-no-constructed-context-values
36 | const stop = jest.fn();
37 | render(
> 38 | <QuizContext.Provider value={mockStore as QuizStore}>
39 | <Done stop={stop} />
40 | </QuizContext.Provider>
41 | );
Rule: jsx-no-constructed-context-values
9 | const mockStore = { quantity: 0 };
10 | render(
> 11 | <QuizContext.Provider value={mockStore as QuizStore}>
12 | <QuantitySelector />
13 | </QuizContext.Provider>
14 | );
Rule: jsx-no-constructed-context-values
30 | test("shows utf8 question from base64 source", async () => {
31 | render(
> 32 | <QuizContext.Provider value={mockStore as QuizStore}>
33 | <Question />
34 | </QuizContext.Provider>
35 | );
Rule: jsx-no-constructed-context-values
41 | const hookWrapper = (mockStore: any): FC => ({ children }) => {
42 | return (
> 43 | <QuizContext.Provider value={mockStore as QuizStore}>
44 | {children}
45 | </QuizContext.Provider>
46 | );
Rule: jsx-no-constructed-context-values
23 | }
24 | return () => (
> 25 | <AwardContext.Provider value={(ctx.award.initialState as any).award || {}}>
26 | <Loadable.Capture report={(moduleName: any) => ctx.award.modules.push(moduleName)}>
27 | <Component {...(ctx.award.initialState.award || {})} />
28 | </Loadable.Capture>
Rule: jsx-no-constructed-context-values
21 | return (
22 | <>
> 23 | <Context.Provider value={context as any}>{children}</Context.Provider>
24 | <div ref={modalRef as any} />
25 | </>
26 | );
Rule: jsx-no-constructed-context-values
34 | render(
35 | <MemoryRouter>
> 36 | <SessionContext.Provider value={(session as unknown) as Session}>
37 | <FragmentLineToVecRanking
38 | number={'X.0'}
39 | fragmentService={fragmentService}
Rule: jsx-no-constructed-context-values
648 | render(
649 | <Canvas>
> 650 | <stateContext.Provider value={sharedState.current as SharedCanvasContext}>
651 | {typeof children === 'function' ? children(state.current) : children}
652 | </stateContext.Provider>
653 | </Canvas>,
Rule: jsx-no-constructed-context-values
54 | };
55 |
> 56 | return <NotificationContext.Provider value={contextValue as NotificationContextType} {...props} />;
57 | };
58 |
59 | export { NotificationContext, NotificationContextProvider };
Rule: jsx-no-constructed-context-values
442 |
443 | return (
> 444 | <ScalerContext.Provider value={finalContext as any}>
445 | {children}
446 | </ScalerContext.Provider>
447 | );
Rule: jsx-no-constructed-context-values
191 | subscriptions,
192 | ])
> 193 | return <context.Provider value={api as ProviderContext}>{children}</context.Provider>
194 | }
195 |
Rule: jsx-no-constructed-context-values
138 | };
139 |
> 140 | return <globalContext.Provider value={globalContextData as GlobalContext}>{props.children}</globalContext.Provider>;
141 | };
142 |
143 | const wrapWithProvider = ({ element }: { element: React.ReactChildren }) => <Provider>{element}</Provider>;
Rule: jsx-no-constructed-context-values
17 | return React.useMemo(
18 | () => (
> 19 | <FormGlobalContext.Provider value={rest as FormContextValues}>
20 | {children}
21 | </FormGlobalContext.Provider>
22 | ),
Rule: jsx-no-constructed-context-values
26 | request={output.request}
27 | pendingRequest={output.pendingRequest}>
> 28 | <RouterContentContext.Provider value={content}>
29 | {children === undefined ? <Content /> : children}
30 | </RouterContentContext.Provider>
31 | </RouterProvider>
Rule: jsx-no-constructed-context-values
147 | <ApolloProvider client={client}>
148 | <MockedProvider mocks={queryMocks}>
> 149 | <ChatsContext.Provider value={mockedContextValue as any}>
150 | <ChatsMenu />
151 | </ChatsContext.Provider>
152 | </MockedProvider>
|
Detected 41 ESLint reports and/or crashes. Click to expandRule: jsx-no-constructed-context-values
26 | request={output.request}
27 | pendingRequest={output.pendingRequest}>
> 28 | <RouterContentContext.Provider value={content}>
29 | {children === undefined ? <Content /> : children}
30 | </RouterContentContext.Provider>
31 | </RouterProvider>
Rule: jsx-no-constructed-context-values
147 | <ApolloProvider client={client}>
148 | <MockedProvider mocks={queryMocks}>
> 149 | <ChatsContext.Provider value={mockedContextValue as any}>
150 | <ChatsMenu />
151 | </ChatsContext.Provider>
152 | </MockedProvider>
Rule: jsx-no-constructed-context-values
29 | const setReveal = (val: boolean) => (reveal = val);
30 | const { rerender } = render(
> 31 | <QuizContext.Provider value={mockStore as QuizStore}>
32 | <Answer answer={answer} reveal={reveal} setReveal={setReveal} />
33 | </QuizContext.Provider>
34 | );
Rule: jsx-no-constructed-context-values
14 | const mockStore = { categoryId: 1 };
15 | render(
> 16 | <QuizContext.Provider value={mockStore as QuizStore}>
17 | <CategorySelector categories={categories} />
18 | </QuizContext.Provider>
19 | );
Rule: jsx-no-constructed-context-values
9 | const mockStore = { difficulty: "easy" };
10 | render(
> 11 | <QuizContext.Provider value={mockStore as QuizStore}>
12 | <DifficultySelector />
13 | </QuizContext.Provider>
14 | );
Rule: jsx-no-constructed-context-values
36 | const stop = jest.fn();
37 | render(
> 38 | <QuizContext.Provider value={mockStore as QuizStore}>
39 | <Done stop={stop} />
40 | </QuizContext.Provider>
41 | );
Rule: jsx-no-constructed-context-values
9 | const mockStore = { quantity: 0 };
10 | render(
> 11 | <QuizContext.Provider value={mockStore as QuizStore}>
12 | <QuantitySelector />
13 | </QuizContext.Provider>
14 | );
Rule: jsx-no-constructed-context-values
30 | test("shows utf8 question from base64 source", async () => {
31 | render(
> 32 | <QuizContext.Provider value={mockStore as QuizStore}>
33 | <Question />
34 | </QuizContext.Provider>
35 | );
Rule: jsx-no-constructed-context-values
41 | const hookWrapper = (mockStore: any): FC => ({ children }) => {
42 | return (
> 43 | <QuizContext.Provider value={mockStore as QuizStore}>
44 | {children}
45 | </QuizContext.Provider>
46 | );
Rule: jsx-no-constructed-context-values
67 |
68 | return (
> 69 | <AddMessageContext.Provider value={addMessage as AddMessage<Message>}>
70 | <MessageQueueActionsContext.Provider value={actions}>
71 | <MessageVisibilityContext.Provider value={visible}>
72 | <MessageQueueContext.Provider value={queue}>
Rule: jsx-no-constructed-context-values
143 |
144 | return (
> 145 | <ParentContext.Provider value>
146 | <InheritContext.Provider value={inherit}>
147 | <Component
148 | {...remaining}
Rule: jsx-no-constructed-context-values
17 |
18 | const Context: FC = ({ children }) => (
> 19 | <InheritContext.Provider value>{children}</InheritContext.Provider>
20 | );
21 |
22 | const Test1 = () => {
Rule: jsx-no-constructed-context-values
106 | }
107 | return (
> 108 | <OrderContext.Provider value={orderValue as OrderState}>
109 | {children}
110 | </OrderContext.Provider>
111 | )
Rule: jsx-no-constructed-context-values
23 | }
24 | return () => (
> 25 | <AwardContext.Provider value={(ctx.award.initialState as any).award || {}}>
26 | <Loadable.Capture report={(moduleName: any) => ctx.award.modules.push(moduleName)}>
27 | <Component {...(ctx.award.initialState.award || {})} />
28 | </Loadable.Capture>
Rule: jsx-no-constructed-context-values
138 | };
139 |
> 140 | return <globalContext.Provider value={globalContextData as GlobalContext}>{props.children}</globalContext.Provider>;
141 | };
142 |
143 | const wrapWithProvider = ({ element }: { element: React.ReactChildren }) => <Provider>{element}</Provider>;
Rule: forbid-component-props
81 | {files.every(f => f.status === FileUploadStatuses.DONE) ? (
82 | <fbt desc="Amount of uploaded files">
> 83 | <fbt:param name="Total number of files" number={true}>
84 | {files.length}
85 | </fbt:param>
86 | Uploads Complete
Rule: jsx-no-constructed-context-values
49 | }));
50 | wrapper = mount(
> 51 | <ServiceContext.Provider value={mockServices as any}>
52 | <SnackbarProvider>
53 | <Verification/>
54 | </SnackbarProvider>
Rule: jsx-no-constructed-context-values
54 | };
55 |
> 56 | return <NotificationContext.Provider value={contextValue as NotificationContextType} {...props} />;
57 | };
58 |
59 | export { NotificationContext, NotificationContextProvider };
Rule: jsx-no-constructed-context-values
442 |
443 | return (
> 444 | <ScalerContext.Provider value={finalContext as any}>
445 | {children}
446 | </ScalerContext.Provider>
447 | );
Rule: jsx-no-constructed-context-values
97 | {...otherProps}
98 | >
> 99 | <CommandContext.Provider value={_reveal as boolean}>
100 | {!!container.content.length && <div className={classes.content}>{container.content}</div>}
101 | <div className={classes.primary}>
102 | {_reveal
Rule: jsx-no-constructed-context-values
40 | await act(async () => {
41 | wrapper = mount(
> 42 | <RepositoryContext.Provider value={repo as any}>
43 | <SharedContext.Provider value={shareobject}>
44 | <EditPropertiesDialogBody {...(testprops as any)} />
45 | </SharedContext.Provider>
Rule: jsx-no-constructed-context-values
33 | await act(async () => {
34 | wrapper = mount(
> 35 | <RepositoryContext.Provider value={repo as any}>
36 | <SharedContext.Provider value={shareobject as any}>
37 | <EventComponent {...(testprops as any)} />
38 | </SharedContext.Provider>
Rule: jsx-no-constructed-context-values
35 | wrapper = mount(
36 | <RepositoryContext.Provider value={repo}>
> 37 | <SharedContext.Provider value={shareobject as any}>
38 | <MainPanel />
39 | </SharedContext.Provider>
40 | </RepositoryContext.Provider>,
Rule: jsx-no-constructed-context-values
40 | await act(async () => {
41 | wrapper = mount(
> 42 | <RepositoryContext.Provider value={repo as any}>
43 | <SharedContext.Provider value={shareobject as any}>
44 | <NewDialogBody {...(testprops as any)} />
45 | </SharedContext.Provider>
Rule: jsx-no-constructed-context-values
57 | await act(async () => {
58 | wrapper = mount(
> 59 | <RepositoryContext.Provider value={repo as any}>
60 | <SharedContext.Provider value={shareobject as any}>
61 | <ViewDialogBody {...(testprops as any)} />
62 | </SharedContext.Provider>
Rule: jsx-no-constructed-context-values
29 | await act(async () => {
30 | wrapper = mount(
> 31 | <RepositoryContext.Provider value={repository as any}>
32 | <App />
33 | </RepositoryContext.Provider>,
34 | )
Rule: jsx-no-constructed-context-values
66 |
67 | const wrapper = mount(
> 68 | <RepositoryContext.Provider value={repository as any}>
69 | <DropFileArea {...testprop} />
70 | </RepositoryContext.Provider>,
71 | )
Rule: jsx-no-constructed-context-values
21 | }
22 | const wrapper = mount(
> 23 | <RepositoryContext.Provider value={repository as any}>
24 | <UploadControll {...testprop} />
25 | </RepositoryContext.Provider>,
26 | )
Rule: jsx-no-constructed-context-values
22 | await act(async () => {
23 | wrapper = mount(
> 24 | <RepositoryContext.Provider value={repository as any}>
25 | <App />
26 | </RepositoryContext.Provider>,
27 | )
Rule: jsx-no-constructed-context-values
33 | await act(async () => {
34 | wrapper = mount(
> 35 | <RepositoryContext.Provider value={repo as any}>
36 | <UserSearchPanel />
37 | </RepositoryContext.Provider>,
38 | )
Rule: jsx-no-constructed-context-values
106 |
107 | return (
> 108 | <CurrentContentContext.Provider value={content as GenericContent}>{props.children}</CurrentContentContext.Provider>
109 | )
110 | }
111 |
Rule: jsx-no-constructed-context-values
99 | await act(async () => {
100 | wrapper = mount(
> 101 | <RepositoryContext.Provider value={mockRepository as any}>
102 | <CurrentChildrenProvider>
103 | <CurrentChildrenContext.Consumer>
104 | {(value) =>
Rule: jsx-no-constructed-context-values
21 | return (
22 | <>
> 23 | <Context.Provider value={context as any}>{children}</Context.Provider>
24 | <div ref={modalRef as any} />
25 | </>
26 | );
Rule: jsx-no-constructed-context-values
140 |
141 | return (
> 142 | <BannerContext.Provider value>
143 | <div
144 | className={className}
145 | // eslint-disable-next-line jsx-a11y/no-noninteractive-tabindex
Rule: jsx-no-constructed-context-values
180 |
181 | const bannerWithContentContext = mountWithAppProvider(
> 182 | <WithinContentContext.Provider value>
183 | <Banner
184 | action={{
185 | content: 'Primary action',
Rule: jsx-no-constructed-context-values
119 |
120 | return (
> 121 | <WithinContentContext.Provider value>
122 | <div className={className}>
123 | {headerMarkup}
124 | {content}
Rule: jsx-no-constructed-context-values
45 | it('renders a medium button when in a content context', () => {
46 | const emptyStateInContentContext = mountWithAppProvider(
> 47 | <WithinContentContext.Provider value>
48 | <EmptyState image={imgSrc} action={{content: 'Upload files'}} />
49 | </WithinContentContext.Provider>,
50 | );
Rule: jsx-no-constructed-context-values
435 |
436 | return (
> 437 | <WithinFilterContext.Provider value>
438 | <div className={styles.Filters}>
439 | {filtersControlMarkup}
440 | {filtersContainerMarkup}
Rule: jsx-no-constructed-context-values
199 |
200 | return (
> 201 | <WithinContentContext.Provider value>
202 | {activatorMarkup}
203 | <Portal idPrefix="modal">
204 | <TransitionGroup appear={animated} enter={animated} exit={animated}>
Rule: jsx-no-constructed-context-values
61 | return (
62 | <NavigationContext.Provider value={context}>
> 63 | <WithinContentContext.Provider value>
64 | <nav className={styles.Navigation}>
65 | {mediaMarkup}
66 | <Scrollable className={styles.PrimaryNavigation}>
Rule: jsx-no-constructed-context-values
191 | subscriptions,
192 | ])
> 193 | return <context.Provider value={api as ProviderContext}>{children}</context.Provider>
194 | }
195 |
|
Detected 21 ESLint reports and/or crashes. Click to expandRule: jsx-no-constructed-context-values
140 |
141 | return (
> 142 | <BannerContext.Provider value>
143 | <div
144 | className={className}
145 | // eslint-disable-next-line jsx-a11y/no-noninteractive-tabindex
Rule: jsx-no-constructed-context-values
180 |
181 | const bannerWithContentContext = mountWithAppProvider(
> 182 | <WithinContentContext.Provider value>
183 | <Banner
184 | action={{
185 | content: 'Primary action',
Rule: jsx-no-constructed-context-values
119 |
120 | return (
> 121 | <WithinContentContext.Provider value>
122 | <div className={className}>
123 | {headerMarkup}
124 | {content}
Rule: jsx-no-constructed-context-values
45 | it('renders a medium button when in a content context', () => {
46 | const emptyStateInContentContext = mountWithAppProvider(
> 47 | <WithinContentContext.Provider value>
48 | <EmptyState image={imgSrc} action={{content: 'Upload files'}} />
49 | </WithinContentContext.Provider>,
50 | );
Rule: jsx-no-constructed-context-values
435 |
436 | return (
> 437 | <WithinFilterContext.Provider value>
438 | <div className={styles.Filters}>
439 | {filtersControlMarkup}
440 | {filtersContainerMarkup}
Rule: jsx-no-constructed-context-values
199 |
200 | return (
> 201 | <WithinContentContext.Provider value>
202 | {activatorMarkup}
203 | <Portal idPrefix="modal">
204 | <TransitionGroup appear={animated} enter={animated} exit={animated}>
Rule: jsx-no-constructed-context-values
61 | return (
62 | <NavigationContext.Provider value={context}>
> 63 | <WithinContentContext.Provider value>
64 | <nav className={styles.Navigation}>
65 | {mediaMarkup}
66 | <Scrollable className={styles.PrimaryNavigation}>
Rule: jsx-max-depth
79 | if (localStorage.getItem(firebaseAuthKey) === '1')
80 | return <Splashscreen t={t} i18n={i18n}/>;
> 81 | return <LoginPage handleGoogleLogin={this.handleGoogleLogin} t={t} i18n={i18n} options={options} handleChange={this.handleChange} selectedOption={selectedOption} selectedOptionState={this.state.selectedOption}/>;
82 | }
83 | }
84 |
Rule: jsx-no-constructed-context-values
17 | return React.useMemo(
18 | () => (
> 19 | <FormGlobalContext.Provider value={rest as FormContextValues}>
20 | {children}
21 | </FormGlobalContext.Provider>
22 | ),
Rule: forbid-component-props
81 | {files.every(f => f.status === FileUploadStatuses.DONE) ? (
82 | <fbt desc="Amount of uploaded files">
> 83 | <fbt:param name="Total number of files" number={true}>
84 | {files.length}
85 | </fbt:param>
86 | Uploads Complete
Rule: jsx-no-constructed-context-values
648 | render(
649 | <Canvas>
> 650 | <stateContext.Provider value={sharedState.current as SharedCanvasContext}>
651 | {typeof children === 'function' ? children(state.current) : children}
652 | </stateContext.Provider>
653 | </Canvas>,
Rule: jsx-no-constructed-context-values
72 |
73 | return (
> 74 | <HostDialogsContext.Provider value={context as HostDialogsContextType}>
75 | {children}
76 | </HostDialogsContext.Provider>
77 | );
Rule: jsx-no-constructed-context-values
28 | const wrapper = mount(
29 | <Theme>
> 30 | <JokesContext.Provider value={contextState as JokesContextState}>
31 | <JokeList />
32 | </JokesContext.Provider>
33 | </Theme>
Rule: jsx-no-constructed-context-values
67 |
68 | return (
> 69 | <AddMessageContext.Provider value={addMessage as AddMessage<Message>}>
70 | <MessageQueueActionsContext.Provider value={actions}>
71 | <MessageVisibilityContext.Provider value={visible}>
72 | <MessageQueueContext.Provider value={queue}>
Rule: jsx-no-constructed-context-values
143 |
144 | return (
> 145 | <ParentContext.Provider value>
146 | <InheritContext.Provider value={inherit}>
147 | <Component
148 | {...remaining}
Rule: jsx-no-constructed-context-values
17 |
18 | const Context: FC = ({ children }) => (
> 19 | <InheritContext.Provider value>{children}</InheritContext.Provider>
20 | );
21 |
22 | const Test1 = () => {
Rule: jsx-no-constructed-context-values
23 | }
24 | return () => (
> 25 | <AwardContext.Provider value={(ctx.award.initialState as any).award || {}}>
26 | <Loadable.Capture report={(moduleName: any) => ctx.award.modules.push(moduleName)}>
27 | <Component {...(ctx.award.initialState.award || {})} />
28 | </Loadable.Capture>
Rule: jsx-no-constructed-context-values
442 |
443 | return (
> 444 | <ScalerContext.Provider value={finalContext as any}>
445 | {children}
446 | </ScalerContext.Provider>
447 | );
Rule: jsx-no-constructed-context-values
97 | {...otherProps}
98 | >
> 99 | <CommandContext.Provider value={_reveal as boolean}>
100 | {!!container.content.length && <div className={classes.content}>{container.content}</div>}
101 | <div className={classes.primary}>
102 | {_reveal
Rule: jsx-max-depth
20 | <Fade in={isOpen}>
21 | <DialogContent>
> 22 | <Icon icon="cancel" onClick={onClose} popoverText="Close Modal" />
23 | <div className="modal_content">{children}</div>
24 | <div className={clxs('modal_buttons', classes.buttons)}>
25 | <Button className="modal_buttons--cancel" onClick={onCancel}>
Rule: jsx-no-constructed-context-values
106 | }
107 | return (
> 108 | <OrderContext.Provider value={orderValue as OrderState}>
109 | {children}
110 | </OrderContext.Provider>
111 | )
|
Detected 24 ESLint reports and/or crashes. Click to expandRule: jsx-no-constructed-context-values
97 | {...otherProps}
98 | >
> 99 | <CommandContext.Provider value={_reveal as boolean}>
100 | {!!container.content.length && <div className={classes.content}>{container.content}</div>}
101 | <div className={classes.primary}>
102 | {_reveal
Rule: jsx-no-constructed-context-values
33 |
34 | return (
> 35 | <LoginDispatchContext.Provider value={dispatch as LoginDispatch}>
36 | <LoginStateContext.Provider value={state}>
37 | {children}
38 | </LoginStateContext.Provider>
Rule: jsx-no-constructed-context-values
21 | return (
22 | <>
> 23 | <Context.Provider value={context as any}>{children}</Context.Provider>
24 | <div ref={modalRef as any} />
25 | </>
26 | );
Rule: jsx-no-constructed-context-values
40 | await act(async () => {
41 | wrapper = mount(
> 42 | <RepositoryContext.Provider value={repo as any}>
43 | <SharedContext.Provider value={shareobject}>
44 | <EditPropertiesDialogBody {...(testprops as any)} />
45 | </SharedContext.Provider>
Rule: jsx-no-constructed-context-values
33 | await act(async () => {
34 | wrapper = mount(
> 35 | <RepositoryContext.Provider value={repo as any}>
36 | <SharedContext.Provider value={shareobject as any}>
37 | <EventComponent {...(testprops as any)} />
38 | </SharedContext.Provider>
Rule: jsx-no-constructed-context-values
35 | wrapper = mount(
36 | <RepositoryContext.Provider value={repo}>
> 37 | <SharedContext.Provider value={shareobject as any}>
38 | <MainPanel />
39 | </SharedContext.Provider>
40 | </RepositoryContext.Provider>,
Rule: jsx-no-constructed-context-values
40 | await act(async () => {
41 | wrapper = mount(
> 42 | <RepositoryContext.Provider value={repo as any}>
43 | <SharedContext.Provider value={shareobject as any}>
44 | <NewDialogBody {...(testprops as any)} />
45 | </SharedContext.Provider>
Rule: jsx-no-constructed-context-values
57 | await act(async () => {
58 | wrapper = mount(
> 59 | <RepositoryContext.Provider value={repo as any}>
60 | <SharedContext.Provider value={shareobject as any}>
61 | <ViewDialogBody {...(testprops as any)} />
62 | </SharedContext.Provider>
Rule: jsx-no-constructed-context-values
30 | await act(async () => {
31 | wrapper = mount(
> 32 | <RepositoryContext.Provider value={repository as any}>
33 | <App />
34 | </RepositoryContext.Provider>,
35 | )
Rule: jsx-no-constructed-context-values
66 |
67 | const wrapper = mount(
> 68 | <RepositoryContext.Provider value={repository as any}>
69 | <DropFileArea {...testprop} />
70 | </RepositoryContext.Provider>,
71 | )
Rule: jsx-no-constructed-context-values
21 | }
22 | const wrapper = mount(
> 23 | <RepositoryContext.Provider value={repository as any}>
24 | <UploadControll {...testprop} />
25 | </RepositoryContext.Provider>,
26 | )
Rule: jsx-no-constructed-context-values
22 | await act(async () => {
23 | wrapper = mount(
> 24 | <RepositoryContext.Provider value={repository as any}>
25 | <App />
26 | </RepositoryContext.Provider>,
27 | )
Rule: jsx-no-constructed-context-values
33 | await act(async () => {
34 | wrapper = mount(
> 35 | <RepositoryContext.Provider value={repo as any}>
36 | <UserSearchPanel />
37 | </RepositoryContext.Provider>,
38 | )
Rule: jsx-no-constructed-context-values
106 |
107 | return (
> 108 | <CurrentContentContext.Provider value={content as GenericContent}>{props.children}</CurrentContentContext.Provider>
109 | )
110 | }
111 |
Rule: jsx-no-constructed-context-values
99 | await act(async () => {
100 | wrapper = mount(
> 101 | <RepositoryContext.Provider value={mockRepository as any}>
102 | <CurrentChildrenProvider>
103 | <CurrentChildrenContext.Consumer>
104 | {(value) =>
Rule: jsx-max-depth
79 | if (localStorage.getItem(firebaseAuthKey) === '1')
80 | return <Splashscreen t={t} i18n={i18n}/>;
> 81 | return <LoginPage handleGoogleLogin={this.handleGoogleLogin} t={t} i18n={i18n} options={options} handleChange={this.handleChange} selectedOption={selectedOption} selectedOptionState={this.state.selectedOption}/>;
82 | }
83 | }
84 |
Rule: jsx-no-constructed-context-values
46 | const [funds, dispatch] = useReducer(reducer, { currencies }, init)
47 | return (
> 48 | <DispatchContext.Provider value={dispatch as () => void}>
49 | <FundsContext.Provider value={funds}>{children}</FundsContext.Provider>
50 | </DispatchContext.Provider>
51 | )
Rule: jsx-no-constructed-context-values
28 | const wrapper = mount(
29 | <Theme>
> 30 | <JokesContext.Provider value={contextState as JokesContextState}>
31 | <JokeList />
32 | </JokesContext.Provider>
33 | </Theme>
Rule: jsx-no-constructed-context-values
138 | };
139 |
> 140 | return <globalContext.Provider value={globalContextData as GlobalContext}>{props.children}</globalContext.Provider>;
141 | };
142 |
143 | const wrapWithProvider = ({ element }: { element: React.ReactChildren }) => <Provider>{element}</Provider>;
Rule: jsx-no-constructed-context-values
23 | {
24 | wrapper: ({ children }) => (
> 25 | <GlueContext.Provider value={mockedGlue as any}>
26 | {children}
27 | </GlueContext.Provider>
28 | ),
Rule: jsx-no-constructed-context-values
23 | }
24 | return () => (
> 25 | <AwardContext.Provider value={(ctx.award.initialState as any).award || {}}>
26 | <Loadable.Capture report={(moduleName: any) => ctx.award.modules.push(moduleName)}>
27 | <Component {...(ctx.award.initialState.award || {})} />
28 | </Loadable.Capture>
Rule: jsx-no-constructed-context-values
107 | }
108 | return (
> 109 | <OrderContext.Provider value={orderValue as OrderState}>
110 | {children}
111 | </OrderContext.Provider>
112 | )
Rule: forbid-component-props
81 | {files.every(f => f.status === FileUploadStatuses.DONE) ? (
82 | <fbt desc="Amount of uploaded files">
> 83 | <fbt:param name="Total number of files" number={true}>
84 | {files.length}
85 | </fbt:param>
86 | Uploads Complete
Rule: forbid-component-props
48 | <div className={styles('stats')}>
49 | <fbt desc="summary of selected items in POS">
> 50 | <fbt:param name="totalSelectedItems">{stats.totalSelectedItems}</fbt:param> items for{' '}
51 | <fbt:param name="totalPrice">
52 | <Money priceUnitAmount={stats.totalPrice} priceUnitAmountCurrency="MXN" />
53 | </fbt:param>
|
Detected 1 ESLint reports and/or crashes. Click to expandRule: jsx-max-depth
20 | <Fade in={isOpen}>
21 | <DialogContent>
> 22 | <Icon icon="cancel" onClick={onClose} popoverText="Close Modal" />
23 | <div className="modal_content">{children}</div>
24 | <div className={clxs('modal_buttons', classes.buttons)}>
25 | <Button className="modal_buttons--cancel" onClick={onCancel}>
|
I can reproduce this failure, but can't figure out how to fix it. |
Detected 3 ESLint reports and/or crashes. Click to expandRule: forbid-component-props
14 | <fbt desc="Rule number 1">
15 | Be careful when entering the café so that the cats do not run away.{' '}
> 16 | <fbt:param name="pleading face emoji">
17 | <Emoji
18 | symbol="🥺"
19 | label={<fbt desc="pleading face emoji description">pleading face</fbt>}
Rule: forbid-component-props
48 | <div className={styles('stats')}>
49 | <fbt desc="summary of selected items in POS">
> 50 | <fbt:param name="totalSelectedItems">{stats.totalSelectedItems}</fbt:param> items for{' '}
51 | <fbt:param name="totalPrice">
52 | <Money priceUnitAmount={stats.totalPrice} priceUnitAmountCurrency="MXN" />
53 | </fbt:param>
Rule: jsx-max-depth
79 | if (localStorage.getItem(firebaseAuthKey) === '1')
80 | return <Splashscreen t={t} i18n={i18n}/>;
> 81 | return <LoginPage handleGoogleLogin={this.handleGoogleLogin} t={t} i18n={i18n} options={options} handleChange={this.handleChange} selectedOption={selectedOption} selectedOptionState={this.state.selectedOption}/>;
82 | }
83 | }
84 |
|
Detected 3 ESLint reports and/or crashes. Click to expandRule: jsx-max-depth
20 | <Fade in={isOpen}>
21 | <DialogContent>
> 22 | <Icon icon="cancel" onClick={onClose} popoverText="Close Modal" />
23 | <div className="modal_content">{children}</div>
24 | <div className={clxs('modal_buttons', classes.buttons)}>
25 | <Button className="modal_buttons--cancel" onClick={onCancel}>
Rule: jsx-max-depth
79 | if (localStorage.getItem(firebaseAuthKey) === '1')
80 | return <Splashscreen t={t} i18n={i18n}/>;
> 81 | return <LoginPage handleGoogleLogin={this.handleGoogleLogin} t={t} i18n={i18n} options={options} handleChange={this.handleChange} selectedOption={selectedOption} selectedOptionState={this.state.selectedOption}/>;
82 | }
83 | }
84 |
Rule: forbid-component-props
81 | {files.every(f => f.status === FileUploadStatuses.DONE) ? (
82 | <fbt desc="Amount of uploaded files">
> 83 | <fbt:param name="Total number of files" number={true}>
84 | {files.length}
85 | </fbt:param>
86 | Uploads Complete
|
The only outstanding issues should now be the jsx-max-depth ones. |
Based on the Note that this repository is always running against the latest published release. @ljharb if you are interested I can setup PR in the |
That would be amazing, thanks. |
Latest run was successful https://github.com/AriPerkkio/eslint-remote-tester/actions/runs/751268458. |
Detected 28 ESLint reports and/or crashes.
Click to expand
Rule: jsx-no-constructed-context-values
Cannot read property 'set' of undefined Occurred while linting <text>:51
s1seven/verification-service/frontend/src/test/components/Components/Verification.test.tsx
Rule: jsx-no-constructed-context-values
Cannot read property 'set' of undefined Occurred while linting <text>:56
frontegg/opensaas/frontend/src/Components/NotificationContext.tsx
Rule: jsx-no-constructed-context-values
Cannot read property 'set' of undefined Occurred while linting <text>:149
WojciechMatuszewski/PartyPlanner/src/__tests__/ChatsMenu.test.tsx
Rule: jsx-no-constructed-context-values
Cannot read property 'set' of undefined Occurred while linting <text>:35
MaxKalashnyk/apollo-ts-test-app/src/contexts/Login/Login.tsx
Rule: jsx-no-constructed-context-values
Cannot read property 'set' of undefined Occurred while linting <text>:48
leonardodino/forex-web-app/src/hooks/pockets.tsx
Rule: jsx-no-constructed-context-values
Cannot read property 'set' of undefined Occurred while linting <text>:69
mlaursen/react-md/packages/alert/src/MessageQueue.tsx
Rule: jsx-no-constructed-context-values
Cannot read property 'type' of null Occurred while linting <text>:145
mlaursen/react-md/packages/app-bar/src/AppBar.tsx
Rule: jsx-no-constructed-context-values
Cannot read property 'type' of null Occurred while linting <text>:19
mlaursen/react-md/packages/app-bar/src/__tests__/useInheritContext.tsx
Rule: jsx-no-constructed-context-values
Cannot read property 'set' of undefined Occurred while linting <text>:30
Menchynskyi/chuck-joke/src/components/JokeList/JokeList.test.tsx
Rule: jsx-no-constructed-context-values
Cannot read property 'set' of undefined Occurred while linting <text>:28
jamesknelson/react-routing-library/src/components/routingProvider.tsx
Rule: jsx-no-constructed-context-values
Cannot read property 'set' of undefined Occurred while linting <text>:36
ElectronicBabylonianLiterature/ebl-frontend/src/fragmentarium/ui/line-to-vec/FragmentLineToVecRanking.test.tsx
Rule: jsx-no-constructed-context-values
Cannot read property 'set' of undefined Occurred while linting <text>:140
rishavanand/github-profilinator/src/context/GlobalContextProvider.tsx
Rule: jsx-no-constructed-context-values
Cannot read property 'set' of undefined Occurred while linting <text>:19
ptnewman99/forms/src/useFormContext.tsx
Rule: jsx-max-depth
Maximum call stack size exceeded Occurred while linting <text>:22
Devorein/Qocean/client/src/components/Modal/WarnModal.jsx
Rule: jsx-no-constructed-context-values
Cannot read property 'set' of undefined Occurred while linting <text>:42
SenseNet/sn-client/examples/sn-react-calendar/test/edit-dialog-body.test.tsx
Rule: jsx-no-constructed-context-values
Cannot read property 'set' of undefined Occurred while linting <text>:35
SenseNet/sn-client/examples/sn-react-calendar/test/event.test.tsx
Rule: jsx-no-constructed-context-values
Cannot read property 'set' of undefined Occurred while linting <text>:37
SenseNet/sn-client/examples/sn-react-calendar/test/mainpanel.test.tsx
Rule: jsx-no-constructed-context-values
Cannot read property 'set' of undefined Occurred while linting <text>:42
SenseNet/sn-client/examples/sn-react-calendar/test/new-dialog-body.test.tsx
Rule: jsx-no-constructed-context-values
Cannot read property 'set' of undefined Occurred while linting <text>:59
SenseNet/sn-client/examples/sn-react-calendar/test/view-dialog-body.test.tsx
Rule: jsx-no-constructed-context-values
Cannot read property 'set' of undefined Occurred while linting <text>:31
SenseNet/sn-client/examples/sn-react-imagegallery/test/app.test.tsx
Rule: jsx-no-constructed-context-values
Cannot read property 'set' of undefined Occurred while linting <text>:68
SenseNet/sn-client/examples/sn-react-imageupload/test/DropFileArea.test.tsx
Rule: jsx-no-constructed-context-values
Cannot read property 'set' of undefined Occurred while linting <text>:23
SenseNet/sn-client/examples/sn-react-imageupload/test/UploadControll.test.tsx
Rule: jsx-no-constructed-context-values
Cannot read property 'set' of undefined Occurred while linting <text>:24
SenseNet/sn-client/examples/sn-react-imageupload/test/app.test.tsx
Rule: jsx-no-constructed-context-values
Cannot read property 'set' of undefined Occurred while linting <text>:35
SenseNet/sn-client/examples/sn-react-usersearch/test/user-search.test.tsx
Rule: jsx-no-constructed-context-values
Cannot read property 'set' of undefined Occurred while linting <text>:108
SenseNet/sn-client/packages/sn-hooks-react/src/context/current-content.tsx
Rule: jsx-no-constructed-context-values
Cannot read property 'set' of undefined Occurred while linting <text>:101
SenseNet/sn-client/packages/sn-hooks-react/test/current-children.test.tsx
Rule: jsx-no-constructed-context-values
Cannot read property 'set' of undefined Occurred while linting <text>:74
openshift-assisted/assisted-ui-lib/src/components/hosts/HostDialogsContext.tsx
Rule: jsx-no-constructed-context-values
Cannot read property 'set' of undefined Occurred while linting <text>:650
pmndrs/react-three-fiber/src/canvas.tsx
The text was updated successfully, but these errors were encountered: