Skip to content
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

Add linter for the samples scaffolded under docs #4445

Open
camilamacedo86 opened this issue Dec 27, 2024 · 1 comment
Open

Add linter for the samples scaffolded under docs #4445

camilamacedo86 opened this issue Dec 27, 2024 · 1 comment
Assignees
Labels
good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. kind/feature Categorizes issue or PR as related to a new feature. testing

Comments

@camilamacedo86
Copy link
Member

What do you want to happen?

Currently, the samples scaffolded under the docs directory do not have any linting process to ensure consistency and adherence to best practices. This issue proposes adding a linter to verify the quality of the following samples:

  • docs/book/src/cronjob-tutorial/testdata/project
  • docs/book/src/getting-started/testdata/project
  • docs/book/src/multiversion-tutorial/testdata/project

We should create an action to lint them as we have for the samples under testdata
See: https://github.com/kubernetes-sigs/kubebuilder/blob/master/.github/workflows/lint-sample.yml

in this task, we need to create the action and fix any linter issue found to ensure that it pass in the CI

Extra Labels

No response

@camilamacedo86 camilamacedo86 added the kind/feature Categorizes issue or PR as related to a new feature. label Dec 27, 2024
@camilamacedo86 camilamacedo86 added help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. testing labels Dec 27, 2024
@jongwooo
Copy link
Member

/assign

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Denotes an issue ready for a new contributor, according to the "help wanted" guidelines. help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. kind/feature Categorizes issue or PR as related to a new feature. testing
Projects
None yet
Development

No branches or pull requests

2 participants