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) {