Iacami Gevaerd
Iacami Gevaerd
IIRC, doing something like: ``` {{ someModel || 'My string' | translate }} ``` also breaks extraction.. there's a lot to improve there..
I can confirm the same issue. ``` eslint 3.19.0 eslint-plugin-import-order-autofix 0.8.3 ```
@iamJoeTaylor could you please tell me exactly what you did do make it work?
You mean a fork of this repo? If so https://github.com/enapupe/eslint-plugin-import-order-autofix
I kind of understand your general idea but I'm not so familiar with eslint or jscodeshift so I couldn't figure exactly what to tweak there... If you could put up...
So you are saying the only options are adding comments OR disabling the magic number verification completely? I don't have much knowledge of eslint env..
The issue is, using no-magic-numbers is painful with react-native stylesheets. Do you think this plugin could address this issue?
I don't know very much about eslint stuff and hierarchy.. @tomauty do you see any way to accomplish this kind of validation? Could you point me some directions? Ty!
@aarongreenwald thank you very much for such explanation. So I'd probably develop a small plugin which extends `no-magic-numbers`.. I like the approach, thanks for sharing !
I wouldn't mind sharing, but right now I already have too much new software to study, so, I'm not gonna do this anytime soon..