Fast Glob
Use fast-glob for all filesystem globbing in JavaScript files and never use the glob package.
Correct
import fg from 'fast-glob'
const files = await fg('**/*.js')
Incorrect
import glob from 'glob'
const files = await glob('**/*.js')
Fix
Replace glob with fast-glob.