Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 0 additions & 21 deletions apps/api-extractor/.eslintrc.js

This file was deleted.

21 changes: 21 additions & 0 deletions apps/api-extractor/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.

const nodeTrustedToolProfile = require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool');
const friendlyLocalsMixin = require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals');

module.exports = [
...nodeTrustedToolProfile,
...friendlyLocalsMixin,
{
files: ['**/*.ts', '**/*.tsx'],
languageOptions: {
parserOptions: {
tsconfigRootDir: __dirname
}
},
rules: {
'no-console': 'off'
}
}
];
5 changes: 3 additions & 2 deletions apps/api-extractor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,13 @@
"typescript": "5.8.2"
},
"devDependencies": {
"decoupled-local-node-rig": "workspace:*",
"@rushstack/heft": "0.73.2",
"@rushstack/heft": "0.74.0",
"@types/lodash": "4.14.116",
"@types/minimatch": "3.0.5",
"@types/resolve": "1.20.2",
"@types/semver": "7.5.0",
"decoupled-local-node-rig": "workspace:*",
"eslint": "~9.25.1",
"local-eslint-config": "workspace:*"
}
}
2 changes: 1 addition & 1 deletion apps/api-extractor/src/analyzer/TypeScriptInternals.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export class TypeScriptInternals {
public static getImmediateAliasedSymbol(symbol: ts.Symbol, typeChecker: ts.TypeChecker): ts.Symbol {
// Compiler internal:
// https://github.com/microsoft/TypeScript/blob/v3.2.2/src/compiler/checker.ts
return (typeChecker as any).getImmediateAliasedSymbol(symbol); // eslint-disable-line @typescript-eslint/no-explicit-any
return (typeChecker as any).getImmediateAliasedSymbol(symbol);
}

/**
Expand Down
1 change: 0 additions & 1 deletion apps/api-extractor/src/generators/ApiReportGenerator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,6 @@ export class ApiReportGenerator {
reportVariant: ApiReportVariant
): void {
// Should we process this declaration at all?
// eslint-disable-next-line no-bitwise
if (!ApiReportGenerator._shouldIncludeDeclaration(collector, astDeclaration, reportVariant)) {
span.modification.skipAll();
return;
Expand Down
2 changes: 0 additions & 2 deletions apps/api-extractor/src/generators/DtsRollupGenerator.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.

/* eslint-disable no-bitwise */

import * as ts from 'typescript';
import { FileSystem, type NewlineKind, InternalError } from '@rushstack/node-core-library';
import { ReleaseTag } from '@microsoft/api-extractor-model';
Expand Down
12 changes: 0 additions & 12 deletions apps/heft/.eslintrc.js

This file was deleted.

18 changes: 18 additions & 0 deletions apps/heft/eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.

const nodeTrustedToolProfile = require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/profile/node-trusted-tool');
const friendlyLocalsMixin = require('decoupled-local-node-rig/profiles/default/includes/eslint/flat/mixins/friendly-locals');

module.exports = [
...nodeTrustedToolProfile,
...friendlyLocalsMixin,
{
files: ['**/*.ts', '**/*.tsx'],
languageOptions: {
parserOptions: {
tsconfigRootDir: __dirname
}
}
}
];
5 changes: 3 additions & 2 deletions apps/heft/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,9 @@
},
"devDependencies": {
"@microsoft/api-extractor": "workspace:*",
"@rushstack/heft": "0.73.2",
"@rushstack/heft": "0.74.0",
"@types/watchpack": "2.4.0",
"decoupled-local-node-rig": "workspace:*"
"decoupled-local-node-rig": "workspace:*",
"eslint": "~9.25.1"
}
}
4 changes: 1 addition & 3 deletions apps/heft/src/pluginFramework/StaticFileSystemAdapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export class StaticFileSystemAdapter implements FileSystemAdapter {
callback(e, {} as fs.Stats);
return;
}
// eslint-disable-next-line @rushstack/no-new-null

