title: Eslint with Prettier. Unable to prevent eslint-config-prettier line-length errors
body: <p><strong>See Edits at bottom</strong></p>
  
  <p>I have a JavaScript file that I am linting with Eslint. I am using Prettier to format the code.</p>
  
  <p>My personal choice on this file is to increase the line-length beyond the 80 chars that Prettier has as a default to 2000 chars.</p>
  
  <p>So I have a prettierrc.config.js:</p>
  
  <pre><code>module.exports = {
    printWidth: 2000
  };
  </code></pre>
  
  <p>Which works when I format the code, and I have a .eslintrc.js</p>
  
  <pre><code>module.exports = {
    "parserOptions": {
      "ecmaVersion": 6
    },
    "env": {
      "es6": true,
      "browser": true
    },
    "extends": [
      "eslint-config-airbnb-base",
      "eslint-config-prettier"
    ],
    "plugins": [
      "eslint-plugin-import",
      "eslint-plugin-prettier"
    ],
    "rules": {
      "prettier/prettier": ["error", {}],
      "max-len": ["error", {"code": 2000, "ignoreUrls": true}],
      "linebreak-style": 0,
      "no-use-before-define": ["error", { "functions": false, "classes": false }],
      "no-plusplus": ["error", { "allowForLoopAfterthoughts": true }],
      "no-underscore-dangle": 0,
      "import/no-amd": 0,
      "import/no-dynamic-require": 0,
    },
    "globals": {
      "define": true
    }
  };
  </code></pre>
  
  <p>Everytime I lint the file, it complains about the length of certain lines.</p>
  
  <p><strong>Edit</strong> for clarity:</p>
  
  <p>I am using <strong>eslint v4.19.1</strong> and <strong>prettier 1.10.2</strong>. Config files are being read and used correctly.</p>
  
  <p><strong>Edit</strong> for additional information 2018/05/30</p>
  
  <p>I have discovered the distinction in the lint errors. Max-len is working correctly, and the value I have provided as an override in rules is being respected. </p>
  
  <p>What the prettier config has a problem with is the length of some of my conditional expressions. I can see it is wanting to put them on new lines with additional white space. This is now the config I am looking to override. it seems to be a different rule to max-len. The example below is a conditional expression with a length of 60 characters and it is triggering a lint error. The whole line is only 84 characters long (* to represent spaces).</p>
  
  <pre><code>**********} else if (firstSessionDate &gt; this.sessionsData[i].SessionStartDateTime) {
  </code></pre>