You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
582 B
28 lines
582 B
/**
|
|
* This file was automatically generated.
|
|
* DO NOT MODIFY BY HAND.
|
|
* Run `yarn special-lint-fix` to update
|
|
*/
|
|
|
|
export type IgnorePluginOptions =
|
|
| {
|
|
/**
|
|
* A RegExp to test the context (directory) against
|
|
*/
|
|
contextRegExp?: RegExp;
|
|
/**
|
|
* A RegExp to test the request against
|
|
*/
|
|
resourceRegExp?: RegExp;
|
|
}
|
|
| {
|
|
/**
|
|
* A filter function for context
|
|
*/
|
|
checkContext?: (context: string) => boolean;
|
|
/**
|
|
* A filter function for resource and context
|
|
*/
|
|
checkResource?: (resource: string, context: string) => boolean;
|
|
};
|