Closed sradevski closed 8 years ago
I am having the same issue here. I think this has to do with eslint 3 requiring node >= 4, @zaggino any suggestions on how this could be solved? Seems like Brackets needs to update it's internal version of node or could this plugin do this?
hmm, extension probably won't be able to do anything with this, it's brackets problem
do you know if brackets has an initiative to up the node version?
@AdriVanHoudt I don't believe brackets have an initiative to do anything except get the brackets code to new dreamweaver at the moment, atom or vs-code might be better alternatives at the moment
new dreamweaver? Also I just updated and it works again, I think it i fine as long as my config does not include eslint > 3 rules
Ok so it works when my project also has an eslint of < 3 :/
Hmm feels like the project is slightly dying out seeing how old that is and looking at the recent commits, which are mostly translation updates
@sradevski @AdriVanHoudt published brackets-eslint@2.6.0
i put a check if it detects eslint@3.x
, then fallback to use latest eslint@2.x
instead of failing completely
only thing I could think of: https://github.com/zaggino/brackets-eslint/commit/e2c2aa34f406370f6214c8ae46105b86ba3bce4b
@zaggino I am not seeing the plugin in npm registry (brackets plugin) any more, I can see it in the plugins thing but that is v 0.17 and it does not allow me to install it. Any way you unpublished it or something?
@AdriVanHoudt Nothing is unpublished, registry builder uses npmsearch.com
site to search for extensions but it seems quite unreliable. Must look at some other npm search provider.
ah I see, weird that it can't find just that one, no way you can use npm's api (if they have one)?
They don't, not that I know of. I'll try to get it up and running somehow.
@zaggino thanks a lot for the effort! 🔥
@AdriVanHoudt pushed out new server version of brackets-npm-registry
using actual urls that npm itself calls (by debugging the client) and brackets-eslint
is back in there ;)
@zaggino seems to work now! Now since the last eslint release it messed something up with the indent so I needed to add a config to the rule which eslint 2 does not like :( dumb that v2 does not just ignore it hopefully brackets will update to node 4 or up. If there is no intention to I might switch IDE sadly
@AdriVanHoudt doing progress of getting new node (and eslint 3.x support with it) into brackets: https://github.com/adobe/brackets/pull/12647
@zaggino following it and looks great!
@AdriVanHoudt this is now fixed in https://github.com/zaggino/brackets-electron/releases still waiting for the team to approve changes to land in regular brackets too
Latest pre-release of Brackets supports this too: https://github.com/adobe/brackets/releases
The extension cannot load the eslint client. I tried installing eslint globally and locally, both running fine, but when run from Brackets.io it cannot load the client. I am running brackets on MacBook Pro, El Capitan.