Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: object-type-delimeter with new babel-eslint (#317)
Using babel-eslint 8.2.1, the object-type-delimeter rule does nothing, apparently because the ObjectType{CallProperty,Indexer,Property} nodes no longer contain trailing semicolons/commas, but their parent ObjectTypeAnnotation nodes do. I tried to keep compatibility with both cases, because it's not clear what version this project is targeting. However, I don't know of a good way to test the new behavior given the version of babel-eslint now locked in devDependencies.
- Loading branch information