title: how to support inline comments when using eslint-prettier/prettier?
body: <p>i want to turn off the rule in prettier where it newlines an inline comment. my ESLint rule <code>no-inline-comments</code> is set to off or warn, so that is taken care of and works. turns out Prettier still wants to newline and inline comment:</p>
  
  <p><a href="https://i.stack.imgur.com/TReDN.png" rel="noreferrer"><img src="https://i.stack.imgur.com/TReDN.png" alt="enter image description here"></a></p>
  
  <p>i have a setup in my VSCode where ESLint is handling prettier for JS and the Prettier extension is handling all the other languages. im also using the <code>airbnb-base</code>. here are my relevant configs:</p>
  
  <p><code>.eslintrc.json</code>:</p>
  
  <pre><code>{
    "extends": ["airbnb-base", "plugin:prettier/recommended"],
    "rules": {
      "no-console": 0,
      "no-plusplus": 0,
      "no-inline-comments": "off",
      "no-undef": "warn",
      "no-use-before-define": "warn",
      "no-restricted-syntax": [
        "warn",
        {
          "selector": "ForOfStatement",
          "message": "frowned upon using For...Of"
        }
      ]
      // "line-comment-position": ["warn", { "position": "above" }]
    },
    "env": {
      "browser": true,
      "webextensions": true
    }
  }
  </code></pre>
  
  <p>VSCode <code>settings.json</code>:</p>
  
  <pre><code>  // all auto-save configs
    "editor.formatOnSave": true,
    // turn off for native beautifyjs
    "[javascript]": {
      "editor.formatOnSave": false
    },
    "eslint.autoFixOnSave": true,
    "eslint.alwaysShowStatus": true,
    "prettier.disableLanguages": ["js"],
    "prettier.trailingComma": "es5"
  }
  </code></pre>
  
  <p>i know you can do <code>// eslint-disable-next-line prettier/prettier</code> above what you want ignored but i obviously wouldnt want to set that every time. you can see it commented out in my picture above.</p>
  
  <blockquote>
    <p>Generally, you get the best results when placing comments on their own lines, instead of at the end of lines. Prefer <code>// eslint-disable-next-line</code> over <code>// eslint-disable-line</code>.</p>
  </blockquote>
  
  <p><a href="https://prettier.io/docs/en/rationale.html#comments" rel="noreferrer">https://prettier.io/docs/en/rationale.html#comments</a></p>
  
  <p>im not sure if this is useful in this situation?:</p>
  
  <blockquote>
    <p>Note: While it is possible to pass options to Prettier via your ESLint configuration file, it is not recommended because editor extensions such as <code>prettier-atom</code> and <code>prettier-vscode</code> will read <code>.prettierrc</code>, but won't read settings from ESLint, which can lead to an inconsistent experience.</p>
  </blockquote>
  
  <p><a href="https://github.com/prettier/eslint-plugin-prettier#options" rel="noreferrer">https://github.com/prettier/eslint-plugin-prettier#options</a></p>
  
  <p>ive talked to a few people and it might not even possible? though, it is a rule somewhere and that should be able to be overridden. if there is any other information i can provide i will.</p>