Skip to content

docs: improve linters page #1995

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 17, 2021
Merged

docs: improve linters page #1995

merged 4 commits into from
May 17, 2021

Conversation

ldez
Copy link
Member

@ldez ldez commented May 17, 2021

The modification of the TOC is inspired by https://github.com/Rocketseat/gatsby-themes/blob/7202b7529c2c2b8347ba28a7e56c442881067e91/%40rocketseat/gatsby-theme-docs/src/components/Docs/TOC/index.js

As the Rocketseat theme has been added in only one commit #1096 it's hard to resync the theme with its latest version.

screenshot

Screenshot 2021-05-17 at 20-37-49 Linters golangci-lint

@ldez ldez added enhancement New feature or improvement area: docs labels May 17, 2021
Copy link
Member

@bombsimon bombsimon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like it's almost as much info (if not more) in .golangci.example.yml so not sure I get the first bullet about too much info, although it makes way more sense to list the example file rather than this projects configuration. Also really nice to duplicate each linter's settings and display that close to the list of linters.

@ldez ldez force-pushed the feat/doc-linters branch from a0e90bb to bb658cb Compare May 17, 2021 21:42
@ldez ldez merged commit fcef824 into golangci:master May 17, 2021
@ldez ldez deleted the feat/doc-linters branch May 17, 2021 21:56
SeigeC pushed a commit to SeigeC/golangci-lint that referenced this pull request Apr 4, 2023
* TOC level 3
* drop `.golangci.yaml` from the Configuration page
* generate a dedicated configuration section for each linters.
* fix changelog heading
@ldez ldez added this to the v1.41 milestone Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: docs enhancement New feature or improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants