Skip to content

Commit d01ccba

Browse files
committed
fix: ignore styleText builtin violation because it is present as experimental in 22.12 without needing a cli flag
1 parent 2c97a73 commit d01ccba

File tree

1 file changed

+1
-0
lines changed
  • packages/vite-plugin-svelte/src/utils

1 file changed

+1
-0
lines changed

packages/vite-plugin-svelte/src/utils/log.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/* eslint-disable no-console */
22

3+
// eslint-disable-next-line n/no-unsupported-features/node-builtins
34
import { styleText } from 'node:util';
45
const cyan = (/** @type {string} */ txt) => styleText('cyan', txt);
56
const yellow = (/** @type {string} */ txt) => styleText('yellow', txt);

0 commit comments

Comments
 (0)