summaryrefslogtreecommitdiffstats
path: root/data/cruft/browserify-regex
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:42:30 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 13:42:30 +0000
commit75808db17caf8b960b351e3408e74142f4c85aac (patch)
tree7989e9c09a4240248bf4658a22208a0a52d991c4 /data/cruft/browserify-regex
parentInitial commit. (diff)
downloadlintian-upstream.tar.xz
lintian-upstream.zip
Adding upstream version 2.117.0.upstream/2.117.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'data/cruft/browserify-regex')
-rw-r--r--data/cruft/browserify-regex4
1 files changed, 4 insertions, 0 deletions
diff --git a/data/cruft/browserify-regex b/data/cruft/browserify-regex
new file mode 100644
index 0000000..a93d9d4
--- /dev/null
+++ b/data/cruft/browserify-regex
@@ -0,0 +1,4 @@
+# detect browserify stuff name ~~ lower case regex (?x) modifier first capture group is displayed
+browserify-lite ~~ ([(] \s* function \s* [(] \s* modules \s* , \s* cache \s* , \s* entry \s* [)] \s* \{ .{0,30})
+webpack ~~ ([(] \s* function \s* webpackuniversalmoduledefinition \s* [(] \s* root \s* , \s* factory [)] .{0,30})
+browserify ~~ (if \s* [(]\s* "object" \s* ==\s* typeof \s* exports \s* && \s* "undefined" \s* !=\s* typeof \s* module \s* [)] .{0,30})