summaryrefslogtreecommitdiffstats
path: root/tags/p/package-contains-npm-ignore-file.tag
diff options
context:
space:
mode:
Diffstat (limited to 'tags/p/package-contains-npm-ignore-file.tag')
-rw-r--r--tags/p/package-contains-npm-ignore-file.tag9
1 files changed, 9 insertions, 0 deletions
diff --git a/tags/p/package-contains-npm-ignore-file.tag b/tags/p/package-contains-npm-ignore-file.tag
new file mode 100644
index 0000000..723ac4f
--- /dev/null
+++ b/tags/p/package-contains-npm-ignore-file.tag
@@ -0,0 +1,9 @@
+Tag: package-contains-npm-ignore-file
+Severity: error
+Check: files/names
+Explanation: The package ships an <code>.npmignore</code> file. It is a
+ configuration file for the <code>Node.js</code> package manager.
+ It is not needed in a Debian package.
+ .
+ The file tells the <code>npm</code> command to keep files out of
+ a <code>node</code> package. Please remove it from your package.