You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .golangci.yml
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,9 @@ linters:
18
18
- errcheck # Errcheck is a program for checking for unchecked errors in go programs. These unchecked errors can be critical bugs in some cases [fast: false, auto-fix: false]
19
19
- errchkjson # Checks types passed to the json encoding functions. Reports unsupported types and optionally reports occasions, where the check for the returned error can be omitted. [fast: false, auto-fix: false]
20
20
- errname # Checks that sentinel errors are prefixed with the `Err` and error types are suffixed with the `Error`. [fast: false, auto-fix: false]
21
+
- errorlint # errorlint is a linter for that can be used to find code that will cause problems with the error wrapping scheme introduced in Go 1.13. [fast: false, auto-fix: false]
21
22
- exptostd # Detects functions from golang.org/x/exp/ that can be replaced by std functions. [auto-fix]
23
+
- fatcontext # Detects nested contexts in loops and function literals. [auto-fix]
- gci # Gci controls golang package import order and makes it always deterministic. [fast: true, auto-fix: false]
24
26
- gocheckcompilerdirectives # Checks that go compiler directive comments (//go:) are valid. [fast: true, auto-fix: false]
@@ -38,6 +40,7 @@ linters:
38
40
- gosmopolitan # Report certain i18n/l10n anti-patterns in your Go codebase [fast: false, auto-fix: false]
39
41
- govet #(vet, vetshadow): Vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string [fast: false, auto-fix: false]
40
42
- grouper # An analyzer to analyze expression groups. [fast: true, auto-fix: false]
43
+
- iface # Detect the incorrect use of interfaces, helping developers avoid interface pollution. [auto-fix]
- err113 # Golang linter to check the errors handling expressions [fast: false, auto-fix: false]
89
-
- errorlint # errorlint is a linter for that can be used to find code that will cause problems with the error wrapping scheme introduced in Go 1.13. [fast: false, auto-fix: false]
For more information, see [the documentation](https://developers.scaleway.com/en/products/baremetal/api).
9
+
For more information, see the[API documentation](https://developers.scaleway.com/en/products/baremetal/api).
10
10
11
11
## Example Usage
12
12
13
13
```hcl
14
-
# Get info by option name
14
+
# Get info by option name
15
15
data "scaleway_baremetal_option" "by_name" {
16
16
name = "Remote Access"
17
17
}
@@ -37,4 +37,4 @@ In addition to all above arguments, the following attributes are exported:
37
37
~> **Important:** Baremetal options' IDs are [zoned](../guides/regions_and_zones.md#resource-ids), which means they are of the form `{zone}/{id}`, e.g. `fr-par-1/11111111-1111-1111-1111-111111111111`
38
38
39
39
-`name` - The name of the option.
40
-
-`manageable` - Is false if the option could not be added or removed.
40
+
-`manageable` - Is false if the option could not be added or removed.
0 commit comments