1
0
vault-redux/tools/semgrep/self-equals.yml
Steven Clark 2b88002501
Update licensing across various source files - 1.14 (#24674)
* Fix licensing on various files

* Update CI and release files to BUSL-1.1

* Update offset within config_test_helpers.go

 - Fix a test the same way it's been fixed on main/1.15
2024-01-08 12:24:52 -05:00

13 lines
279 B
YAML

# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: BUSL-1.1
rules:
- id: self-equals
patterns:
- pattern-either:
- pattern: $X == $X
- pattern: $X != $X
message: "Comparing with self"
languages: [go]
severity: ERROR