2018-05-08 12:04:57 +08:00
|
|
|
/**
|
2018-09-18 19:57:44 +08:00
|
|
|
* This file was automatically generated.
|
|
|
|
* DO NOT MODIFY BY HAND.
|
|
|
|
* Run `yarn special-lint-fix` to update
|
2018-05-08 12:04:57 +08:00
|
|
|
*/
|
|
|
|
|
2018-09-20 16:13:38 +08:00
|
|
|
export type IgnorePluginOptions =
|
2018-05-08 12:04:57 +08:00
|
|
|
| {
|
|
|
|
/**
|
2018-09-19 16:17:33 +08:00
|
|
|
* A RegExp to test the context (directory) against
|
2018-05-08 12:04:57 +08:00
|
|
|
*/
|
2018-09-21 14:39:15 +08:00
|
|
|
contextRegExp?: RegExp;
|
2018-05-08 12:04:57 +08:00
|
|
|
/**
|
2018-09-19 16:17:33 +08:00
|
|
|
* A RegExp to test the request against
|
2018-05-08 12:04:57 +08:00
|
|
|
*/
|
2018-09-21 14:39:15 +08:00
|
|
|
resourceRegExp?: RegExp;
|
2018-05-08 12:04:57 +08:00
|
|
|
}
|
|
|
|
| {
|
|
|
|
/**
|
2018-09-19 16:17:33 +08:00
|
|
|
* A filter function for context
|
2018-05-08 12:04:57 +08:00
|
|
|
*/
|
2018-09-20 16:13:38 +08:00
|
|
|
checkContext?: ((context: string) => boolean);
|
2018-05-08 12:04:57 +08:00
|
|
|
/**
|
2018-09-19 16:17:33 +08:00
|
|
|
* A filter function for resource
|
2018-05-08 12:04:57 +08:00
|
|
|
*/
|
2018-09-20 16:13:38 +08:00
|
|
|
checkResource?: ((resource: string) => boolean);
|
2018-05-08 12:04:57 +08:00
|
|
|
};
|