<?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: Stefan Breitenstein</title>
    <description>The latest articles on DEV Community by Stefan Breitenstein (@stexx).</description>
    <link>https://dev.to/stexx</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%2F251392%2Fd1c7c329-c6b5-41d4-9d67-fd6e397cd911.jpeg</url>
      <title>DEV Community: Stefan Breitenstein</title>
      <link>https://dev.to/stexx</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/stexx"/>
    <language>en</language>
    <item>
      <title>Check if a Github ticket is closed with eslint</title>
      <dc:creator>Stefan Breitenstein</dc:creator>
      <pubDate>Tue, 02 Nov 2021 08:35:50 +0000</pubDate>
      <link>https://dev.to/stexx/check-if-a-github-ticket-is-closed-with-eslint-51eo</link>
      <guid>https://dev.to/stexx/check-if-a-github-ticket-is-closed-with-eslint-51eo</guid>
      <description>&lt;p&gt;I see often code like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="c1"&gt;// workaround for https://github.com/vuetifyjs/vuetify/issues/6633&lt;/span&gt;

&lt;span class="cm"&gt;/**
  workaround code for the issue.
**/&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;but even if the issue is fixed, the workaround remains. &lt;/p&gt;

&lt;p&gt;To improve the tracking of closed issues and workaround code in the code based I wrote a small eslint plugin.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.npmjs.com/package/eslint-plugin-gh-issue"&gt;https://www.npmjs.com/package/eslint-plugin-gh-issue&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So when you a have workaround code like the example above, you rewrite it like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="c1"&gt;// workaround for gh-issue vuetifyjs/vuetify/issues/6633&lt;/span&gt;
&lt;span class="cm"&gt;/**
  workaround code for the issue.
**/&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If the issue is closed, eslint will produce a warning and you know that maybe some action can be taken to remove the workaround code.&lt;/p&gt;

&lt;p&gt;The plugin itself will not call github api itself. Instead it will call a cloudflare worker, which requests and caches the issues state.&lt;br&gt;&lt;br&gt;
Otherwise I was running in some quota issues by github.&lt;/p&gt;

&lt;p&gt;How do you deal with (outdated) workaround code?&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>eslint</category>
      <category>github</category>
    </item>
    <item>
      <title>Chrome Extension for your Github Gists user scripts</title>
      <dc:creator>Stefan Breitenstein</dc:creator>
      <pubDate>Wed, 25 Nov 2020 09:38:03 +0000</pubDate>
      <link>https://dev.to/stexx/chrome-extension-for-your-github-gists-user-scripts-351n</link>
      <guid>https://dev.to/stexx/chrome-extension-for-your-github-gists-user-scripts-351n</guid>
      <description>&lt;p&gt;Hi, &lt;br&gt;
wrote a small User Script Manager for Chrome, which is based on Github Gists and VS Code. &lt;/p&gt;

&lt;p&gt;Okay it is the &lt;a href="https://microsoft.github.io/monaco-editor/"&gt;monaco editor&lt;/a&gt;, which is VS Code based on.&lt;/p&gt;

&lt;p&gt;I have sometimes some scripts which I used on a site, like fetch the ticket number on jira.&lt;/p&gt;

&lt;p&gt;I saved those scripts as Gist on Github. Copy them from Github and paste it to the dev console bugged me, so i wrote a small extension.&lt;/p&gt;

&lt;p&gt;Maybe someone else find it also useful: &lt;/p&gt;

&lt;p&gt;&lt;a href="https://chrome.google.com/webstore/detail/gist-user-script-manager/plpmkifleemfflmlnogdncmhlljcpdab?hl=en&amp;amp;authuser=0"&gt;Gist User Script Manager Chrome Extension&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Hey DEVs, do you play around with chrome dev tools and inject js on third party sites?</title>
      <dc:creator>Stefan Breitenstein</dc:creator>
      <pubDate>Tue, 29 Sep 2020 12:16:14 +0000</pubDate>
      <link>https://dev.to/stexx/hey-devs-do-you-play-around-with-chrome-dev-tools-and-inject-js-on-third-party-sites-2ld6</link>
      <guid>https://dev.to/stexx/hey-devs-do-you-play-around-with-chrome-dev-tools-and-inject-js-on-third-party-sites-2ld6</guid>
      <description>&lt;p&gt;For example I a have gist snippet, which I regularly use to get the current story from our JIRA. &lt;/p&gt;

&lt;p&gt;I also have a gist for reporting stuff on for our CI/CD.&lt;br&gt;
Our CI/CD reports are only HTML-Table, and with the script i can collect more advanced reporting stuff.&lt;/p&gt;

&lt;p&gt;Do you also inject your custom code into third party websites? &lt;/p&gt;

&lt;p&gt;And if so, which functionality do you provide with it. &lt;/p&gt;

&lt;p&gt;Are Chrome Dev Tools sufficient, or do you whish you more tooling support? &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
Stefan&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>discuss</category>
    </item>
  </channel>
</rss>
