From a13daef722fff958dd1f518942b57d1f1f9ad2be Mon Sep 17 00:00:00 2001 From: Munif Tanjim Date: Fri, 7 Jul 2023 21:33:28 +0600 Subject: [PATCH] feat: support --config-precedence=prefer-file --- src/linter.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/linter.ts b/src/linter.ts index 44b4e73..8837ca5 100644 --- a/src/linter.ts +++ b/src/linter.ts @@ -159,6 +159,9 @@ export const invoke = ( case 'file-override': options = Object.assign({}, parsedOptions, cache.options) break + case 'prefer-file': + options = Object.assign({}, cache.options) + break } if (parsedOptions.stdin && parsedOptions.filepath) {