Просмотр исходного кода

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 год назад
Родитель
Сommit
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>