Skip to content

Commit 5cdcdc9

Browse files
committed
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.
1 parent a5b1dec commit 5cdcdc9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

etc/nohttp/checkstyle.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,7 @@
1212
<property name="optional" value="true"/>
1313
</module>
1414
<module name="SuppressWithPlainTextCommentFilter"/>
15+
<module name="BeforeExecutionExclusionFileFilter">
16+
<property name="fileNamePattern" value=".*[\\/]node(_modules|js)[\\/].*$"/>
17+
</module>
1518
</module>

0 commit comments

Comments
 (0)