blob: 9049a1d370a33cc3f29b70eb60cf29bb2d1ab6dd [file] [log] [blame]
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0
rules:
- id: uses-path-callbacks
patterns:
- pattern: |
[]*framework.Path{..., {..., Pattern: $PATTERN, ..., Callbacks:$CALL, ...}, ...}
message: "Path has a Callback for pattern $PATTERN"
languages: [go]
severity: WARNING