![Steven Clark](/assets/img/avatar_default.png)
* 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
13 lines
279 B
YAML
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
|