<commit_before><!--
You can `npm run web:update-frontpage-code-sample` to render this code snippet and
save it as a layout partial
-->
<figure class="highlight js"><figcaption><span>app.es6</span><a href="/examples/dragdrop/app.es6">view raw</a></figcaption><table><tr><td class="code"><pre><span class="line"><span class="keyword">import</span> Uppy <span class="keyword">from</span> <span class="string">'uppy/core'</span>;</span><br><span class="line"><span class="keyword">import</span> { DragDrop, Tus10 } <span class="keyword">from</span> <span class="string">'uppy/plugins'</span>;</span><br><span class="line"></span><br><span class="line"><span class="keyword">const</span> uppy = <span class="keyword">new</span> Uppy({wait: <span class="literal">false</span>});</span><br><span class="line"><span class="keyword">const</span> files = uppy</span><br><span class="line">  .use(DragDrop, {selector: <span class="string">'#upload-target'</span>})</span><br><span class="line">  .use(Tus10, {endpoint: <span class="string">'http://master.tus.io:8080'</span>})</span><br><span class="line">  .run();</span><br><span class="line"></span><br><span class="line"><span class="built_in">console</span>.log(uppy.type);</span><br></pre></td></tr></table></figure><commit_msg>Update frontpage sample via new eslint standard<commit_after><!--
You can `npm run web:update-frontpage-code-sample` to render this code snippet and
save it as a layout partial
-->
<figure class="highlight js"><figcaption><span>app.es6</span><a href="/examples/dragdrop/app.es6">view raw</a></figcaption><table><tr><td class="code"><pre><span class="line"><span class="keyword">import</span> Uppy <span class="keyword">from</span> <span class="string">'uppy/core'</span></span><br><span class="line"><span class="keyword">import</span> { DragDrop, Tus10 } <span class="keyword">from</span> <span class="string">'uppy/plugins'</span></span><br><span class="line"></span><br><span class="line">const uppy = new Uppy({wait: false})</span><br><span class="line">const files = uppy</span><br><span class="line">  .use(DragDrop, {selector: <span class="string">'#upload-target'</span>})</span><br><span class="line">  .use(Tus10, {endpoint: <span class="string">'http://master.tus.io:8080/files/'</span>})</span><br><span class="line">  .run()</span><br><span class="line"></span><br><span class="line">console.log(<span class="string">'Uppy '</span> + uppy.type + <span class="string">' loaded'</span>)</span><br></pre></td></tr></table></figure>
{'fraction_non_alphanumeric': 0.25258552108194116, 'fraction_numerical': 0.007955449482895784, 'mean_word_length': 8.41947565543071, 'pattern_counts': {'":': 0, '<': 143, '<?xml version=': 0, '>': 143, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '677333', 'n_tokens_mistral': 835, 'n_tokens_neox': 807, 'n_words': 140}