Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
chore: update `spec-new` in CONTRIBUTING.md [skip ci] #11706
This PR updates the process of developing a new babel plugin in this repo. It features a detailed checklist and an updated example of a new parser feature PR.
The process also requires an AST PR addressed in ESTree before implementation. By doing so we can gather more feedback, especially about the AST shape, before a new proposal is implemented in Babel. In the future we will follow ESTree unless the new AST is not consistent with current Babel AST.
@nicolo-ribaudo Though it is called experimental in ESTree, the AST changes are still rare once it gets approved: https://github.com/estree/estree/commits/master/experimental
We should document our AST stability policy somewhere. Here it works as a rough guideline to new contributors working on new language features.
Yeah a repo / issue tracking each proposals is always good-to-have but proves a bit overhead, at it is prone to become outdated compared to https://github.com/tc39/proposals.
Currently we use labels to track issues related to specific proposals. It is easier to maintain rather than updating stages/status manually in