<?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: Raquel Gonzalez</title>
    <description>The latest articles on DEV Community by Raquel Gonzalez (@raquel_gonzo).</description>
    <link>https://dev.to/raquel_gonzo</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%2F444731%2F372928ae-939a-4c24-a7ff-fe30516e7ec2.jpeg</url>
      <title>DEV Community: Raquel Gonzalez</title>
      <link>https://dev.to/raquel_gonzo</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/raquel_gonzo"/>
    <language>en</language>
    <item>
      <title>Adhere to H5P code style with ESLint</title>
      <dc:creator>Raquel Gonzalez</dc:creator>
      <pubDate>Wed, 04 May 2022 23:13:08 +0000</pubDate>
      <link>https://dev.to/raquel_gonzo/adhere-to-h5p-code-style-with-eslint-567d</link>
      <guid>https://dev.to/raquel_gonzo/adhere-to-h5p-code-style-with-eslint-567d</guid>
      <description>&lt;h2&gt;
  
  
  Overview
&lt;/h2&gt;

&lt;p&gt;The &lt;a href="https://github.com/h5p"&gt;H5P GitHub&lt;/a&gt; contains a &lt;a href="https://github.com/h5p/h5p-dev-tools"&gt;Dev Tools repo&lt;/a&gt; containing PHP and ESLint config files. There is also a &lt;a href="https://github.com/otacke/h5p-editor-boilerplate"&gt;H5P boilerplate code template&lt;/a&gt; with a slightly different &lt;code&gt;.eslintrc.json&lt;/code&gt; config file.&lt;/p&gt;

&lt;p&gt;This guide is for anyone using the above resources to create their own H5P content types while following the H5P specified coding style, and for people that may be unfamiliar with ESLint. &lt;/p&gt;

&lt;h2&gt;
  
  
  Process: MacOS and VSCode
&lt;/h2&gt;

&lt;p&gt;I'm using the ESLint CLI and the &lt;a href="//dbaeumer.vscode-eslint"&gt;VSCode extension&lt;/a&gt;. Navigate to the root of your content type and run &lt;code&gt;npx eslint -h&lt;/code&gt; to see a list of available commands. To use the config included in any boilerplate code linked above, run &lt;code&gt;eslint -c myconfig.json myfiletotest.js&lt;/code&gt; the proper names of your files. Reference the docs &lt;a href="https://eslint.org/docs/user-guide/configuring/configuration-files#using-configuration-files"&gt;Using Configuration Files&lt;/a&gt; for more information. You should then see your linting errors in the terminal.&lt;/p&gt;

</description>
      <category>h5p</category>
      <category>node</category>
      <category>eslint</category>
      <category>edtech</category>
    </item>
  </channel>
</rss>
