Having a unified code style within a repository has many advantages:
Currently our code base does not follow a unified code formatting style. For javascript and typescript codebases Prettier is the de-facto standard used by the majority of projects.
Lets’ adopt prettier for ZOWE Explorer.
I converted the FTP extension to eslint with prettier here. If people like this approach then we can apply the same here, but a lot of fixing will be required, which could be a good thing.
https://github.com/zowe/zowe-explorer-ftp-extension/tree/add-eslint-prettier-support
Thank you @phaumer for taking the initiative. I completely agree. Let's discuss it in your PR for the FTP plugin and once merged and tested, we can then come up with a suggestion for this repo.
We we had a really good discussion in https://github.com/zowe/zowe-explorer-ftp-extension/pull/3 and https://github.com/zowe/zowe-explorer-ftp-extension/pull/4
and have a proposal for a starting point for this repo as well: https://github.com/zowe/zowe-explorer-ftp-extension
Next steps:
Thank you @phaumer for leading this effort! I think we can break this down a bit more.
The very first step can be reformatting the codebase with prettier without enabling any new linting rules. This will require only minimal manual effort.
Then we can continue a separate discussion as you suggested in _next steps_. Perhaps in a separate issue dedicated to linting rules.
Most helpful comment
I converted the FTP extension to eslint with prettier here. If people like this approach then we can apply the same here, but a lot of fixing will be required, which could be a good thing.
https://github.com/zowe/zowe-explorer-ftp-extension/tree/add-eslint-prettier-support