title: Eslint state already declared [Vuex]
body: <p>I am running ESLint and I am currently running into the following ESLint error:</p>
  
  <blockquote>
    <p>error  'state' is already declared in the upper scope  no-shadow</p>
  </blockquote>
  
  <pre><code>const state = {
      date: '',
      show: false
  };
  
  const getters = {
      date: state =&gt; state.date,
      show: state =&gt; state.show
  };
  
  const mutations = {
      updateDate(state, payload) {
          state.date = payload.date;
      },
      showDatePicker(state) {
          state.show = true;
      }
  };
  
  export default {
      state,
      getters,
      mutations
  };
  </code></pre>
  
  <p>What would be the best way to fix this?</p>