All caps constants in JavaScript. And requireds. And imports
<p>I was used to declare constant values using all caps. Then I started using <code>const</code> for any value that never changes. Suddenly most things are constants. That is ok.</p>

<p>But the code starts to look very different.</p>

<p>It was talked about already: <a href="https://softwareengineering.stackexchange.com/questions/278652/how-much-should-i-be-using-let-vs-const-in-es6">https://softwareengineering.stackexchange.com/questions/278652/how-much-should-i-be-using-let-vs-const-in-es6</a></p>

<p>I am ok with "go ahead and <code>const</code> all the things!". I guess. There will be a lot of all caps around my code.</p>

<p>But there is more.</p>

<p>By this logic required stuff should be constants? I never reassigned a required. So, yes?</p>

<pre><code>const GULP = require('gulp');
const ESLINT = require('gulp-eslint');
</code></pre>

<p>And imports are not reassignable so it should be:</p>

<pre><code>import SOMETHING from 'modules/something';
</code></pre>

<p>Right?</p>

<p>I am looking for references. Best practices about constants. Someone who thought this out for longer and better than I did so far.</p>

<p>Or should I just choose any option and be consistent from then on?</p>

<p>I could not find a discussion considering at least all these points to help me organize my ideas about it. Yet.</p>