# NewCommer: how to work with StandardJS?

**URL:** <https://discuss.kakoune.com/t/newcommer-how-to-work-with-standardjs/413>\
**Category:** Help\
**Tags:** lint\
**Created:** [March 27, 2019, 10:50pm UTC](https://discuss.kakoune.com/t/newcommer-how-to-work-with-standardjs/413 "2019-03-27T22:50:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![CoinBR](https://discuss.kakoune.com/letter_avatar_proxy/v4/letter/c/a4c791/32.png) [@CoinBR](https://discuss.kakoune.com/u/CoinBR)\
**Post date:** [March 27, 2019, 10:50pm UTC](https://discuss.kakoune.com/t/newcommer-how-to-work-with-standardjs/413/1 "2019-03-27T22:50:12Z")

</div>

I`m a light vim user trying to experiment with Kakoune.

I have no clue how to configure it to work with JS (more precisely with the standard js style)

Sorry for such a broad question, but that as far as I can get =/

ps. I posted it almost 2 months ago on reddit: [https://www.reddit.com/r/kakoune/comments/amjym9/newcommer\_how\_to\_work\_with\_standardjs/](https://www.reddit.com/r/kakoune/comments/amjym9/newcommer_how_to_work_with_standardjs/)

---

<div class="post-metadata">

**Author:** ![Screwtapello](https://discuss.kakoune.com/user_avatar/discuss.kakoune.com/screwtapello/32/12_2.png) [@Screwtapello](https://discuss.kakoune.com/u/Screwtapello)\
**Post date:** [March 28, 2019, 12:06am UTC](https://discuss.kakoune.com/t/newcommer-how-to-work-with-standardjs/413/2 "2019-03-28T00:06:01Z")

</div>

I don’t know what standard JS is, but a quick search suggests [a linting tool](https://standardjs.com/). Assuming it outputs in a sensible format, you should be able to:

```
set buffer lintcmd /path/to/standardjs

```

and then the `:lint` command will run the tool over the buffer and put a little symbol in the left-hand margin of lines that have problems. Moving the primary cursor to such a line should display the error message in a tooltip.

---

<div class="post-metadata">

**Author:** ![Delapouite](https://discuss.kakoune.com/user_avatar/discuss.kakoune.com/delapouite/32/10_2.png) [@Delapouite](https://discuss.kakoune.com/u/Delapouite)\
**Post date:** [March 28, 2019, 9:04am UTC](https://discuss.kakoune.com/t/newcommer-how-to-work-with-standardjs/413/3 "2019-03-28T09:04:16Z")

</div>

If I’m not mistaken, StandardJS is a wrapper around ESLint, so you might be interested by this recent conversation: [Anyone have a successful lint setup for js/ts?](https://discuss.kakoune.com/t/anyone-have-a-successful-lint-setup-for-js-ts/409)
