Skip to content

Commit 959321b

Browse files
committed
Fix lint errors
1 parent e7ec4d9 commit 959321b

File tree

4 files changed

+4
-1
lines changed

4 files changed

+4
-1
lines changed

.storybook/main.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
const { readFileSync } = require('fs');
2121
const webpack = require('webpack');
2222
const CircularDependencyPlugin = require('circular-dependency-plugin');
23-
// eslint-disable-next-line node/no-missing-require
23+
// eslint-disable-next-line n/no-missing-require
2424
const { loadCsf } = require('storybook/internal/csf-tools');
2525

2626
/** @type { import('@storybook/react-webpack5').StorybookConfig } */

packages/e2e-tests/src/config/bootstrap.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,7 @@ function observeConsoleLogging() {
250250
}
251251

252252
async function clearSessionStorage() {
253+
// eslint-disable-next-line n/no-unsupported-features/node-builtins
253254
await page.evaluate(() => window.sessionStorage.clear());
254255
}
255256

packages/fonts/scripts/utils/buildFonts.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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) {

packages/fonts/scripts/utils/getFontMetrics.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ function getTmpFileName() {
4747
* @return Font metrics.
4848
*/
4949
async 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();

0 commit comments

Comments
 (0)