<?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: Chad Smith</title>
    <description>The latest articles on DEV Community by Chad Smith (@twigman08).</description>
    <link>https://dev.to/twigman08</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%2F49785%2F71bd929d-4c9c-4844-a47d-86ef6da645f6.jpg</url>
      <title>DEV Community: Chad Smith</title>
      <link>https://dev.to/twigman08</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/twigman08"/>
    <language>en</language>
    <item>
      <title>Help Setting Up VSCode Formatting</title>
      <dc:creator>Chad Smith</dc:creator>
      <pubDate>Tue, 20 Apr 2021 16:09:22 +0000</pubDate>
      <link>https://dev.to/twigman08/help-setting-up-vscode-formatting-1kf2</link>
      <guid>https://dev.to/twigman08/help-setting-up-vscode-formatting-1kf2</guid>
      <description>&lt;p&gt;So I feel like I should not be having to ask for help on this, but I feel like I have grown very annoyed with formatters fighting over each other that it has actually gotten old to write TypeScript/JavaScript code in VSCode with Vue (or really any other frontend framework).&lt;/p&gt;

&lt;h2&gt;
  
  
  Issue
&lt;/h2&gt;

&lt;p&gt;So here is my issue: Currently I have my &lt;code&gt;.vue&lt;/code&gt; files formatting correctly and it is giving me good &lt;code&gt;eslint&lt;/code&gt; warnings and errors. Though now the issue is in my &lt;code&gt;.ts&lt;/code&gt; or &lt;code&gt;.js&lt;/code&gt; files. These files never want to format properly now and I can't get it to format on save. Then if I do end up getting it to format on save, it seems it will fight against the &lt;code&gt;.vue&lt;/code&gt; files.&lt;/p&gt;

&lt;p&gt;Example: Currently my &lt;code&gt;.vue&lt;/code&gt; files format properly and use my preferred 2 spaces for tabbing. While my &lt;code&gt;.ts&lt;/code&gt; or &lt;code&gt;.js&lt;/code&gt; files will just go straight to using the 4 spaces for tabs, and won't even correct itself no matter what I do. &lt;/p&gt;

&lt;h3&gt;
  
  
  What I'm looking for
&lt;/h3&gt;

&lt;p&gt;What I'm looking for a great environment and project setup that will do the following:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Listen to the projects eslint settings&lt;/li&gt;
&lt;li&gt;Listen to the projects prettier settings for formatting&lt;/li&gt;
&lt;li&gt;Be able to auto format on save all my files and not have them conflict with each other&lt;/li&gt;
&lt;li&gt;Best way to update and modify settings&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Current Environment/Project Setup
&lt;/h3&gt;

&lt;p&gt;Currently the environment/project setup is the following:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;VSCode&lt;/li&gt;
&lt;li&gt;Vetur Extension&lt;/li&gt;
&lt;li&gt;ESLint Extension&lt;/li&gt;
&lt;li&gt;VueJS&lt;/li&gt;
&lt;li&gt;eslint and prettier on project&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For Vetur I have all my formatters turned on. I also have the format on save turned on. For the Vue project I am using the following packages/rules for eslint&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;extends: ["prettier", "prettier/standard", "plugin:@typescript-eslint/recommended", "plugin:vue/recommended"],
  plugins: ["vue", "prettier"],
  parser: "vue-eslint-parser",
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And for prettier, I have the following setup:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"singleQuote"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"trailingComma"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"none"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"endOfLine"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"auto"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"htmlWhitespaceSensitivity"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"ignore"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"tabWidth"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;I will take any suggestions on best practices to take. I understand a lot of this will be opinionated as everyone has different takes on how formatting should be done, but I am looking for the best practices to make sure your environment and project is setup properly so you are not fighting these issues for every new project that you start or work with, with other people.&lt;/p&gt;

&lt;p&gt;Any help/suggestions is greatly appreciated. Thanks!&lt;/p&gt;

</description>
      <category>help</category>
      <category>vscode</category>
      <category>vue</category>
    </item>
    <item>
      <title>How Has Your Company Adjusted to COVID-19?</title>
      <dc:creator>Chad Smith</dc:creator>
      <pubDate>Fri, 12 Jun 2020 22:36:03 +0000</pubDate>
      <link>https://dev.to/twigman08/how-has-your-company-adjusted-to-covid-19-3nnc</link>
      <guid>https://dev.to/twigman08/how-has-your-company-adjusted-to-covid-19-3nnc</guid>
      <description>&lt;p&gt;All around the world COVID-19 has really had to make companies adjust to how the day to day work happened. In a tech industry most of us had the ability to work remotely effectively. A lot of companies did not have remote work before and really valued the in person interaction that came with being in an office. &lt;/p&gt;

&lt;p&gt;How has your company adjusted to this? With some places reopening has your company come up with a plan for that reopening? Are they now pivoting with what work looks like in the future? I'd love to hear what different places are doing.&lt;/p&gt;

</description>
      <category>discuss</category>
    </item>
    <item>
      <title>Help With This Software Architecture</title>
      <dc:creator>Chad Smith</dc:creator>
      <pubDate>Tue, 17 Sep 2019 02:24:52 +0000</pubDate>
      <link>https://dev.to/twigman08/help-with-this-software-architecture-3bl7</link>
      <guid>https://dev.to/twigman08/help-with-this-software-architecture-3bl7</guid>
      <description>&lt;p&gt;I had a question and wanted to get some software architecture ideas to see how others would go about designing this system out.&lt;/p&gt;

&lt;p&gt;The basic idea/flow of the system is as followed: &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;User uploads a file to a server, which will store it on some cloud storage, like AWS S3.&lt;/li&gt;
&lt;li&gt;Once file has been transferred to S3 it needs to get processed by a specific on premise server. If that server is currently busy processing another file it needs to wait in a queue.&lt;/li&gt;
&lt;li&gt;The on premise server doing the processing needs to read the files from the queue and process them.&lt;/li&gt;
&lt;li&gt;Once a file is finished processing the results need to be uploaded back to the storage, and we need to notify the user that everything is done.&lt;/li&gt;
&lt;li&gt;Throughout all of this some status updates to the user would be nice to see. For example: "Waiting to be processed..." "File is being processed..." "Results Ready."&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I guess some general notes: The on premise machine doing the processing would be a Linux box.&lt;/p&gt;

&lt;p&gt;I'm just looking for some general ideas on what some others would be looking at. Any ideas are great. Thanks!&lt;/p&gt;

</description>
      <category>help</category>
      <category>architecture</category>
    </item>
  </channel>
</rss>
