chore: remove react-syntax-highlighter leftovers (#213076)

## Summary

Removes leftovers of react-syntax-highlighter removed in [this
PR](https://github.com/elastic/kibana/pull/204902)
This commit is contained in:
Sergi Romeu 2025-03-04 15:35:34 +01:00 committed by GitHub
parent a16dc711fb
commit b2dd88ec55
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 0 additions and 35 deletions

View file

@ -3670,25 +3670,6 @@
"minimumReleaseAge": "7 days",
"enabled": true
},
{
"groupName": "react-syntax-highlighter",
"matchDepNames": [
"react-syntax-highlighter",
"@types/react-syntax-highlighter"
],
"reviewers": [
"team:obs-ux-infra_services-team"
],
"matchBaseBranches": [
"main"
],
"labels": [
"release_note:skip",
"backport:all-open"
],
"minimumReleaseAge": "7 days",
"enabled": true
},
{
"groupName": "native-hdr-histogram",
"matchDepNames": [

View file

@ -10,14 +10,6 @@
// Storybook react doesn't declare this in its typings, but it's there.
declare module '@storybook/react/standalone';
// Storybook references this module. It's @ts-ignored in the codebase but when
// built into its dist it strips that out. Add it here to avoid a type checking
// error.
//
// See https://github.com/storybookjs/storybook/issues/11684
declare module 'react-syntax-highlighter/dist/cjs/create-element';
declare module 'react-syntax-highlighter/dist/cjs/prism-light';
// Storybook uses this module and its types are defined in the source but not in the type output
declare module 'file-system-cache' {
interface Options {

8
typings/index.d.ts vendored
View file

@ -9,13 +9,5 @@
declare module 'axios/lib/adapters/xhr';
// Storybook references this module. It's @ts-ignored in the codebase but when
// built into its dist it strips that out. Add it here to avoid a type checking
// error.
//
// See https://github.com/storybookjs/storybook/issues/11684
declare module 'react-syntax-highlighter/dist/cjs/create-element';
declare module 'react-syntax-highlighter/dist/cjs/prism-light';
declare module 'find-cypress-specs';
declare module '@cypress/grep/src/plugin';