errose28 commented on code in PR #359:
URL: https://github.com/apache/ozone-site/pull/359#discussion_r2920118875
##########
package.json:
##########
@@ -13,8 +13,8 @@
"serve": "docusaurus serve --port 3001",
"write-translations": "docusaurus write-translations",
"write-heading-ids": "docusaurus write-heading-ids",
- "lint": "markdownlint \"$(git rev-parse --show-toplevel)\" && yamllint
--format=colored \"$(git rev-parse --show-toplevel)\"",
- "lint:fix": "markdownlint --fix \"$(git rev-parse --show-toplevel)\" &&
yamllint --format=colored \"$(git rev-parse --show-toplevel)\""
+ "lint": "eslint . && markdownlint \"$(git rev-parse --show-toplevel)\" &&
yamllint --format=colored \"$(git rev-parse --show-toplevel)\"",
+ "lint:fix": "eslint --fix . && markdownlint --fix \"$(git rev-parse
--show-toplevel)\" && yamllint --format=colored \"$(git rev-parse
--show-toplevel)\""
Review Comment:
It will work with yamllint, I verified this in the test above by modifying
`compose.yml`. The `.` is resolved before the resulting directory is passed to
the process.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]