Closed fabb closed 5 years ago
Those dependencies are specified with caret ranges. So the latest 7.x versions can be installed. If you have yarn.lock
or package-lock.json
in your project, please remove related babel entries and reinstall.
Ah ok thanks. I always get confused by the caret versioning...
since it took me quite some time to track down the reason for the syntax error while linting, maybe add some info to the readme? => #276
This lib still depends on old versions of the @babel/parser and @babel/traverse. This makes this plugin incompatible with newer typescript syntax.
https://github.com/styled-components/stylelint-processor-styled-components/blob/master/package.json#L64,L65
For example when using
as const
TypeScript syntax this causes a problem:The fix is to update these dependencies to >= 7.4