Skip to content

Commit 2368557

Browse files
committed
refactor: remove disable comments for removed eslint-plugin-deprecation
1 parent 3be24c1 commit 2368557

File tree

5 files changed

+4
-9
lines changed

5 files changed

+4
-9
lines changed

packages/nx-plugin/src/plugin/plugin.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import type { CreateNodesOptions } from './types.js';
99
import { normalizedCreateNodesContext } from './utils.js';
1010

1111
// name has to be "createNodes" to get picked up by Nx
12-
// eslint-disable-next-line deprecation/deprecation
1312
export const createNodes: CreateNodes = [
1413
`**/${PROJECT_JSON_FILE_NAME}`,
1514
async (

packages/plugin-eslint/src/index.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@ export default eslintPlugin;
55
export type { ESLintPluginConfig } from './lib/config.js';
66

77
export {
8-
eslintConfigFromNxProjectAndDeps,
9-
// eslint-disable-next-line deprecation/deprecation
10-
eslintConfigFromNxProjects,
118
eslintConfigFromAllNxProjects,
129
eslintConfigFromNxProject,
10+
eslintConfigFromNxProjectAndDeps,
11+
eslintConfigFromNxProjects,
1312
} from './lib/nx/index.js';

packages/plugin-eslint/src/lib/meta/versions/flat.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ function findRuleMeta(
9393
}
9494

9595
function findBuiltinRuleMeta(name: string): Rule.RuleMetaData | undefined {
96-
// eslint-disable-next-line deprecation/deprecation
9796
const rule = builtinRules.get(name);
9897
return rule?.meta;
9998
}
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
export {
2-
// eslint-disable-next-line deprecation/deprecation
3-
eslintConfigFromNxProjects,
42
eslintConfigFromAllNxProjects,
3+
eslintConfigFromNxProjects,
54
} from './find-all-projects.js';
6-
export { eslintConfigFromNxProject } from './find-project-without-deps.js';
75
export { eslintConfigFromNxProjectAndDeps } from './find-project-with-deps.js';
6+
export { eslintConfigFromNxProject } from './find-project-without-deps.js';

testing/test-nx-utils/src/lib/utils/nx-plugin.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ export async function invokeCreateNodesOnVirtualFiles<
3232
T extends Record<string, unknown> | undefined,
3333
>(
3434
// FIXME: refactor this to use the V2 api & remove the eslint disable on the whole file
35-
// eslint-disable-next-line deprecation/deprecation
3635
createNodes: CreateNodes,
3736
context: CreateNodesContext,
3837
createNodeOptions: T,

0 commit comments

Comments
 (0)