Open sjbarag opened 3 years ago
This will require a few small changes in https://github.com/hulu/roca when this lands. If we'd already hit 1.0 I'd say this requires 2.0.0, buuuuuuuuut we haven't. Once I add range
support to those nodes (luckily just an additive change) we might be able to consider a 1.0 release 🤔
Either way, this probably warrants a -rc
release.
BREAKING CHANGE: There's nothing inherently wrong with having AST node locations in a property called
node
, but it does break compatibility with more common ASTs like theestree
standard and makes integration with tools that understandestree
significantly more difficult. Renamelocation
toloc
in the entirebrs
syntax tree to improveestree
compatibility and enable more advancedeslint
rules.