Frederick Stark
Frederick Stark
Check your console with ``control + ` `` and see what error colorHighlighter is throwing. I had this problem when `ImageMagick` wasn't installed properly, so I just had to point...
I've gotten around it by putting the `package.json` and `node_modules` in `/src`, which doesn't work for create react app... Should be relatively easy to add to here: https://github.com/Galooshi/import-js/blob/master/lib/findProjectRoot.js If you...
I've been having similar issues, and haven't had the time to debug it properly
Yes, you can run importjs from the command line to do this like so: ``` importjs fix --overwrite src/**/*.js ``` Or you can import it in a node script, though...
The globstar (**) will only work on a `bash`-like shell, so if you're building it into a CLI, you'll need to shell out, or use a globbing package for file...
I've added a PR (incomplete) that would allow a user configuration to disable merging for particular keys, allowing globals to be overwritten properly. Looking for feedback before I finish polishing...
Hey folks, as of version 2.9.0 you can now override whatever you want with the [`mergableOptions`](https://github.com/Galooshi/import-js#mergableoptions) config option. Here's what I'm using in my Meteor config: ```javascript const globals =...
I suspect you can use the `importStatementFormatter` option to do that: ``` importStatementFormatter({ importStatement }) { return importStatement.replace(/'/, '"'); }, ``` I haven't tested this however. A simple config setting...
Can confirm that media keys work correctly in `1.14.0`. In my case I had to remove and re-add YTMDP in accessibility settings
Also wasted days trying to get things working till I found this. Really needs to be at the top of the Readme