title: eslint max-line-per-function disable for object-shorthand
body: <pre><code>const mailParams = ({
    ToAddresses,
    CcAddresses,
    subject,
    sourceEmail,
    mailTemplate
  }) =&gt; ({
    Destination: {
      ToAddresses,
      CcAddresses
    },
    Message: {
      Body: {
        Html: {
          Charset: 'UTF-8',
          Data: mailTemplate
        }
      },
      Subject: {
        Charset: 'UTF-8',
        Data: `${subject}`
      }
    },
    Source: `${sourceEmail}`
  });
  </code></pre>
  
  <p>showing <strong>Arrow function has too many lines (25). Maximum allowed is 15.eslint(max-lines-per-function)</strong> eslint counting everything as a new line.how can we suppress <strong>object-shorthand</strong> and <strong>function-paren-newline": ["error", { "minItems": 3 }]</strong> line to be considered as one
  ie: <strong>total number of lines sholud be 5 or 2</strong></p>