You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Where we also have package/eslint-plugin-js/indent/indent.ts re-export from package/eslint-plugin/indent/indent-js.ts
We don't touch the content of those files at all, but only the file structure. This way we can move forward and doing releases without changing the runtime implementation at all.
We can then refactor those files under each folder and make sure the ts version passes both js/ts tests. We can start to use the indent-ts to replace the js rules
Stage 3
We merge the implantation of indent-js and indent-ts without touching the tests, where the tests guard us to make sure we don't break the behavior.
Stage 4
Deprecate sub packages, refactoring docs and project structure. Release as v3.0
The text was updated successfully, but these errors were encountered:
#466 (comment)
✅ Stage 1
We can first colocate js and its implementations inside the same package, but keep them as separate files. For example:
Where we also have
package/eslint-plugin-js/indent/indent.ts
re-export frompackage/eslint-plugin/indent/indent-js.ts
We don't touch the content of those files at all, but only the file structure. This way we can move forward and doing releases without changing the runtime implementation at all.
👉 Stage 2
We can then refactor those files under each folder and make sure the ts version passes both js/ts tests. We can start to use the
indent-ts
to replace thejs
rulesStage 3
We merge the implantation of
indent-js
andindent-ts
without touching the tests, where the tests guard us to make sure we don't break the behavior.Stage 4
Deprecate sub packages, refactoring docs and project structure. Release as v3.0
The text was updated successfully, but these errors were encountered: