Xo: WebStorm usage example

Created on 4 Jan 2016  路  8Comments  路  Source: xojs/xo

Could be adapted from this one: https://github.com/feross/standard/pull/345/files

Need help to adapt and ensure it's working from someone using WebStorm.

help wanted

Most helpful comment

They do have a plugin API. Hundreds of plugins available. I've actually written a WS plugin before, and we could probably copy much if the existing eslint plugin.

All 8 comments

Maybe I could split out some of https://github.com/jamestalmage/install-live-templates to automate some of this.

I will be interested to see how much of an improvement it makes, Webstorm comes with an EditorConfig plugin. The generator-nm .editorconfig makes XO basically just work. Of course, I've been using it that way for a long time, there may be some change I had to make that I'm forgetting.

Status please? One of my team's coders (the main actually coder) uses Webstorm, & he's open to using XO.

I have tried to get it to work, but I've been unsuccessful. Their eslint plugin does not let you configure the command executed.

You could follow https://github.com/feross/standard/blob/master/docs/webstorm.md and switch out eslint-config-standard with eslint-config-xo. I don't really use Webstorm, so can't help much there. Happy to accept a recipe contribution :)

Webstorm really need a real plugin API.

They do have a plugin API. Hundreds of plugins available. I've actually written a WS plugin before, and we could probably copy much if the existing eslint plugin.

See https://github.com/jamestalmage/xo-with-webstorm for directions on setting it up with WebStorm. It is a bit more involved than with other linters, but works well once configured.

Was this page helpful?
0 / 5 - 0 ratings