Example: eslint-config-standard has the following.npmignore:
node_modules
node_modules is ignored by default, so .npmignore doesn't really do anything here
The npm package contains a test/ directory, but it's given a green tick because .npmignore exists - having a test/ or tests/ directory should probably always be a negative result (and we should probably have a place to keep a list of prominent repos with module authors who disagree with that :ok_hand:)
Example: eslint-config-standard has the following
.npmignore
:node_modules
is ignored by default, so.npmignore
doesn't really do anything heretest/
directory, but it's given a green tick because.npmignore
exists - having atest/
ortests/
directory should probably always be a negative result (and we should probably have a place to keep a list of prominent repos with module authors who disagree with that :ok_hand:)