use dot=true option in minimatch