@rushstack/eslint-patch
Advanced tools
Comparing version 1.6.0 to 1.6.1
@@ -90,3 +90,3 @@ "use strict"; | ||
function findEslintrcDirectory(fileAbsolutePath) { | ||
for (let currentDir = fileAbsolutePath; currentDir !== exports.GitRootPath; currentDir = path_1.default.dirname(currentDir)) | ||
for (let currentDir = fileAbsolutePath; currentDir.startsWith(exports.GitRootPath); currentDir = path_1.default.dirname(currentDir)) | ||
if (['.eslintrc.js', '.eslintrc.cjs'].some((eslintrc) => fs_1.default.existsSync(path_1.default.join(currentDir, eslintrc)))) | ||
@@ -93,0 +93,0 @@ return currentDir; |
{ | ||
"name": "@rushstack/eslint-patch", | ||
"version": "1.6.0", | ||
"version": "1.6.1", | ||
"description": "A patch that improves how ESLint loads plugins when working in a monorepo with a reusable toolchain", | ||
@@ -5,0 +5,0 @@ "main": "lib/usage.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
203623
3