瀏覽代碼

Suppress Node Files From Nohttp Analysis

Given that we have no control over the contents of
third-party code, it isn't helpful to have nohttp
generate errors for the usage of http:// in that code.
Josh Cummings 1 年之前
父節點
當前提交
5cdcdc9bcb
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      etc/nohttp/checkstyle.xml

+ 3 - 0
etc/nohttp/checkstyle.xml

@@ -12,4 +12,7 @@
     <property name="optional" value="true"/>
   </module>
   <module name="SuppressWithPlainTextCommentFilter"/>
+  <module name="BeforeExecutionExclusionFileFilter">
+    <property name="fileNamePattern" value=".*[\\/]node(_modules|js)[\\/].*$"/>
+  </module>
 </module>