-
Notifications
You must be signed in to change notification settings - Fork 23
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
Adds JSON linting #223
Adds JSON linting #223
Conversation
Cherry pick of #205 |
This commit improves consistency in our spec and examples by having all keys be camel cased. This made 4 changes: chain_id -> chainId context_id -> contextId link_kind -> linkKind link_type -> linkType Signed-off-by: xibz <impactbchang@gmail.com>
Signed-off-by: xibz <impactbchang@gmail.com>
Signed-off-by: xibz <impactbchang@gmail.com>
Signed-off-by: xibz <impactbchang@gmail.com>
c99118c
to
3d03925
Compare
@@ -28,9 +28,20 @@ jobs: | |||
uses: github/super-linter/slim@v4 | |||
env: | |||
VALIDATE_ALL_CODEBASE: true | |||
DEFAULT_BRANCH: main |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not needed
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
VALIDATE_MARKDOWN: true | ||
VALIDATE_JSON: true | ||
# superlinter runs each linter on a per file bases and does not look |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Full explanation on the limitations of superlinter
Signed-off-by: xibz <impactbchang@gmail.com>
Thanks for fixing this!
I imagine that superlinter is trying to report back something, but failing because of missing authorization. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
eslint --fix