Last active
December 6, 2020 04:34
-
-
Save inkz/d5c9c4c4301949e32cd54f24074999cc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rules: | |
- id: find-dependencies-js | |
pattern-either: | |
- pattern: import $X | |
- patterns: | |
- pattern: require($X) | |
- pattern: require("...") | |
message: $X | |
languages: | |
- javascript | |
- typescript | |
severity: ERROR | |
- id: find-dependencies-python | |
pattern: | | |
import $X | |
message: $X | |
languages: | |
- python | |
severity: ERROR |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment