File tree Expand file tree Collapse file tree 4 files changed +4
-1
lines changed
Expand file tree Collapse file tree 4 files changed +4
-1
lines changed Original file line number Diff line number Diff line change 2020const { readFileSync } = require ( 'fs' ) ;
2121const webpack = require ( 'webpack' ) ;
2222const CircularDependencyPlugin = require ( 'circular-dependency-plugin' ) ;
23- // eslint-disable-next-line node /no-missing-require
23+ // eslint-disable-next-line n /no-missing-require
2424const { loadCsf } = require ( 'storybook/internal/csf-tools' ) ;
2525
2626/** @type { import('@storybook/react-webpack5').StorybookConfig } */
Original file line number Diff line number Diff line change @@ -250,6 +250,7 @@ function observeConsoleLogging() {
250250}
251251
252252async function clearSessionStorage ( ) {
253+ // eslint-disable-next-line n/no-unsupported-features/node-builtins
253254 await page . evaluate ( ( ) => window . sessionStorage . clear ( ) ) ;
254255}
255256
Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ async function buildFonts(targetFile: string) {
4040 url . searchParams . append ( 'prettyPrint' , 'false' ) ;
4141 url . searchParams . append ( 'key' , process . env . GOOGLE_FONTS_API_KEY ?? '' ) ;
4242
43+ // eslint-disable-next-line n/no-unsupported-features/node-builtins
4344 const response = await fetch ( url . toString ( ) ) ;
4445
4546 if ( ! response . ok ) {
Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ function getTmpFileName() {
4747 * @return Font metrics.
4848 */
4949async function getFontMetrics ( fontFileURL : string ) {
50+ // eslint-disable-next-line n/no-unsupported-features/node-builtins
5051 const response = await fetch ( fontFileURL ) ;
5152
5253 const tempFile = getTmpFileName ( ) ;
You can’t perform that action at this time.
0 commit comments