Skip to content

Instantly share code, notes, and snippets.

const path = require('path');
const nanomatch = require('nanomatch');
const allFilePaths = [
'.git/COMMIT_EDITMSG',
'.git/hooks/commit-msg.sample',
'src/lib/File1.js',
'src/lib/Dir/File2.js',
'src/lib/Dir2/File3.js',
'rootFile.js',