From 889a93b0ba91675b6a2fc624747da0fedac3bb1d Mon Sep 17 00:00:00 2001 From: mainframev Date: Thu, 2 Jan 2025 22:36:47 +0100 Subject: [PATCH] chore(gulp): use LegacyESLint --- scripts/gulp/src/plugins/gulp-example-source.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/gulp/src/plugins/gulp-example-source.ts b/scripts/gulp/src/plugins/gulp-example-source.ts index 4d94712da54d3a..af0d43884db100 100644 --- a/scripts/gulp/src/plugins/gulp-example-source.ts +++ b/scripts/gulp/src/plugins/gulp-example-source.ts @@ -1,5 +1,5 @@ import * as Babel from '@babel/core'; -import { ESLint } from 'eslint'; +import { LegacyESLint as ESLint } from 'eslint/use-at-your-own-risk'; import gutil from 'gulp-util'; import prettier from 'prettier'; import through from 'through2'; @@ -12,6 +12,7 @@ import { ExampleSource } from './util/docs-types'; const prettierConfig = require('../../../../prettier.config'); +// eslint-disable-next-line @typescript-eslint/no-deprecated const eslint = new ESLint({ fix: true, });