<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Jeryl Donato Estopace on Medium]]></title>
        <description><![CDATA[Stories by Jeryl Donato Estopace on Medium]]></description>
        <link>https://medium.com/@jeryldev?source=rss-643426d663f8------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*iiDY545I3Sxb0fnUMncBaQ.jpeg</url>
            <title>Stories by Jeryl Donato Estopace on Medium</title>
            <link>https://medium.com/@jeryldev?source=rss-643426d663f8------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 15 Nov 2026 18:31:10 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jeryldev/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to Track your Coding Productivity in Visual Studio Code]]></title>
            <link>https://medium.com/@jeryldev/how-to-track-your-coding-productivity-in-visual-studio-code-dc8a93404151?source=rss-643426d663f8------2</link>
            <guid isPermaLink="false">https://medium.com/p/dc8a93404151</guid>
            <category><![CDATA[visual-studio-code]]></category>
            <category><![CDATA[vscode]]></category>
            <category><![CDATA[code]]></category>
            <category><![CDATA[monitoring]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Jeryl Donato Estopace]]></dc:creator>
            <pubDate>Mon, 31 Dec 2018 07:46:17 GMT</pubDate>
            <atom:updated>2019-01-02T08:37:09.584Z</atom:updated>
            <content:encoded><![CDATA[<p>Looking for a way to track your productivity when writing codes in Visual Studio Code? Here’s the right extension for you.</p><p>A few days ago, I read an <a href="https://medium.freecodecamp.org/how-i-went-from-newbie-to-software-engineer-in-9-months-while-working-full-time-460bd8485847">article</a> made by <a href="https://medium.freecodecamp.org/@austintackaberry">Austin Tackaberry</a>, and his journey to success inspired me a lot. His article convinced me that I can be a software developer if I have a goal, build a plan on it, and act on it.</p><p>I then made a commitment to add more hours learning JavaScript, Vue.js, and NativeScript, by building more projects and writing more code.</p><p>The plan looks really good on paper. However, I feel like I need a tool to monitor my programming activity.</p><p>I can track my activity by manually tracking my hours but I reckon that it would be inaccurate.</p><h3>The Visual Studio Code Extension</h3><p>Good thing I found “Coding Tracker” by Liu Yue.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JLZOCmNNW_1DGo-fI6Q2mA.png" /></figure><p>This Visual Studio Code Extension gives developers the ability to monitor and generate reports regarding our coding activities.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qTwtG2R063rD5_U1YPygGg.png" /></figure><p>With this extension, users can now can know how much time is spent on each projects, files, computers, programming languages, and branches.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UUMrTe7h7K9wWqHFRtjadg.jpeg" /><figcaption>Here’s the screenshot from his <a href="https://github.com/hangxingliu/vscode-coding-tracker">GitHub Repository</a></figcaption></figure><p>Here are the screenshots of my visual studio code activities recorded by the extension:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Gaf6HkL02MHVF2MoZidMWQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7eH-Z7fPAxAr1TzOlr4ZmQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*P-GcaKIFoSGQN_y5LHRG2Q.png" /></figure><p>That’s it! I hope this article help developers who are looking for ways to track their coding productivity.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dc8a93404151" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Beginner’s Story: How to setup ESLint in a Visual Studio Code project]]></title>
            <link>https://medium.com/@jeryldev/a-beginners-story-how-to-setup-eslint-in-a-visual-studio-code-project-28b379a33cdb?source=rss-643426d663f8------2</link>
            <guid isPermaLink="false">https://medium.com/p/28b379a33cdb</guid>
            <category><![CDATA[visual-studio-code]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[vscode]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[eslint]]></category>
            <dc:creator><![CDATA[Jeryl Donato Estopace]]></dc:creator>
            <pubDate>Fri, 28 Dec 2018 10:50:46 GMT</pubDate>
            <atom:updated>2018-12-31T07:47:08.724Z</atom:updated>
            <content:encoded><![CDATA[<h3>How to set up ESLint in a Visual Studio Code project — my 5 minute story</h3><p>This is my story on how I was able to incorporate ESLint in my VS Code project.</p><p>I am eager to learn ESLint because I want my code to be more consistent and I also wanted to avoid ugly bugs.</p><p>I have my NPM and Visual Studio Code ready in my laptop and so I installed the ESLint extension by Dirk Baeumer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tI86ZS-vl7HIyxQr8Hut6Q.png" /></figure><p>I then referred to <a href="https://eslint.org/docs/user-guide/getting-started">ESLint’s getting started guide</a>, opened my Command Prompt, and ran the npm command to install the eslint package.</p><pre>$ npm install eslint --save-dev</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_2yj2n8YM0-UCbIjPiW-iA.png" /></figure><p>I then executed the command below to open my local project:</p><pre>$ code .</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aBfJhew6xikl9NavLt_yTA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ca6XMfjectmBqW9HbwyF5A.png" /></figure><p>I noticed a few changes in my Visual Studio Code and in my local project. First, my project directory showed a new folder named ‘node_modules’. This was due to the npm command I ran earlier. Second, I noticed that there is an ESLint status with an exclamation point at the bottom of my Visual Studio Code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6El3N4qQbYd-PbW226QOiA.png" /></figure><p>Curious, I clicked the ESLint status and found an error:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qsT5MR5jpNL9khK1p45hJg.png" /></figure><p>It said that I did not have a configuration file named .eslintrc.json file.</p><p>After searching for answers over the web, I found out that I need to execute ‘eslint --init’ in the node_modules/eslint sub folder that contains a package.json file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/407/1*ehpzAfAsE1DYXoql1OvgNg.png" /></figure><p>Back in my Command Prompt, I navigated to node_modules\eslint sub folder and executed the command below.</p><pre>$ eslint --init</pre><p>Important Note: You may run this command directly in to the node_modules\eslint sub folder if you have already installed eslint globally.</p><pre>// Install eslint globally<br>$ npm install eslint -g</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/797/1*u22KBWJy9Ft02GFYjF25hQ.png" /></figure><p>Running the command prompted me with a set of questions that requires answers. This is the basis of the .eslintrc.json configuration file that will be created.</p><p>Here’s how I answered these questions:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Xc25CKPiCxyQXRRbu7-5Iw.png" /></figure><p>I went back to my VS Code and reloaded my Project window by pressing CTRL + Alt + R. I noticed that my node_modules\eslint sub folder now contains the .eslintrc.json file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/408/1*fvzbjdolVzdsMkNKhKGnwg.png" /></figure><p>Here is the content of the file:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/817/1*ZysP6rIKr_e0SEfr-f0q8w.png" /></figure><p>Unfortunately, however, I still found an issue in my ESLint status as shown below:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zEd4UCQ0oEfJWjaOg6ACIA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ooekiccxAukmOCw2BlS_Eg.png" /></figure><p>The error message still says that VS Code cannot find my .eslintrc.json file.</p><p>After further googling, I found out that I need to add the following lines in my settings.json in Visual Studio Code:</p><pre>   &quot;eslint.options&quot;: {<br>        &quot;configFile&quot;: &quot;node_modules/eslint/.eslintrc.json&quot;<br>   }</pre><p>I then pressed Ctrl + , to open the VS Code Settings page</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VmFsI4QeqskRDgaySW2Wtg.png" /></figure><p>In the Search box, I typed eslint.options to search for the setting. I then clicked the ‘Edit in settings.json’ link to open the settings.json file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DWi6BnhRZv8nA-P4EJSxhA.png" /></figure><p>I then added the code snippet at the bottom of my settings.json file &gt; User Settings tab and then saved it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pUyHq0czqPUUMzFTCbfK0w.png" /></figure><p>I reloaded my VS Code window again by pressing CTRL + Alt + R.</p><p>When I opened a JavaScript file, I found out that the Exclamation point on the ESLint status is gone (Hooray!!!). This meant that I had successfully incorporated ESLint in to my project.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*l9sIItANAg4YPL0TkF22OQ.png" /></figure><p><strong>How to deal with errors?</strong></p><p>Since I have installed the ESLint extension, I went to VS Code’s Command Palette by pressing Ctrl + Shift + P, and then ran ‘ESLint: Fix all auto-fixable Problems’. This command applies ESLint auto-fix resolutions to all fixable problems. You may check this <a href="https://eslint.org/docs/rules/">link</a> to view all the rules that can be automatically fixed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/824/1*eeLiX5laqcF2ABXE_5r9cQ.png" /></figure><p>I then reviewed all of the remaining errors I found after running the command.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6a2hYyV0jMIhUrFXUlwueg.png" /></figure><p><strong>How to disable some of the ESLint rules?</strong></p><p>I heavily used JQuery and other plugins (i.e. Superslides) in my project that’s why ESLint is throwing these remaining errors:</p><p>1. ‘$’ is not defined. [no-undef]<br> 2. ‘typed’ is assigned a value but never used. [no-unused-vars]<br> 3. ‘Typed’ is not defined. [no-undef]</p><p>For this reason, I opted to remove some rules that doesn’t seem to apply in my Project. Actually, I do not recommend doing this because you may overlook important rules that could cause some bug in the future.</p><p>I found out that I can exclude some ESLint rules by adding a couple of parameters in to my in .eslintrc.json file.</p><p>Before:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/817/1*ZysP6rIKr_e0SEfr-f0q8w.png" /></figure><p>After:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/816/1*t35P2PPsjZ1GV07AQK7cVw.png" /></figure><p>I added “jquery”: true in order for the system to recognize the presence of JQuery related syntax (i.e. the usage of ‘$’ for DOM manipulation) in my JavaScript code.</p><p>I also turned off “no-undef” and “no-unused-vars” rules because ESLint is tagging some parts of my code as erroneous when it should not. You may refer to this <a href="https://github.com/mattboldt/typed.js/">link</a> for Typed.js Plugin usage.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1023/1*bD69WgBkIHANp73EEreg-Q.png" /></figure><p>I then reloaded my VS Code window and found out that my Project is now cleared of ESLint problems.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DxLvzRfgqozIt2yBVNTSfg.png" /></figure><p>That’s it! I hope my experience could be of help to anyone who is planning to set up ESLint in to their own projects in Visual Studio Code.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=28b379a33cdb" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>