chore(config): node_modules won't appear in git
refactor: simplifies loop condition in length func

- changes loop condition to rely on truthiness of the given expression
rather than a comparison.