Repository: prettier/prettier-eslint
Pull request #147 (2017-12-05 15:04:45)

Update README.md
Comment is on the wrong line, making the example confusing for new users

codecov-io: # [Codecov](https://codecov.io/gh/prettier/prettier-eslint/pull/147?src=pr&el=h1) Report
> Merging [#147](https://codecov.io/gh/prettier/prettier-eslint/pull/147?src=pr&el=desc) into [master](https://codecov.io/gh/prettier/prettier-eslint/commit/81e36e59b13d707083b6ee272d304b9155269df9?src=pr&el=desc) will **not change** coverage.
> The diff coverage is `n/a`.

[![Impacted file tree graph](https://codecov.io/gh/prettier/prettier-eslint/pull/147/graphs/tree.svg?src=pr&token=SKAX5tKPfD&height=150&width=650)](https://codecov.io/gh/prettier/prettier-eslint/pull/147?src=pr&el=tree)

```diff
@@          Coverage Diff          @@
##           master   #147   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           2      2           
  Lines         204    204           
  Branches       37     37           
=====================================
  Hits          204    204
```



------

[Continue to review full report at Codecov](https://codecov.io/gh/prettier/prettier-eslint/pull/147?src=pr&el=continue).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/prettier/prettier-eslint/pull/147?src=pr&el=footer). Last update [81e36e5...a2d709b](https://codecov.io/gh/prettier/prettier-eslint/pull/147?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).


Patch:
diff --git a/.all-contributorsrc b/.all-contributorsrc
index 16934c5..eb583ae 100644
--- a/.all-contributorsrc
+++ b/.all-contributorsrc
@@ -242,6 +242,16 @@
       "contributions": [
         "doc"
       ]
+    },
+    {
+      "login": "alexmckenley",
+      "name": "Alex Taylor",
+      "avatar_url": "https://avatars1.githubusercontent.com/u/3639670?v=4",
+      "profile": "https://github.com/alexmckenley",
+      "contributions": [
+        "code",
+        "test"
+      ]
     }
   ]
 }
diff --git a/README.md b/README.md
index c8641ff..e4bd066 100644
--- a/README.md
+++ b/README.md
@@ -9,7 +9,7 @@ Formats your JavaScript using [`prettier`][prettier] followed by [`eslint
 [![version][version-badge]][package] [![downloads][downloads-badge]][npm-stat]
 [![MIT License][license-badge]][license]
 
-[![All Contributors](https://img.shields.io/badge/all_contributors-23-orange.svg?style=flat-square)](#contributors)
+[![All Contributors](https://img.shields.io/badge/all_contributors-24-orange.svg?style=flat-square)](#contributors)
 [![PRs Welcome][prs-badge]][prs] [![Donate][donate-badge]][donate]
 [![Code of Conduct][coc-badge]][coc] [![Roadmap][roadmap-badge]][roadmap]
 [![Examples][examples-badge]][examples]
@@ -216,8 +216,7 @@ the code has been processed by this module. That is because `prettier` changes
 this:
 
 ```js
-if (x) {
-  // eslint-disable-line
+if (x) { // eslint-disable-line
 }
 ```
 
@@ -269,13 +268,12 @@ solutions.
 Thanks goes to these people ([emoji key][emojis]):
 
 <!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
-
-| [<img src="https://avatars.githubusercontent.com/u/1500684?v=3" width="100px;"/><br /><sub><b>Kent C. Dodds</b></sub>](https://kentcdodds.com)<br />[💻](https://github.com/prettier/prettier-eslint/commits?author=kentcdodds "Code") [📖](https://github.com/prettier/prettier-eslint/commits?author=kentcdodds "Documentation") [🚇](#infra-kentcdodds "Infrastructure (Hosting, Build-Tools, etc)") [⚠️](https://github.com/prettier/prettier-eslint/commits?author=kentcdodds "Tests") |                                                             [<img src="https://avatars.githubusercontent.com/u/5554486?v=3" width="100px;"/><br /><sub><b>Gyandeep Singh</b></sub>](http://gyandeeps.com)<br />[👀](#review-gyandeeps "Reviewed Pull Requests")                                                             |                                                                               [<img src="https://avatars.githubusercontent.com/u/682584?v=3" width="100px;"/><br /><sub><b>Igor Pnev</b></sub>](https://github.com/exdeniz)<br />[🐛](https://github.com/prettier/prettier-eslint/issues?q=author%3Aexdeniz "Bug reports")                                                                                |                                                                       [<img src="https://avatars.githubusercontent.com/u/813865?v=3" width="100px;"/><br /><sub><b>Benjamin Tan</b></sub>](https://demoneaux.github.io/)<br />[💬](#question-demoneaux "Answering Questions") [👀](#review-demoneaux "Reviewed Pull Requests")                                                                        | [<img src="https://avatars.githubusercontent.com/u/622118?v=3" width="100px;"/><br /><sub><b>Eric McCormick</b></sub>](https://ericmccormick.io)<br />[💻](https://github.com/prettier/prettier-eslint/commits?author=edm00se "Code") [📖](https://github.com/prettier/prettier-eslint/commits?author=edm00se "Documentation") [⚠️](https://github.com/prettier/prettier-eslint/commits?author=edm00se "Tests") |                                                 [<img src="https://avatars.githubusercontent.com/u/2142817?v=3" width="100px;"/><br /><sub><b>Simon Lydell</b></sub>](https://github.com/lydell)<br />[📖](https://github.com/prettier/prettier-eslint/commits?author=lydell "Documentation")                                                  |                                                                                                                                                                                                                                                                                                  [<img src="https://avatars0.githubusercontent.com/u/981957?v=3" width="100px;"/><br /><sub><b>Tom McKearney</b></sub>](https://github.com/tommck)<br />[📖](https://github.com/prettier/prettier-eslint/commits?author=tommck "Documentation") [💡](#example-tommck "Examples")                                                                                                                                                                                                                                                                                                   |
-| :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
-|                                                                                                                     [<img src="https://avatars.githubusercontent.com/u/463105?v=3" width="100px;"/><br /><sub><b>Patrik Åkerstrand</b></sub>](https://github.com/PAkerstrand)<br />[💻](https://github.com/prettier/prettier-eslint/commits?author=PAkerstrand "Code")                                                                                                                      |                                           [<img src="https://avatars.githubusercontent.com/u/1560301?v=3" width="100px;"/><br /><sub><b>Lochlan Bunn</b></sub>](https://twitter.com/loklaan)<br />[💻](https://github.com/prettier/prettier-eslint/commits?author=loklaan "Code")                                           |                                                                         [<img src="https://avatars.githubusercontent.com/u/25886902?v=3" width="100px;"/><br /><sub><b>Daniël Terwiel</b></sub>](https://github.com/danielterwiel)<br />[🔌](#plugin-danielterwiel "Plugin/utility libraries") [🔧](#tool-danielterwiel "Tools")                                                                          |                                                                                                        [<img src="https://avatars1.githubusercontent.com/u/1834413?v=3" width="100px;"/><br /><sub><b>Robin Malfait</b></sub>](https://robinmalfait.com)<br />[🔧](#tool-RobinMalfait "Tools")                                                                                                        |                                                                                  [<img src="https://avatars0.githubusercontent.com/u/8161781?v=3" width="100px;"/><br /><sub><b>Michael McDermott</b></sub>](http://mgmcdermott.com)<br />[💻](https://github.com/prettier/prettier-eslint/commits?author=mgmcdermott "Code")                                                                                   |                                                       [<img src="https://avatars3.githubusercontent.com/u/292365?v=3" width="100px;"/><br /><sub><b>Adam Stankiewicz</b></sub>](http://sheerun.net)<br />[💻](https://github.com/prettier/prettier-eslint/commits?author=sheerun "Code")                                                       |                                                                                                                                                                                                                                                                                                              [<img src="https://avatars3.githubusercontent.com/u/487068?v=3" width="100px;"/><br /><sub><b>Stephen John Sorensen</b></sub>](http://www.stephenjohnsorensen.com/)<br />[💻](https://github.com/prettier/prettier-eslint/commits?author=spudly "Code")                                                                                                                                                                                                                                                                                                               |
-|                                                                     [<img src="https://avatars2.githubusercontent.com/u/1597820?v=3" width="100px;"/><br /><sub><b>Brian Di Palma</b></sub>](https://github.com/briandipalma)<br />[🐛](https://github.com/prettier/prettier-eslint/issues?q=author%3Abriandipalma "Bug reports") [💻](https://github.com/prettier/prettier-eslint/commits?author=briandipalma "Code")                                                                      | [<img src="https://avatars0.githubusercontent.com/u/6173488?v=3" width="100px;"/><br /><sub><b>Rob Wise</b></sub>](https://robwise.github.io)<br />[📖](https://github.com/prettier/prettier-eslint/commits?author=robwise "Documentation") [💻](https://github.com/prettier/prettier-eslint/commits?author=robwise "Code") | [<img src="https://avatars0.githubusercontent.com/u/4818642?v=3" width="100px;"/><br /><sub><b>Patryk Peas</b></sub>](https://github.com/Belir)<br />[🐛](https://github.com/prettier/prettier-eslint/issues?q=author%3ABelir "Bug reports") [💻](https://github.com/prettier/prettier-eslint/commits?author=Belir "Code") [⚠️](https://github.com/prettier/prettier-eslint/commits?author=Belir "Tests") | [<img src="https://avatars2.githubusercontent.com/u/1193520?v=3" width="100px;"/><br /><sub><b>Thijs Koerselman</b></sub>](http://vauxlab.com)<br />[🐛](https://github.com/prettier/prettier-eslint/issues?q=author%3A0x80 "Bug reports") [💻](https://github.com/prettier/prettier-eslint/commits?author=0x80 "Code") [⚠️](https://github.com/prettier/prettier-eslint/commits?author=0x80 "Tests") |                        [<img src="https://avatars3.githubusercontent.com/u/7918284?v=3" width="100px;"/><br /><sub><b>Enrique Caballero</b></sub>](https://github.com/enriquecaballero)<br />[🐛](https://github.com/prettier/prettier-eslint/issues?q=author%3Aenriquecaballero "Bug reports") [💻](https://github.com/prettier/prettier-eslint/commits?author=enriquecaballero "Code")                        | [<img src="https://avatars2.githubusercontent.com/u/1408542?v=3" width="100px;"/><br /><sub><b>Łukasz Moroz</b></sub>](https://github.com/lukaszmoroz)<br />[🐛](https://github.com/prettier/prettier-eslint/issues?q=author%3Alukaszmoroz "Bug reports") [⚠️](https://github.com/prettier/prettier-eslint/commits?author=lukaszmoroz "Tests") | [<img src="https://avatars0.githubusercontent.com/u/1215414?v=3" width="100px;"/><br /><sub><b>Simon Fridlund</b></sub>](https://github.com/zimme)<br />[💬](#question-zimme "Answering Questions") [🐛](https://github.com/prettier/prettier-eslint/issues?q=author%3Azimme "Bug reports") [💻](https://github.com/prettier/prettier-eslint/commits?author=zimme "Code") [📖](https://github.com/prettier/prettier-eslint/commits?author=zimme "Documentation") [💡](#example-zimme "Examples") [🤔](#ideas-zimme "Ideas, Planning, & Feedback") [🚇](#infra-zimme "Infrastructure (Hosting, Build-Tools, etc)") [🔌](#plugin-zimme "Plugin/utility libraries") [👀](#review-zimme "Reviewed Pull Requests") [📢](#talk-zimme "Talks") [⚠️](https://github.com/prettier/prettier-eslint/commits?author=zimme "Tests") [🔧](#tool-zimme "Tools") [✅](#tutorial-zimme "Tutorials") |
-|                                                                           [<img src="https://avatars1.githubusercontent.com/u/921609?v=3" width="100px;"/><br /><sub><b>Oliver Joseph Ash</b></sub>](https://oliverjash.me/)<br />[🐛](https://github.com/prettier/prettier-eslint/issues?q=author%3AOliverJAsh "Bug reports") [💻](https://github.com/prettier/prettier-eslint/commits?author=OliverJAsh "Code")                                                                           |                                       [<img src="https://avatars1.githubusercontent.com/u/3812133?v=3" width="100px;"/><br /><sub><b>Mark Palfreeman</b></sub>](http://palf.co)<br />[📖](https://github.com/prettier/prettier-eslint/commits?author=markpalfreeman "Documentation")                                        |
-
+<!-- prettier-ignore -->
+| [<img src="https://avatars.githubusercontent.com/u/1500684?v=3" width="100px;"/><br /><sub><b>Kent C. Dodds</b></sub>](https://kentcdodds.com)<br />[💻](https://github.com/prettier/prettier-eslint/commits?author=kentcdodds "Code") [📖](https://github.com/prettier/prettier-eslint/commits?author=kentcdodds "Documentation") [🚇](#infra-kentcdodds "Infrastructure (Hosting, Build-Tools, etc)") [⚠️](https://github.com/prettier/prettier-eslint/commits?author=kentcdodds "Tests") | [<img src="https://avatars.githubusercontent.com/u/5554486?v=3" width="100px;"/><br /><sub><b>Gyandeep Singh</b></sub>](http://gyandeeps.com)<br />[👀](#review-gyandeeps "Reviewed Pull Requests") | [<img src="https://avatars.githubusercontent.com/u/682584?v=3" width="100px;"/><br /><sub><b>Igor Pnev</b></sub>](https://github.com/exdeniz)<br />[🐛](https://github.com/prettier/prettier-eslint/issues?q=author%3Aexdeniz "Bug reports") | [<img src="https://avatars.githubusercontent.com/u/813865?v=3" width="100px;"/><br /><sub><b>Benjamin Tan</b></sub>](https://demoneaux.github.io/)<br />[💬](#question-demoneaux "Answering Questions") [👀](#review-demoneaux "Reviewed Pull Requests") | [<img src="https://avatars.githubusercontent.com/u/622118?v=3" width="100px;"/><br /><sub><b>Eric McCormick</b></sub>](https://ericmccormick.io)<br />[💻](https://github.com/prettier/prettier-eslint/commits?author=edm00se "Code") [📖](https://github.com/prettier/prettier-eslint/commits?author=edm00se "Documentation") [⚠️](https://github.com/prettier/prettier-eslint/commits?author=edm00se "Tests") | [<img src="https://avatars.githubusercontent.com/u/2142817?v=3" width="100px;"/><br /><sub><b>Simon Lydell</b></sub>](https://github.com/lydell)<br />[📖](https://github.com/prettier/prettier-eslint/commits?author=lydell "Documentation") | [<img src="https://avatars0.githubusercontent.com/u/981957?v=3" width="100px;"/><br /><sub><b>Tom McKearney</b></sub>](https://github.com/tommck)<br />[📖](https://github.com/prettier/prettier-eslint/commits?author=tommck "Documentation") [💡](#example-tommck "Examples") |
+| :---: | :---: | :---: | :---: | :---: | :---: | :---: |
+| [<img src="https://avatars.githubusercontent.com/u/463105?v=3" width="100px;"/><br /><sub><b>Patrik Åkerstrand</b></sub>](https://github.com/PAkerstrand)<br />[💻](https://github.com/prettier/prettier-eslint/commits?author=PAkerstrand "Code") | [<img src="https://avatars.githubusercontent.com/u/1560301?v=3" width="100px;"/><br /><sub><b>Lochlan Bunn</b></sub>](https://twitter.com/loklaan)<br />[💻](https://github.com/prettier/prettier-eslint/commits?author=loklaan "Code") | [<img src="https://avatars.githubusercontent.com/u/25886902?v=3" width="100px;"/><br /><sub><b>Daniël Terwiel</b></sub>](https://github.com/danielterwiel)<br />[🔌](#plugin-danielterwiel "Plugin/utility libraries") [🔧](#tool-danielterwiel "Tools") | [<img src="https://avatars1.githubusercontent.com/u/1834413?v=3" width="100px;"/><br /><sub><b>Robin Malfait</b></sub>](https://robinmalfait.com)<br />[🔧](#tool-RobinMalfait "Tools") | [<img src="https://avatars0.githubusercontent.com/u/8161781?v=3" width="100px;"/><br /><sub><b>Michael McDermott</b></sub>](http://mgmcdermott.com)<br />[💻](https://github.com/prettier/prettier-eslint/commits?author=mgmcdermott "Code") | [<img src="https://avatars3.githubusercontent.com/u/292365?v=3" width="100px;"/><br /><sub><b>Adam Stankiewicz</b></sub>](http://sheerun.net)<br />[💻](https://github.com/prettier/prettier-eslint/commits?author=sheerun "Code") | [<img src="https://avatars3.githubusercontent.com/u/487068?v=3" width="100px;"/><br /><sub><b>Stephen John Sorensen</b></sub>](http://www.stephenjohnsorensen.com/)<br />[💻](https://github.com/prettier/prettier-eslint/commits?author=spudly "Code") |
+| [<img src="https://avatars2.githubusercontent.com/u/1597820?v=3" width="100px;"/><br /><sub><b>Brian Di Palma</b></sub>](https://github.com/briandipalma)<br />[🐛](https://github.com/prettier/prettier-eslint/issues?q=author%3Abriandipalma "Bug reports") [💻](https://github.com/prettier/prettier-eslint/commits?author=briandipalma "Code") | [<img src="https://avatars0.githubusercontent.com/u/6173488?v=3" width="100px;"/><br /><sub><b>Rob Wise</b></sub>](https://robwise.github.io)<br />[📖](https://github.com/prettier/prettier-eslint/commits?author=robwise "Documentation") [💻](https://github.com/prettier/prettier-eslint/commits?author=robwise "Code") | [<img src="https://avatars0.githubusercontent.com/u/4818642?v=3" width="100px;"/><br /><sub><b>Patryk Peas</b></sub>](https://github.com/Belir)<br />[🐛](https://github.com/prettier/prettier-eslint/issues?q=author%3ABelir "Bug reports") [💻](https://github.com/prettier/prettier-eslint/commits?author=Belir "Code") [⚠️](https://github.com/prettier/prettier-eslint/commits?author=Belir "Tests") | [<img src="https://avatars2.githubusercontent.com/u/1193520?v=3" width="100px;"/><br /><sub><b>Thijs Koerselman</b></sub>](http://vauxlab.com)<br />[🐛](https://github.com/prettier/prettier-eslint/issues?q=author%3A0x80 "Bug reports") [💻](https://github.com/prettier/prettier-eslint/commits?author=0x80 "Code") [⚠️](https://github.com/prettier/prettier-eslint/commits?author=0x80 "Tests") | [<img src="https://avatars3.githubusercontent.com/u/7918284?v=3" width="100px;"/><br /><sub><b>Enrique Caballero</b></sub>](https://github.com/enriquecaballero)<br />[🐛](https://github.com/prettier/prettier-eslint/issues?q=author%3Aenriquecaballero "Bug reports") [💻](https://github.com/prettier/prettier-eslint/commits?author=enriquecaballero "Code") | [<img src="https://avatars2.githubusercontent.com/u/1408542?v=3" width="100px;"/><br /><sub><b>Łukasz Moroz</b></sub>](https://github.com/lukaszmoroz)<br />[🐛](https://github.com/prettier/prettier-eslint/issues?q=author%3Alukaszmoroz "Bug reports") [⚠️](https://github.com/prettier/prettier-eslint/commits?author=lukaszmoroz "Tests") | [<img src="https://avatars0.githubusercontent.com/u/1215414?v=3" width="100px;"/><br /><sub><b>Simon Fridlund</b></sub>](https://github.com/zimme)<br />[💬](#question-zimme "Answering Questions") [🐛](https://github.com/prettier/prettier-eslint/issues?q=author%3Azimme "Bug reports") [💻](https://github.com/prettier/prettier-eslint/commits?author=zimme "Code") [📖](https://github.com/prettier/prettier-eslint/commits?author=zimme "Documentation") [💡](#example-zimme "Examples") [🤔](#ideas-zimme "Ideas, Planning, & Feedback") [🚇](#infra-zimme "Infrastructure (Hosting, Build-Tools, etc)") [🔌](#plugin-zimme "Plugin/utility libraries") [👀](#review-zimme "Reviewed Pull Requests") [📢](#talk-zimme "Talks") [⚠️](https://github.com/prettier/prettier-eslint/commits?author=zimme "Tests") [🔧](#tool-zimme "Tools") [✅](#tutorial-zimme "Tutorials") |
+| [<img src="https://avatars1.githubusercontent.com/u/921609?v=3" width="100px;"/><br /><sub><b>Oliver Joseph Ash</b></sub>](https://oliverjash.me/)<br />[🐛](https://github.com/prettier/prettier-eslint/issues?q=author%3AOliverJAsh "Bug reports") [💻](https://github.com/prettier/prettier-eslint/commits?author=OliverJAsh "Code") | [<img src="https://avatars1.githubusercontent.com/u/3812133?v=3" width="100px;"/><br /><sub><b>Mark Palfreeman</b></sub>](http://palf.co)<br />[📖](https://github.com/prettier/prettier-eslint/commits?author=markpalfreeman "Documentation") | [<img src="https://avatars1.githubusercontent.com/u/3639670?v=4" width="100px;"/><br /><sub><b>Alex Taylor</b></sub>](https://github.com/alexmckenley)<br />[💻](https://github.com/prettier/prettier-eslint/commits?author=alexmckenley "Code") [⚠️](https://github.com/prettier/prettier-eslint/commits?author=alexmckenley "Tests") |
 <!-- ALL-CONTRIBUTORS-LIST:END -->
 
 This project follows the [all-contributors][all-contributors] specification.
diff --git a/package.json b/package.json
index 182c102..5fa3019 100644
--- a/package.json
+++ b/package.json
@@ -15,23 +15,23 @@
   "maintainers": ["Simon Fridlund <simon@fridlund.email>"],
   "license": "MIT",
   "dependencies": {
-    "babel-core": "6.26.0",
     "common-tags": "^1.4.0",
     "dlv": "^1.1.0",
     "eslint": "^4.5.0",
     "indent-string": "^3.2.0",
     "lodash.merge": "^4.6.0",
     "loglevel-colored-level-prefix": "^1.0.0",
-    "prettier": "^1.7.1",
-    "pretty-format": "^21.2.1",
+    "prettier": "^1.9.0",
+    "pretty-format": "^22.0.3",
     "require-relative": "^0.8.7",
     "typescript": "^2.5.1",
-    "typescript-eslint-parser": "^8.0.0"
+    "typescript-eslint-parser": "^11.0.0"
   },
   "devDependencies": {
     "all-contributors-cli": "^4.4.0",
     "babel-cli": "^6.26.0",
-    "babel-jest": "^21.2.0",
+    "babel-core": "6.26.0",
+    "babel-jest": "^22.0.3",
     "babel-plugin-transform-class-properties": "6.24.1",
     "babel-plugin-transform-object-rest-spread": "6.26.0",
     "babel-polyfill": "^6.26.0",
@@ -40,7 +40,7 @@
     "chalk": "^2.1.0",
     "eslint-config-kentcdodds": "^13.0.1",
     "husky": "^0.14.3",
-    "jest-cli": "^21.2.1",
+    "jest-cli": "^22.0.3",
     "nps": "^5.7.1",
     "nps-utils": "^1.3.0",
     "opt-cli": "^1.5.2",
diff --git a/src/index.js b/src/index.js
index bca5991..328c8d8 100644
--- a/src/index.js
+++ b/src/index.js
@@ -61,6 +61,7 @@ function format(options) {
 
   const prettierOptions = merge(
     {},
+    filePath && { filepath: filePath },
     getPrettierConfig(filePath, prettierPath),
     options.prettierOptions
   );
@@ -85,35 +86,30 @@ function format(options) {
     })
   );
 
-  const isCss = /\.(css)$/.test(filePath);
-  const isLess = /\.(less)$/.test(filePath);
-  const isScss = /\.(scss)$/.test(filePath);
-  const isTypeScript = /\.(ts|tsx)$/.test(filePath);
-  const isGraphQL = /\.(graphql|gql)$/.test(filePath);
-  const isJson = /\.json$/.test(filePath);
+  const eslintExtensions = eslintConfig.extensions || [
+    ".js",
+    ".jsx",
+    ".ts",
+    ".tsx"
+  ];
+  const fileExtension = path.extname(filePath || "");
 
-  if (isCss) {
-    formattingOptions.prettier.parser = "css";
-  } else if (isLess) {
-    formattingOptions.prettier.parser = "less";
-  } else if (isScss) {
-    formattingOptions.prettier.parser = "scss";
-  } else if (isTypeScript) {
-    formattingOptions.prettier.parser = "typescript";
-    // XXX: It seems babylon is getting a TypeScript plugin.
-    // Should that be used instead?
-    formattingOptions.eslint.parser = "typescript-eslint-parser";
-  } else if (isGraphQL) {
-    formattingOptions.prettier.parser = "graphql";
-  } else if (isJson) {
-    formattingOptions.prettier.parser = "json";
-    formattingOptions.prettier.trailingComma = "none";
-  }
+  // If we don't get filePath run eslint on text, otherwise only run eslint
+  // if it's a configured extension or fall back to a "supported" file type.
+  const onlyPrettier = filePath
+    ? !eslintExtensions.includes(fileExtension)
+    : false;
 
   const prettify = createPrettify(formattingOptions.prettier, prettierPath);
 
-  if (isCss || isLess || isScss || isGraphQL || isJson) {
-    return prettify(text, filePath);
+  if (onlyPrettier) {
+    return prettify(text);
+  }
+
+  if ([".ts", ".tsx"].includes(fileExtension)) {
+    // XXX: It seems babylon is getting a TypeScript plugin.
+    // Should that be used instead?
+    formattingOptions.eslint.parser = "typescript-eslint-parser";
   }
 
   const eslintFix = createEslintFix(formattingOptions.eslint, eslintPath);
diff --git a/src/utils.js b/src/utils.js
index 66e6ebf..d0db63b 100644
--- a/src/utils.js
+++ b/src/utils.js
@@ -29,7 +29,7 @@ const OPTION_GETTERS = {
     ruleValueToPrettierOption: getSingleQuote
   },
   trailingComma: {
-    ruleValue: rules => getRuleValue(rules, "comma-dangle"),
+    ruleValue: rules => getRuleValue(rules, "comma-dangle", []),
     ruleValueToPrettierOption: getTrailingComma
   },
   bracketSpacing: {
@@ -43,6 +43,15 @@ const OPTION_GETTERS = {
   useTabs: {
     ruleValue: rules => getRuleValue(rules, "indent"),
     ruleValueToPrettierOption: getUseTabs
+  },
+  jsxBracketSameLine: {
+    ruleValue: rules =>
+      getRuleValue(rules, "react/jsx-closing-bracket-location", "nonEmpty"),
+    ruleValueToPrettierOption: getJsxBracketSameLine
+  },
+  arrowParens: {
+    ruleValue: rules => getRuleValue(rules, "arrow-parens"),
+    ruleValueToPrettierOption: getArrowParens
   }
 };
 
@@ -193,16 +202,18 @@ function getSingleQuote(eslintValue, fallbacks) {
   return makePrettierOption("singleQuote", prettierValue, fallbacks);
 }
 
-function getTrailingComma(value, fallbacks, rules) {
+function getTrailingComma(eslintValue, fallbacks) {
   let prettierValue;
-  const actualValue = rules["comma-dangle"];
 
-  if (value === "never") {
+  if (eslintValue === "never") {
     prettierValue = "none";
-  } else if (value && value.indexOf("always") === 0) {
+  } else if (
+    typeof eslintValue === "string" &&
+    eslintValue.indexOf("always") === 0
+  ) {
     prettierValue = "es5";
-  } else if (typeof actualValue === "object") {
-    prettierValue = getValFromTrailingCommaConfig(actualValue);
+  } else if (typeof eslintValue === "object") {
+    prettierValue = getValFromTrailingCommaConfig(eslintValue);
   } else {
     prettierValue = RULE_NOT_CONFIGURED;
   }
@@ -211,7 +222,7 @@ function getTrailingComma(value, fallbacks, rules) {
 }
 
 function getValFromTrailingCommaConfig(objectConfig) {
-  const [, { arrays = "", objects = "", functions = "" }] = objectConfig;
+  const { arrays = "", objects = "", functions = "" } = objectConfig;
   const fns = isAlways(functions);
   const es5 = [arrays, objects].some(isAlways);
 
@@ -264,6 +275,36 @@ function getUseTabs(eslintValue, fallbacks) {
   return makePrettierOption("useTabs", prettierValue, fallbacks);
 }
 
+function getJsxBracketSameLine(eslintValue, fallbacks) {
+  let prettierValue;
+
+  if (eslintValue === "after-props") {
+    prettierValue = true;
+  } else if (
+    eslintValue === "tag-aligned" ||
+    eslintValue === "line-aligned" ||
+    eslintValue === "props-aligned"
+  ) {
+    prettierValue = false;
+  } else {
+    prettierValue = eslintValue;
+  }
+
+  return makePrettierOption("jsxBracketSameLine", prettierValue, fallbacks);
+}
+
+function getArrowParens(eslintValue, fallbacks) {
+  let prettierValue;
+
+  if (eslintValue === "as-needed") {
+    prettierValue = "avoid";
+  } else {
+    prettierValue = eslintValue;
+  }
+
+  return makePrettierOption("arrowParens", prettierValue, fallbacks);
+}
+
 function extractRuleValue(objPath, name, value) {
   if (objPath) {
     logger.trace(


Test patch:
diff --git a/src/__tests__/index.js b/src/__tests__/index.js
index f93d084..8938a5c 100644
--- a/src/__tests__/index.js
+++ b/src/__tests__/index.js
@@ -185,6 +185,14 @@ const tests = [
       filePath: path.resolve("./test.json")
     },
     output: '{ "foo": "bar" }'
+  },
+  {
+    title: "Markdown example",
+    input: {
+      text: "#   Foo\n _bar_",
+      filePath: path.resolve("./test.md")
+    },
+    output: "# Foo\n\n_bar_"
   }
 ];
 
diff --git a/src/__tests__/utils.js b/src/__tests__/utils.js
index 419cbc2..2f21c0a 100644
--- a/src/__tests__/utils.js
+++ b/src/__tests__/utils.js
@@ -110,6 +110,42 @@ const getPrettierOptionsFromESLintRulesTests = [
     rules: { "comma-dangle": [2, "always-multiline"] },
     options: { trailingComma: "es5" }
   },
+  {
+    rules: {},
+    options: { jsxBracketSameLine: true },
+    fallbackPrettierOptions: { jsxBracketSameLine: true }
+  },
+  {
+    rules: { "react/jsx-closing-bracket-location": [2, "after-props"] },
+    options: { jsxBracketSameLine: true }
+  },
+  {
+    rules: { "react/jsx-closing-bracket-location": [2, "tag-aligned"] },
+    options: { jsxBracketSameLine: false }
+  },
+  {
+    rules: {
+      "react/jsx-closing-bracket-location": [
+        2,
+        {
+          nonEmpty: "after-props"
+        }
+      ]
+    },
+    options: { jsxBracketSameLine: true }
+  },
+  {
+    rules: {
+      "arrow-parens": [2, "always"]
+    },
+    options: { arrowParens: "always" }
+  },
+  {
+    rules: {
+      "arrow-parens": [2, "as-needed"]
+    },
+    options: { arrowParens: "avoid" }
+  },
 
   // If an ESLint rule is disabled fall back to prettier defaults.
   { rules: { "max-len": [0, { code: 120 }] }, options: {} },
@@ -127,7 +163,9 @@ const getPrettierOptionsFromESLintRulesTests = [
   { rules: { indent: ["warn", 2] }, options: { tabWidth: 2 } },
   { rules: { indent: ["warn", 4] }, options: { tabWidth: 4 } },
   { rules: { indent: ["error", "tab"] }, options: { useTabs: true } },
-  { rules: { indent: [2, "tab"] }, options: { useTabs: true } }
+  { rules: { indent: [2, "tab"] }, options: { useTabs: true } },
+  { rules: { "react/jsx-closing-bracket-location": [0] }, options: {} },
+  { rules: { "arrow-parens": [0] }, options: {} }
 ];
 
 getPrettierOptionsFromESLintRulesTests.forEach(