From afd4f79b00e2b906cca481bd310a8098cc935294 Mon Sep 17 00:00:00 2001 From: Gunter Chou Date: Sun, 23 Jun 2024 07:04:48 +0800 Subject: [PATCH] fix(linter): Correctly collect lintable files for project in @nx/eslint plugin --- packages/eslint/src/plugins/plugin.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/eslint/src/plugins/plugin.ts b/packages/eslint/src/plugins/plugin.ts index 9ed9c9ba3286e..1dec11415ddcd 100644 --- a/packages/eslint/src/plugins/plugin.ts +++ b/packages/eslint/src/plugins/plugin.ts @@ -13,7 +13,7 @@ import { } from '@nx/devkit'; import { calculateHashForCreateNodes } from '@nx/devkit/src/utils/calculate-hash-for-create-nodes'; import { existsSync } from 'node:fs'; -import { basename, dirname, join, normalize, sep } from 'node:path'; +import { basename, dirname, join, normalize, sep } from 'node:path/posix'; import { hashObject } from 'nx/src/hasher/file-hasher'; import { workspaceDataDirectory } from 'nx/src/utils/cache-directory'; import { combineGlobPatterns } from 'nx/src/utils/globs';