snipt

Ctrl+h for KB shortcuts

Bash

Setup eslint

npm i eslint prettier eslint-config-prettier eslint-plugin-prettier eslint-config-airbnb eslint-plugin-node eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-react --save-dev
https://snipt.net/embed/830fcec2096c04eb65d132667ecdca8a/
/raw/830fcec2096c04eb65d132667ecdca8a/
830fcec2096c04eb65d132667ecdca8a
bash
Bash
1
2019-07-22T23:46:02
True
False
False
Jul 12, 2019 at 12:25 AM
/api/public/snipt/148718/
setup-eslint
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>npm i eslint prettier eslint-config-prettier eslint-plugin-prettier eslint-config-airbnb eslint-plugin-node eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-react --save-dev </span></pre></div> </td></tr></table>
1
2
3
4
--- 
+++ 
@@ -0,0 +1 @@
+npm i eslint prettier eslint-config-prettier eslint-plugin-prettier eslint-config-airbnb eslint-plugin-node eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-react --save-dev