Skip to content

Commit 4d80a26

Browse files
committed
chore: remove usage section
1 parent b10ed1f commit 4d80a26

File tree

21 files changed

+25
-51
lines changed

21 files changed

+25
-51
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ body:
1313
required: true
1414
- label: Yes, I've read the `typecheck` section of the [FAQ](https://golangci-lint.run/welcome/faq/#why-do-you-have-typecheck-errors).
1515
required: true
16-
- label: Yes, I've tried with the standalone [linter](https://golangci-lint.run/usage/linters/) if available (e.g., gocritic, go vet, etc.).
16+
- label: Yes, I've tried with the standalone [linter](https://golangci-lint.run/linters/) if available (e.g., gocritic, go vet, etc.).
1717
required: true
1818
- label: I agree to follow this project's [Code of Conduct](https://github.com/golangci/golangci-lint?tab=coc-ov-file)
1919
required: true

.golangci.next.reference.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ version: "2"
1111
linters:
1212
# Default set of linters.
1313
# The value can be:
14-
# - `standard`: https://golangci-lint.run/usage/linters/#enabled-by-default
14+
# - `standard`: https://golangci-lint.run/linters/#enabled-by-default
1515
# - `all`: enables all linters by default.
1616
# - `none`: disables all linters by default.
1717
# - `fast`: enables only linters considered as "fast" (`golangci-lint help linters --json | jq '[ .[] | select(.fast==true) ] | map(.name)'`).

.golangci.reference.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ version: "2"
1111
linters:
1212
# Default set of linters.
1313
# The value can be:
14-
# - `standard`: https://golangci-lint.run/usage/linters/#enabled-by-default
14+
# - `standard`: https://golangci-lint.run/linters/#enabled-by-default
1515
# - `all`: enables all linters by default.
1616
# - `none`: disables all linters by default.
1717
# - `fast`: enables only linters considered as "fast" (`golangci-lint help linters --json | jq '[ .[] | select(.fast==true) ] | map(.name)'`).

docs/content/_index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,20 +45,20 @@ params:
4545
title="Nice outputs"
4646
subtitle="Text with colors and source code lines, JSON, tab, HTML, Checkstyle, Code-Climate, JUnit-XML, TeamCity, SARIF."
4747
style="background: radial-gradient(ellipse at 50% 80%,rgba(221,210,59,0.15),hsla(0,0%,100%,0));"
48-
link="/docs/usage/configuration/file/#output-configuration" >}}
48+
link="/docs/configuration/file/#output-configuration" >}}
4949
{{< hextra/feature-card
5050
icon="eye-off"
5151
title="Minimum number of false positives"
5252
subtitle="Tuned default settings."
53-
link="/docs/usage/linters/false-positives" >}}
53+
link="/docs/linters/false-positives" >}}
5454
{{< hextra/feature-card
5555
icon="collection"
5656
title="A lot of linters"
5757
subtitle="No need to install them."
58-
link="/docs/usage/linters" >}}
58+
link="/docs/linters" >}}
5959
{{< hextra/feature-card
6060
icon="document-text"
6161
title="YAML-based configuration"
6262
subtitle="Easy to read and maintain."
63-
link="/docs/usage/configuration/file" >}}
63+
link="/docs/configuration/file" >}}
6464
{{< /hextra/feature-grid >}}

docs/content/docs/_index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ title: 'Golangci-lint Documentation'
1515
subtitle="Get ready to use golangci-lint"
1616
icon="arrow-circle-right" >}}
1717
{{< card
18-
link="/docs/usage/linters"
18+
link="/docs/linters"
1919
title="Linters"
2020
subtitle="List of all the linters"
2121
icon="arrow-circle-right" >}}
2222
{{< card
23-
link="/docs/usage/formatters"
23+
link="/docs/formatters"
2424
title="Formatters"
2525
subtitle="List of all the formatters"
2626
icon="arrow-circle-right" >}}

docs/content/docs/usage/configuration/_index.md renamed to docs/content/docs/configuration/_index.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
---
22
title: Configuration
3-
weight: 1
4-
sidebar:
5-
open: true
3+
weight: 2
64
---
75

86
The config file has lower priority than command-line options.
@@ -13,8 +11,8 @@ Slice options (e.g. list of enabled/disabled linters) are combined from the comm
1311
## More
1412

1513
{{< cards cols=2 >}}
16-
{{< card link="/docs/usage/configuration/cli" title="Command Line" icon="terminal" >}}
17-
{{< card link="/docs/usage/configuration/file" title="Configuration File" icon="adjustments" >}}
14+
{{< card link="/docs/configuration/cli" title="Command Line" icon="terminal" >}}
15+
{{< card link="/docs/configuration/file" title="Configuration File" icon="adjustments" >}}
1816
{{< /cards >}}
1917

2018

File renamed without changes.
File renamed without changes.

docs/content/docs/contributing/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Contributing
3-
weight: 4
3+
weight: 6
44
---
55

66
{{< cards >}}

docs/content/docs/usage/formatters/_index.md renamed to docs/content/docs/formatters/_index.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
---
22
title: Formatters
3-
weight: 3
3+
weight: 4
44
excludeSearch: true
5-
sidebar:
6-
open: true
75
---
86

97
To see a list of supported formatters and which formatters are enabled/disabled:

0 commit comments

Comments
 (0)