Skip to content

Latest commit

 

History

History
27 lines (14 loc) · 591 Bytes

File metadata and controls

27 lines (14 loc) · 591 Bytes

APIs Documentation


Function: isFileExcludedByConfig()

isFileExcludedByConfig(fileName, config): boolean

Defined in: config/index.ts:39

Test if a file is excluded by the given config, taking config.force flag into account.

The file name will be normalized to use / as path separator before matching.

Parameters

fileName

string

config

Configuration

Returns

boolean