UNPKG

ignore-sync

Version:

a CLI tool to build and sync *ignore files across files and repositories

7 lines (5 loc) 162 B
import path from 'node:path' const isIgnoreSyncFile = (filePath) => { return /.+ignore-sync$/u.test(path.basename(filePath)) } export default isIgnoreSyncFile