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

MNT Move linting to a dedicated repository #489

Merged

Conversation

GuySartorelli
Copy link
Member

@GuySartorelli GuySartorelli commented Apr 2, 2024

@GuySartorelli GuySartorelli force-pushed the pulls/5.1/migrate-linting branch 6 times, most recently from a6a2ec8 to 9987070 Compare April 3, 2024 02:49
@GuySartorelli GuySartorelli marked this pull request as ready for review April 3, 2024 02:52
@GuySartorelli GuySartorelli force-pushed the pulls/5.1/migrate-linting branch from 9987070 to d749273 Compare April 3, 2024 03:10
.github/workflows/ci.yml Show resolved Hide resolved
.ss-docs-lint Outdated
@@ -0,0 +1 @@
en/
Copy link
Member

Choose a reason for hiding this comment

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

Rename to .doclintrc

Copy link
Member Author

Choose a reason for hiding this comment

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

Done

LINT_LANG=${{ matrix.lint_lang }}
FLAG="--with-${LINT_LANG#lint-}"
# Run the script
vendor/bin/ss-docs-lint $FLAG
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
vendor/bin/ss-docs-lint $FLAG
vendor/bin/doclint $FLAG

Copy link
Member Author

Choose a reason for hiding this comment

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

Done

@GuySartorelli GuySartorelli force-pushed the pulls/5.1/migrate-linting branch from d749273 to 69b215e Compare April 4, 2024 20:29
@emteknetnz
Copy link
Member

Builds are red though expected to go green in the future once documentation-linting is in packagist

@emteknetnz emteknetnz merged commit 4d3d959 into silverstripe:5.1 Apr 4, 2024
0 of 3 checks passed
@emteknetnz emteknetnz deleted the pulls/5.1/migrate-linting branch April 4, 2024 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants