Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
D4N14L committed Sep 25, 2023
1 parent cb29496 commit a65f336
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions eslint/eslint-config/patch/custom-config-package-names.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.

require('@rushstack/eslint-patch/custom-config-package-names');
2 changes: 1 addition & 1 deletion eslint/eslint-patch/src/_patch-base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ if (!(eslintMajorVersion >= 6 && eslintMajorVersion <= 8)) {
);
}

let ConfigArrayFactory;
let ConfigArrayFactory: any;
if (eslintMajorVersion === 8) {
ConfigArrayFactory = require(eslintrcBundlePath!).Legacy.ConfigArrayFactory;
} else {
Expand Down

0 comments on commit a65f336

Please sign in to comment.