callback(null, result);
});
}) as FileSystemAdapter['lstat'];
Expand Down Expand Up @@ -115,10 +115,8 @@ export class StaticFileSystemAdapter implements FileSystemAdapter {
// When "withFileTypes" is false or undefined, the callback is expected to return a string array.
// Otherwise, we return a fs.Dirent array.
if (options?.withFileTypes) {
// eslint-disable-next-line @rushstack/no-new-null
(callback as ReaddirDirentCallback)(null, result as fs.Dirent[]);
} else {
// eslint-disable-next-line @rushstack/no-new-null
(callback as ReaddirStringCallback)(null, result as string[]);
}
});
Expand Down
2 changes: 1 addition & 1 deletion build-tests/heft-typescript-v4-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"devDependencies": {
"@microsoft/api-extractor": "workspace:*",
"@rushstack/eslint-config": "4.3.0",
"@rushstack/eslint-config": "4.4.0",
"@rushstack/eslint-patch": "workspace:*",
"@rushstack/heft": "workspace:*",
"@rushstack/heft-api-extractor-plugin": "workspace:*",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "",
"type": "none",
"packageName": "@microsoft/api-extractor-model"
}
],
"packageName": "@microsoft/api-extractor-model",
"email": "iclanton@users.noreply.github.com"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "",
"type": "none",
"packageName": "@microsoft/api-extractor"
}
],
"packageName": "@microsoft/api-extractor",
"email": "iclanton@users.noreply.github.com"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@rushstack/eslint-bulk",
"comment": "",
"type": "none"
}
],
"packageName": "@rushstack/eslint-bulk"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "",
"type": "none",
"packageName": "@rushstack/eslint-patch"
}
],
"packageName": "@rushstack/eslint-patch",
"email": "iclanton@users.noreply.github.com"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "",
"type": "none",
"packageName": "@rushstack/eslint-plugin-packlets"
}
],
"packageName": "@rushstack/eslint-plugin-packlets",
"email": "iclanton@users.noreply.github.com"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "",
"type": "none",
"packageName": "@rushstack/eslint-plugin-security"
}
],
"packageName": "@rushstack/eslint-plugin-security",
"email": "iclanton@users.noreply.github.com"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "",
"type": "none",
"packageName": "@rushstack/eslint-plugin"
}
],
"packageName": "@rushstack/eslint-plugin",
"email": "iclanton@users.noreply.github.com"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "",
"type": "none",
"packageName": "@rushstack/heft-api-extractor-plugin"
}
],
"packageName": "@rushstack/heft-api-extractor-plugin",
"email": "iclanton@users.noreply.github.com"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "",
"type": "none",
"packageName": "@rushstack/heft-config-file"
}
],
"packageName": "@rushstack/heft-config-file",
"email": "iclanton@users.noreply.github.com"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "",
"type": "none",
"packageName": "@rushstack/heft-jest-plugin"
}
],
"packageName": "@rushstack/heft-jest-plugin",
"email": "iclanton@users.noreply.github.com"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "",
"type": "none",
"packageName": "@rushstack/heft-lint-plugin"
}
],
"packageName": "@rushstack/heft-lint-plugin",
"email": "iclanton@users.noreply.github.com"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "",
"type": "none",
"packageName": "@rushstack/heft-typescript-plugin"
}
],
"packageName": "@rushstack/heft-typescript-plugin",
"email": "iclanton@users.noreply.github.com"
}
11 changes: 11 additions & 0 deletions common/changes/@rushstack/heft/bump-cyclics_2025-07-07-23-33.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "",
"type": "none",
"packageName": "@rushstack/heft"
}
],
"packageName": "@rushstack/heft",
"email": "iclanton@users.noreply.github.com"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "",
"type": "none",
"packageName": "@rushstack/node-core-library"
}
],
"packageName": "@rushstack/node-core-library",
"email": "iclanton@users.noreply.github.com"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "",
"type": "none",
"packageName": "@rushstack/operation-graph"
}
],
"packageName": "@rushstack/operation-graph",
"email": "iclanton@users.noreply.github.com"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "",
"type": "none",
"packageName": "@rushstack/rig-package"
}
],
"packageName": "@rushstack/rig-package",
"email": "iclanton@users.noreply.github.com"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "",
"type": "none",
"packageName": "@rushstack/terminal"
}
],
"packageName": "@rushstack/terminal",
"email": "iclanton@users.noreply.github.com"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "",
"type": "none",
"packageName": "@rushstack/tree-pattern"
}
],
"packageName": "@rushstack/tree-pattern",
"email": "iclanton@users.noreply.github.com"
}
Loading