Преглед на файлове

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>