<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Nam Le</title>
    <description>The latest articles on DEV Community by Nam Le (@namcoder).</description>
    <link>https://dev.to/namcoder</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F104083%2F78858036-b95a-4c5e-a644-aed1127e7a59.jpeg</url>
      <title>DEV Community: Nam Le</title>
      <link>https://dev.to/namcoder</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/namcoder"/>
    <language>en</language>
    <item>
      <title>Use eslint with docker</title>
      <dc:creator>Nam Le</dc:creator>
      <pubDate>Sat, 13 Oct 2018 11:06:22 +0000</pubDate>
      <link>https://dev.to/namcoder/use-eslint-with-docker-2mng</link>
      <guid>https://dev.to/namcoder/use-eslint-with-docker-2mng</guid>
      <description>&lt;p&gt;Hi guys, I have a problem when develop with docker.&lt;br&gt;
Everything is fine until I used Sublime Text + Eslint ( in devDepensives ) + Docker.&lt;br&gt;
I also used SublimeLinter in Sublime Text. When sublime text started up, it said cannot found 'eslint'. The reason is node_modules is empty.&lt;br&gt;
I have mapped host's node_modules to docker container. Below is my docker-compose:&lt;/p&gt;

&lt;p&gt;frontend:&lt;br&gt;
  build: ./frontend&lt;br&gt;
  ports:&lt;br&gt;
    - "3000:3000"&lt;br&gt;
    - "35729:35729"&lt;br&gt;
  volumes:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;./frontend:/app/frontend&lt;/li&gt;
&lt;li&gt;/app/frontend/node_modules
command: yarn start&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Thank you for your help.&lt;/p&gt;

</description>
      <category>help</category>
      <category>docker</category>
      <category>eslint</category>
      <category>react</category>
    </item>
  </channel>
</rss>
