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

Fix yamllint error #250

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Fix yamllint error #250

wants to merge 1 commit into from

Conversation

notok
Copy link

@notok notok commented Mar 31, 2024

When enabling dev container in project with yamllint enabled, yamllint reports errors on some of the dev container template files.

Fixed yamllint error including:

  • warning missing document start "---" (document-start)
  • error wrong indentation: expected 4 but found 5 (indentation)
  • error trailing spaces (trailing-spaces)
  • error no new line character at the end of file (new-line-at-end-of-file)
  • warning truthy value should be one of [false, true] (truthy)

But excluded following lint errors:

@notok notok requested a review from a team as a code owner March 31, 2024 11:07
@notok
Copy link
Author

notok commented Mar 31, 2024

@microsoft-github-policy-service agree

Fixed yamllint error excluding following rules.
- line-length: Default limit 80 is too small
- comments-indentation: This rule is being discussed at adrienverge/yamllint#141 and adrienverge/yamllint#384
@notok
Copy link
Author

notok commented Apr 2, 2024

Previous test run failure on typescript-node was related to firebase/firebase-admin-node#2512, and I believe this is fixed by DefinitelyTyped/DefinitelyTyped#69231.

I could not reproduce failure on universal. Test on my machine runs without failure.

@@ -3,10 +3,10 @@
# Please see the documentation for more information:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
# https://containers.dev/guide/dependabot
Copy link
Member

Choose a reason for hiding this comment

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

Looping in @joshspicer for another set of eyes.

If we decide to merge this, you'd need to bump patch versions for all the updated Templates.

eg.

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.

None yet

2 participants