]> cat aescling's git repositories - mastodon.git/commitdiff
Update .deepsource.toml (#15753)
authorShubhendra Singh Chauhan <withshubh@gmail.com>
Fri, 19 Feb 2021 08:53:25 +0000 (14:23 +0530)
committerGitHub <noreply@github.com>
Fri, 19 Feb 2021 08:53:25 +0000 (09:53 +0100)
.deepsource.toml

index 73d38901caa4adc47f8a9d208be2431b7381f1c4..bcd3104124b1966018bb641403deb7f26cb563f0 100644 (file)
@@ -1,6 +1,11 @@
 version = 1
 
-test_patterns = ["/app/javascript/mastodon/**/__tests__/**"]
+test_patterns = ["app/javascript/mastodon/**/__tests__/**"]
+
+exclude_patterns = [
+    "db/migrate/**",
+    "db/post_migrate/**"
+]
 
 [[analyzers]]
 name = "ruby"
@@ -12,7 +17,7 @@ enabled = true
 
   [analyzers.meta]
   environment = [
-    "nodejs",
     "browser",
-    "jest"
+    "jest",
+    "nodejs"
   ]