[
https://issues.apache.org/jira/browse/HDDS-9570?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yurii Palamarchuk updated HDDS-9570:
------------------------------------
Description:
[https://eslint.org/] should be installed and included in the project
Docusaurus also has an eslint plugin to enforce their best practices:
[https://docusaurus.io/docs/api/misc/@docusaurus/eslint-plugin]
Although we will probably rarely edit the plain javascript portions of the
website, it would still be good to have static code analyzer in IDE and run
this in github actions for each pull request.
was:
Docusaurus has a configuration for the es-lint javascript linter to enforce
their best practices:
https://docusaurus.io/docs/api/misc/@docusaurus/eslint-plugin
Although we will probably rarely edit the plain javascript portions of the
website, it would still be good to run this in github actions for each pull
request.
> Integrate eslint and run it in github actions
> ---------------------------------------------
>
> Key: HDDS-9570
> URL: https://issues.apache.org/jira/browse/HDDS-9570
> Project: Apache Ozone
> Issue Type: Sub-task
> Components: CI, website
> Reporter: Ethan Rose
> Assignee: Yurii Palamarchuk
> Priority: Minor
> Labels: newbie
>
> [https://eslint.org/] should be installed and included in the project
> Docusaurus also has an eslint plugin to enforce their best practices:
> [https://docusaurus.io/docs/api/misc/@docusaurus/eslint-plugin]
> Although we will probably rarely edit the plain javascript portions of the
> website, it would still be good to have static code analyzer in IDE and run
> this in github actions for each pull request.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]