Dalius Dobravolskas
Dalius Dobravolskas
I have tried this and it is great. Please rebase from master as master has important fixes.
@dbalatero hey, how are you doing? I am using your branch for a month and its awesome. Do you need helping hand with fixing minor issues?
Typescript allows checking children type https://www.typescriptlang.org/docs/handbook/jsx.html#children-type-checking . I guess this might be used.
Hey, this project is no longer maintained so if someone wants to do something about it then feel free to fork it.
PRs are always welcome.
As this project is not maintained anymore and nothing happened with this issue I am closing it.
This project is not maintained anymore so there will be no fix proposal.
Here is workaround for this problem in case you are using some new JS stuff (e.g. arrow functions). Sorry TS guys :-) Add following to your i18next-scanner.config.js: ``` const fs...
If you are using newer babel (e.g. newer React) then you might want to use babel 7 style plugins, e.g.: const options = { plugins: ["@babel/plugin-syntax-jsx", "@babel/plugin-proposal-class-properties"] }; It might...
This (almost) works with newer babel: plugins: [ '@babel/plugin-syntax-jsx', '@babel/plugin-proposal-class-properties', '@babel/plugin-proposal-object-rest-spread', '@babel/plugin-transform-spread', '@babel/plugin-transform-arrow-functions', ], Remaining problem is that acorn-jsx stops on JSX comments, e.g. `{/* comment *.}`. Maybe newest acorn...