Skip to content

Commit 8e7be42

Browse files
committed
chore: ignore lint error about 'util.styleText' experimental feature
1 parent 212b0b2 commit 8e7be42

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

tasks/api-usage-analyze.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
import path from 'node:path';
2+
// todo: remove that when we use a version of Node.js >= 23.5.0 (we can ignore because the feature was backported to version 22.13.0)
3+
// eslint-disable-next-line n/no-unsupported-features/node-builtins
24
import { styleText } from 'node:util';
35
import { globSync } from 'tinyglobby';
46
import { getApiCalls, sortAndGroupByCall } from './lib/api-analyze.js';

tasks/endpoints-analyze.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
*/
44
import fs from 'fs-extra';
55
import path from 'node:path';
6+
// todo: remove that when we use a version of Node.js >= 23.5.0 (we can ignore because the feature was backported to version 22.13.0)
7+
// eslint-disable-next-line n/no-unsupported-features/node-builtins
68
import { styleText } from 'node:util';
79
import { SOURCES, WORKING_DIR } from './lib/config.js';
810
import { compareEndpoints, generateJsonReport, generateMarkdownReport } from './lib/endpoint-compare.js';

tasks/endpoints-generate.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
*/
44
import fs from 'node:fs';
55
import path from 'node:path';
6+
// todo: remove that when we use a version of Node.js >= 23.5.0 (we can ignore because the feature was backported to version 22.13.0)
7+
// eslint-disable-next-line n/no-unsupported-features/node-builtins
68
import { styleText } from 'node:util';
79
import { SOURCES, SRC_DIR, WORKING_DIR } from './lib/config.js';
810
import { generateCommand } from './lib/endpoint-generate.js';

tasks/endpoints-list.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
*/
44
import fs from 'fs-extra';
55
import path from 'node:path';
6+
// todo: remove that when we use a version of Node.js >= 23.5.0 (we can ignore because the feature was backported to version 22.13.0)
7+
// eslint-disable-next-line n/no-unsupported-features/node-builtins
68
import { styleText } from 'node:util';
79
import { SOURCES, WORKING_DIR } from './lib/config.js';
810
import { flattenEndpointsBySourceTarget, parseCommandsList, storeCommandsList } from './lib/endpoint-list.js';

0 commit comments

Comments
 (0)