The "clean-glob" setting:

The VALUE of this setting is a comma or newline-separated list of GLOB patterns specifying files that the "clean" command will delete without prompting or allowing undo. Example: *.a,*.lib,*.o