Merge pull request #32516 from backstage/freben/nodecolon

Add a rule for the use of `node:` prefix on native imports
This commit is contained in:
Fredrik Adelöw
2026-01-27 14:17:14 +01:00
committed by GitHub
444 changed files with 749 additions and 634 deletions
@@ -38,7 +38,7 @@ import {
} from '@backstage/plugin-search-backend-node';
import { Config } from '@backstage/config';
import { InputError } from '@backstage/errors';
import { Writable } from 'stream';
import { Writable } from 'node:stream';
import { AuthService, PermissionsService } from '@backstage/backend-plugin-api';
export function decodePageCursor(pageCursor?: string): { page: number } {
@@ -24,7 +24,7 @@ import express from 'express';
import request from 'supertest';
import { createRouter } from './router';
import { wrapServer } from '@backstage/backend-openapi-utils/testUtils';
import { Server } from 'http';
import { Server } from 'node:http';
import {
mockCredentials,
mockErrorHandler,