Skip to content

Files

Latest commit

 

History

History
22 lines (13 loc) · 390 Bytes

imports-blacklist.md

File metadata and controls

22 lines (13 loc) · 390 Bytes

Pattern: Use of restricted package

Issue: -

Description

Warns when importing black-listed packages.

Configuration

Black-list of package names (or regular expression package names).

Example:

[imports-blacklist]
  arguments =["crypto/md5", "crypto/sha1", "crypto/**/pkix"]

Further Reading