![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
14 lines
424 B
YAML
14 lines
424 B
YAML
# Copyright (c) HashiCorp, Inc.
|
|
# SPDX-License-Identifier: BUSL-1.1
|
|
|
|
rules:
|
|
- id: use-strings-join-path
|
|
patterns:
|
|
- pattern-either:
|
|
- pattern: strings.Join(..., "/")
|
|
- pattern: strings.Join(..., "\\")
|
|
- pattern: strings.Join(..., `\`)
|
|
message: "did you want path.Join() or filepath.Join()?"
|
|
languages: [go]
|
|
severity: ERROR
|