-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create centralized linting system that can be applied to all MatrixAI repos, regardless of project-specific linting rules #7
Comments
Old dependencies can be replaced with just 1: This repo has to be an ESM repo too. https://github.com/MatrixAI/Zeta-House-Docs/blob/staging/scripts/lint.mjs - make sure it works with the |
ETA on this? This has been worked on for a couple weeks now. It should be merged now. |
I've reviewed very quickly the result of this work, and I don't think this is what we want. I'm going to give a better spec so that this actually some real ROI, which right now it does not.
To achieve this.
|
I've just done:
The rest is handed to you @CDeltakai. |
For step 8. As an example https://github.com/MatrixAI/zeta.house/blob/a42d071dcf6813ce5a225b4a699fed67881e6d75/scripts/lint.mjs#L46-L69 You just need to "test" if the program already exists in the shell before doing the rest of the code. if (commandExists('find') && commandExists('shellcheck')) {
// ...
} Ask chatgpt to generate the function for you:
|
Step 9. is to do a release on this repo. Create a Step 10. is to create a feature branch in js-logger, and get it working there. Remember the CI does step 9. You just need to create a "version tag". |
At step 10. we will remove all eslint and linting programs from that repo. And instead the Or we can even call |
Specification
If we can create a single config bundle that includes all of the rules from MatrixAI codebases, we can greatly streamline the process of setting up linting rules in new repos.
Additional context
Tasks
The text was updated successfully, but these errors were encountered: