[UI] Setup Prettier #8661
Labels
component/ui
User Interface
framework/react
kind/enhancement
Improvement in current feature
language/javascript
Issues or pull requests that use Javascript or React
In Meshery UI, we do not use
prettier
, which means our code looks different throughout each files.Even though we have Next.js lint for its linting capabilities, the linting job is not doing all what it is supposed to do with the current rules on certain formatting. However, for a true formatter, we're not using prettier, and it would be great to set one up here in Meshery UI and also setup pre-commit hook for this.
Here is what being used in
Meshery Cloud
, but it can be improved.Please note that making this change will create a large PR. So it would be necessary to check through all the files that will be formatted, and probably won't need to be formatted.
The referenced file is at https://github.com/layer5io/meshery-cloud/blob/master/ui/.prettierrc.yml
Contributor Guides and Handbook
The text was updated successfully, but these errors were encountered: