yuriipalam opened a new pull request, #366: URL: https://github.com/apache/ozone-site/pull/366
## What changes were proposed in this pull request? [HDDS-14891](https://issues.apache.org/jira/browse/HDDS-14891). [Website] Integrate prettier. - [Prettier](https://prettier.io/) is a powerful formatting tool, so the code style is consistent across the files. It's an industry standard. - Prettier is configured for formatting the js/jsx/css files currently. It's also possible to use it for markdown, so all the tables/indents are precise, but it interferes with `markdownlint`. Therefore, I decided not to use for the markdown files. - It runs by `eslint`, we simply integrate Prettier as a set of another eslint's linting rules. It's the most popular and convenient pattern. ## What is the link to the Apache Jira? [HDDS-14891](https://issues.apache.org/jira/browse/HDDS-14891) ## How was this patch tested? Check off which of the following tests were done on this change. If additional testing was done, please elaborate here as well. - [ ] The CI checks on my fork are passing - [X] I verified the rendered content using a local preview - [X] I manually verified the steps provided in this change work as described -- 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]
