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.

27 lines
582 B

4 years ago
  1. /**
  2. * This file was automatically generated.
  3. * DO NOT MODIFY BY HAND.
  4. * Run `yarn special-lint-fix` to update
  5. */
  6. export type IgnorePluginOptions =
  7. | {
  8. /**
  9. * A RegExp to test the context (directory) against
  10. */
  11. contextRegExp?: RegExp;
  12. /**
  13. * A RegExp to test the request against
  14. */
  15. resourceRegExp?: RegExp;
  16. }
  17. | {
  18. /**
  19. * A filter function for context
  20. */
  21. checkContext?: (context: string) => boolean;
  22. /**
  23. * A filter function for resource and context
  24. */
  25. checkResource?: (resource: string, context: string) => boolean;
  26. };