title: Eslint error: Value [{"disallowRedundantWrapping":true}] should NOT have more than 0 items
body: <p>I'm coding on a small personal project to develop my skills in React and I'm having a lot of issues with eslint and prettier to the point that half my time on the project I'm looking at eslint stuff because it stops auto formatting my code. Usually I can solve the problem, but this time I didn't. I'm getting this: <code>Value [{&quot;disallowRedundantWrapping&quot;:true}] should NOT have more than 0 items</code>. I'm not really sure why, I don't even have this rule in my eslint configuration file.</p>
  <p>The full error I get from VS Code is this</p>
  <pre><code>[Error - 6:30:09 PM] Request textDocument/formatting failed.
    Message: Request textDocument/formatting failed with message: .eslintrc.json » eslint-config-airbnb » /media/{my_path_here}/node_modules/eslint-config-airbnb-base/index.js » /media/{my_path}/node_modules/eslint-config-airbnb-base/rules/best-practices.js:
      Configuration for rule &quot;prefer-regex-literals&quot; is invalid:
      Value [{&quot;disallowRedundantWrapping&quot;:true}] should NOT have more than 0 items.
  
    Code: -32603 
  </code></pre>
  <p>my eslint file:</p>
  <pre><code>  &quot;env&quot;: {
      &quot;browser&quot;: true,
      &quot;es2020&quot;: true
    },
    &quot;extends&quot;: [&quot;plugin:react/recommended&quot;, &quot;airbnb&quot;],
    &quot;parserOptions&quot;: {
      &quot;ecmaFeatures&quot;: {
        &quot;jsx&quot;: true
      },
      &quot;sourceType&quot;: &quot;module&quot;
    },
    &quot;plugins&quot;: [&quot;react&quot;, &quot;react-hooks&quot;],
    &quot;rules&quot;: {
      &quot;indent&quot;: [&quot;error&quot;, 2],
      &quot;linebreak-style&quot;: 0,
      &quot;quotes&quot;: [&quot;error&quot;, &quot;single&quot;],
      &quot;semi&quot;: [&quot;error&quot;, &quot;always&quot;],
      &quot;complexity&quot;: [&quot;off&quot;, 11],
      &quot;jsx-a11y/label-has-associated-control&quot;: &quot;off&quot;,
      &quot;jsx-a11y/label-has-for&quot;: &quot;off&quot;,
      &quot;no-magic-numbers&quot;: [
        &quot;error&quot;,
        {
          &quot;ignore&quot;: [0, 1],
          &quot;ignoreArrayIndexes&quot;: true,
          &quot;enforceConst&quot;: true,
          &quot;detectObjects&quot;: false
        }
      ],
      &quot;react/jsx-curly-spacing&quot;: [
        2,
        { &quot;when&quot;: &quot;always&quot;, &quot;allowMultiline&quot;: false }
      ],
      &quot;arrow-parens&quot;: [2, &quot;always&quot;],
      &quot;class-methods-use-this&quot;: [&quot;off&quot;],
      &quot;react/button-has-type&quot;: [
        &quot;error&quot;,
        {
          &quot;button&quot;: true,
          &quot;submit&quot;: true,
          &quot;reset&quot;: true
        }
      ],
      &quot;no-console&quot;: [&quot;off&quot;],
      &quot;no-underscore-dangle&quot;: [&quot;off&quot;],
      &quot;no-param-reassign&quot;: [&quot;off&quot;],
      &quot;consistent-return&quot;: [&quot;off&quot;],
      &quot;no-undef&quot;: [&quot;off&quot;],
      &quot;max-len&quot;: [
        &quot;error&quot;,
        {
          &quot;code&quot;: 90,
          &quot;ignoreComments&quot;: true,
          &quot;ignoreUrls&quot;: true
        }
      ],
      &quot;object-curly-newline&quot;: [&quot;off&quot;],
      &quot;import/no-extraneous-dependencies&quot;: [&quot;off&quot;],
      &quot;react/jsx-filename-extension&quot;: [1, { &quot;extensions&quot;: [&quot;.js&quot;, &quot;.jsx&quot;] }],
      &quot;react/default-props-match-prop-types&quot;: [
        &quot;error&quot;,
        { &quot;allowRequiredDefaults&quot;: false }
      ],
      &quot;react/no-array-index-key&quot;: [&quot;off&quot;],
      &quot;react/destructuring-assignment&quot;: [&quot;error&quot;, &quot;always&quot;],
      &quot;react/forbid-component-props&quot;: [&quot;error&quot;],
      &quot;react/forbid-prop-types&quot;: [&quot;error&quot;],
      &quot;react/no-did-mount-set-state&quot;: [&quot;error&quot;],
      &quot;react/no-did-update-set-state&quot;: [&quot;error&quot;],
      &quot;react/jsx-props-no-spreading&quot;: [&quot;off&quot;],
      &quot;react/no-multi-comp&quot;: [&quot;error&quot;, { &quot;ignoreStateless&quot;: false }],
      &quot;react/prefer-stateless-function&quot;: [&quot;off&quot;],
      &quot;react/no-access-state-in-setstate&quot;: [&quot;error&quot;],
      &quot;react/no-redundant-should-component-update&quot;: [&quot;error&quot;],
      &quot;react/no-this-in-sfc&quot;: [&quot;error&quot;],
      &quot;react/no-typos&quot;: [&quot;error&quot;],
      &quot;react/no-unsafe&quot;: [&quot;error&quot;],
      &quot;react/no-unused-state&quot;: [&quot;error&quot;],
      &quot;react/no-will-update-set-state&quot;: [&quot;error&quot;],
      &quot;react/prefer-es6-class&quot;: [&quot;error&quot;, &quot;always&quot;],
      &quot;react/self-closing-comp&quot;: [&quot;error&quot;],
      &quot;react/state-in-constructor&quot;: [&quot;error&quot;, &quot;always&quot;],
      &quot;react/void-dom-elements-no-children&quot;: [&quot;error&quot;],
      &quot;react/jsx-closing-bracket-location&quot;: [&quot;error&quot;],
      &quot;react/jsx-closing-tag-location&quot;: [&quot;error&quot;],
      &quot;react/jsx-curly-newline&quot;: [&quot;error&quot;],
      &quot;react/jsx-fragments&quot;: [&quot;error&quot;],
      &quot;react/jsx-max-depth&quot;: [&quot;error&quot;, { &quot;max&quot;: 8 }],
      &quot;react/jsx-no-useless-fragment&quot;: [&quot;error&quot;],
      &quot;react/jsx-equals-spacing&quot;: [&quot;error&quot;, &quot;never&quot;],
      &quot;react/jsx-first-prop-new-line&quot;: [&quot;error&quot;, &quot;multiline&quot;],
      &quot;react/jsx-indent&quot;: [
        &quot;error&quot;,
        2,
        { &quot;checkAttributes&quot;: true, &quot;indentLogicalExpressions&quot;: true }
      ],
      &quot;react/jsx-indent-props&quot;: [&quot;error&quot;, 2],
      &quot;react/jsx-key&quot;: [&quot;error&quot;],
      &quot;react/jsx-max-props-per-line&quot;: [
        &quot;error&quot;,
        { &quot;maximum&quot;: 1, &quot;when&quot;: &quot;multiline&quot; }
      ],
      &quot;react/jsx-tag-spacing&quot;: [
        &quot;error&quot;,
        {
          &quot;closingSlash&quot;: &quot;never&quot;,
          &quot;beforeSelfClosing&quot;: &quot;always&quot;,
          &quot;afterOpening&quot;: &quot;never&quot;,
          &quot;beforeClosing&quot;: &quot;never&quot;
        }
      ],
      &quot;react/jsx-wrap-multilines&quot;: [
        &quot;error&quot;,
        {
          &quot;declaration&quot;: &quot;parens&quot;,
          &quot;assignment&quot;: &quot;parens&quot;,
          &quot;return&quot;: &quot;parens&quot;,
          &quot;arrow&quot;: &quot;parens&quot;,
          &quot;condition&quot;: &quot;ignore&quot;,
          &quot;logical&quot;: &quot;ignore&quot;,
          &quot;prop&quot;: &quot;ignore&quot;
        }
      ],
      &quot;react-hooks/rules-of-hooks&quot;: &quot;error&quot;,
      &quot;react-hooks/exhaustive-deps&quot;: 0,
      &quot;react/function-component-definition&quot;: [
        2,
        {
          &quot;namedComponents&quot;: &quot;arrow-function&quot;,
          &quot;unnamedComponents&quot;: &quot;arrow-function&quot;
        }
      ],
      &quot;prefer-regex-literals&quot;: [&quot;error&quot;, { &quot;disallowRedundantWrapping&quot;: false }]
    }
  }```
  
  I've tried to turn this rule off as shown on the last line above, but it didn't work. Can you help me?
  
  edit: remove out of context sentence
  </code></pre>