@rushstack/eslint-patch
Advanced tools
Comparing version 1.10.2 to 1.10.3
@@ -183,4 +183,4 @@ "use strict"; | ||
} | ||
if (!(ESLINT_MAJOR_VERSION >= 6 && ESLINT_MAJOR_VERSION <= 8)) { | ||
throw new Error('The ESLint patch script has only been tested with ESLint version 6.x, 7.x, and 8.x.' + | ||
if (!(ESLINT_MAJOR_VERSION >= 6 && ESLINT_MAJOR_VERSION <= 9)) { | ||
throw new Error('The ESLint patch script has only been tested with ESLint version 6.x, 7.x, 8.x, and 9.x.' + | ||
` (Your version: ${exports.eslintPackageVersion})\n` + | ||
@@ -192,3 +192,3 @@ 'Consider reporting a GitHub issue:\n' + | ||
let configArrayFactory; | ||
if (ESLINT_MAJOR_VERSION === 8) { | ||
if (ESLINT_MAJOR_VERSION >= 8) { | ||
exports.configArrayFactory = configArrayFactory = require(eslintrcBundlePath).Legacy.ConfigArrayFactory; | ||
@@ -203,3 +203,3 @@ } | ||
let Naming; | ||
if (ESLINT_MAJOR_VERSION === 8) { | ||
if (ESLINT_MAJOR_VERSION >= 8) { | ||
exports.ModuleResolver = ModuleResolver = require(eslintrcBundlePath).Legacy.ModuleResolver; | ||
@@ -206,0 +206,0 @@ exports.Naming = Naming = require(eslintrcBundlePath).Legacy.naming; |
{ | ||
"name": "@rushstack/eslint-patch", | ||
"version": "1.10.2", | ||
"version": "1.10.3", | ||
"description": "Enhance ESLint with better support for large scale monorepos", | ||
@@ -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
239667