flosse / flosse/sloc

please show example of excluding node_modules

Open
#86 5 comments 0 reactions 0 assignees View on GitHub
enhancement question
Dominant language
CoffeeScript
Stars
972
Forks
80
PR merge metrics
No merged PRs in 30d

Description

This is NPM this is Node.js, the docs say use a regex to exclude, but what kind of regex? A JS regex?

A nice example would be excluding node_modules when running sloc against an NPM project

I am guessing this is the one:

`sloc -e node_modules .`

but I cannot be certain - in fact I am fairly certain this is not working, my machine is getting hot!

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the project documentation describing the regex exclusion option, then run the proposed sloc command against an NPM project containing node_modules. Confirm the correct regex or command and update the documentation with an example that clearly excludes node_modules.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js
Domain
cli
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.