Skip to content

Commit 75a6f77

Browse files
ldezalexandear
andauthored
review
Co-authored-by: Oleksandr Redko <[email protected]>
1 parent 5491bc2 commit 75a6f77

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

docs/content/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ params:
99

1010
<div class="hx-mt-6 hx-mb-6">
1111
{{< hextra/hero-headline >}}
12-
Golangci-lint is a fast linters runner for Go.
12+
Golangci-lint is a fast linters runner for Go
1313
{{< /hextra/hero-headline >}}
1414
</div>
1515

docs/content/docs/configuration/file.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ To see which config file is being used and where it was sourced from run golangc
1717
Config options inside the file are identical to command-line options.
1818
You can configure specific linters' options only within the config file (not the command-line).
1919

20-
There is a [`.golangci.reference.yml`](https://github.com/golangci/golangci-lint/blob/HEAD/.golangci.reference.yml) file with all supported options, their description, and default values.
20+
There is a [`.golangci.reference.yml`](https://github.com/golangci/golangci-lint/blob/HEAD/.golangci.reference.yml) file with all supported options, their descriptions, and default values.
2121
This file is neither a working example nor a recommended configuration, it's just a reference to display all the configuration options.
2222

2323
The configuration file can be validated with the JSON Schema: [golangci.jsonschema.json](https://golangci-lint.run/jsonschema/golangci.jsonschema.json)

docs/content/docs/contributing/architecture.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Also, depending on the enabled linters set some parsing of the source code can b
3232

3333
Packages loading starts here:
3434

35-
```go {base_url="https://github.com/golangci/golangci-lint/blob/main/", filename="pkg/lint/package.go"}
35+
```go {base_url="https://github.com/golangci/golangci-lint/blob/HEAD/", filename="pkg/lint/package.go"}
3636
func (l *PackageLoader) Load(ctx context.Context, linters []*linter.Config) (pkgs, deduplicatedPkgs []*packages.Package, err error) {
3737
loadMode := findLoadMode(linters)
3838

@@ -72,7 +72,7 @@ func (lc *Config) WithLoadForGoAnalysis() *Config {
7272
```
7373
7474
After finding a load mode, we run `go/packages`:
75-
he library get list of dirs (or `./...` as the default value) as input and outputs list of packages and requested information about them:
75+
the library get list of dirs (or `./...` as the default value) as input and outputs list of packages and requested information about them:
7676
filenames, type information, AST, etc.
7777
7878
## Run Linters
@@ -244,5 +244,3 @@ $ tree -L 1 ./pkg/printers/ | grep -v test
244244
{{< filetree/file name="text.go" >}}
245245
{{< /filetree/folder >}}
246246
{{< /filetree/container >}}
247-
248-

0 commit comments

Comments
 (0)