Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

eslint-plugin-prettier

prettier74.4mMIT5.2.6TypeScript support: included

Runs prettier as an eslint rule

eslint, eslintplugin, eslint-plugin, prettier

readme

eslint-plugin-prettier Build Status

Runs Prettier as an ESLint rule and reports differences as individual ESLint issues.

If your desired formatting does not match Prettier’s output, you should use a different tool such as prettier-eslint instead.

Please read Integrating with linters before installing.

TOC

Sample

error: Insert `,` (prettier/prettier) at pkg/commons-atom/ActiveEditorRegistry.js:22:25:
  20 | import {
  21 |   observeActiveEditorsDebounced,
> 22 |   editorChangesDebounced
     |                         ^
  23 | } from './debounced';;
  24 |
  25 | import {observableFromSubscribeFunction} from '../commons-node/event';


error: Delete `;` (prettier/prettier) at pkg/commons-atom/ActiveEditorRegistry.js:23:21:
  21 |   observeActiveEditorsDebounced,
  22 |   editorChangesDebounced
> 23 | } from './debounced';;
     |                     ^
  24 |
  25 | import {observableFromSubscribeFunction} from '../commons-node/event';
  26 | import {cacheWhileSubscribed} from '../commons-node/observable';


2 errors found.

./node_modules/.bin/eslint --format codeframe pkg/commons-atom/ActiveEditorRegistry.js (code from nuclide).

Installation

npm install --save-dev eslint-plugin-prettier eslint-config-prettier
npm install --save-dev --save-exact prettier

eslint-plugin-prettier does not install Prettier or ESLint for you. You must install these yourself.

This plugin works best if you disable all other ESLint rules relating to code formatting, and only enable rules that detect potential bugs. If another active ESLint rule disagrees with prettier about how code should be formatted, it will be impossible to avoid lint errors. Our recommended configuration automatically enables eslint-config-prettier to disable all formatting-related ESLint rules.

Configuration (legacy: .eslintrc*)

For legacy configuration, this plugin ships with a plugin:prettier/recommended config that sets up both eslint-plugin-prettier and eslint-config-prettier in one go.

Add plugin:prettier/recommended as the last item in the extends array in your .eslintrc* config file, so that eslint-config-prettier has the opportunity to override other configs:

{
  "extends": ["plugin:prettier/recommended"]
}

This will:

  • Enable the prettier/prettier rule.
  • Disable the arrow-body-style and prefer-arrow-callback rules which are problematic with this plugin - see the below for why.
  • Enable the eslint-config-prettier config which will turn off ESLint rules that conflict with Prettier.

Configuration (new: eslint.config.js)

For flat configuration, this plugin ships with an eslint-plugin-prettier/recommended config that sets up both eslint-plugin-prettier and eslint-config-prettier in one go.

Import eslint-plugin-prettier/recommended and add it as the last item in the configuration array in your eslint.config.js file so that eslint-config-prettier has the opportunity to override other configs:

const eslintPluginPrettierRecommended = require('eslint-plugin-prettier/recommended');

module.exports = [
  // Any other config imports go at the top
  eslintPluginPrettierRecommended,
];

This will:

  • Enable the prettier/prettier rule.
  • Disable the arrow-body-style and prefer-arrow-callback rules which are problematic with this plugin - see the below for why.
  • Enable the eslint-config-prettier config which will turn off ESLint rules that conflict with Prettier.

Svelte support

We recommend to use eslint-plugin-svelte instead of eslint-plugin-svelte3 because eslint-plugin-svelte has a correct eslint-svelte-parser instead of hacking.

When use with eslint-plugin-svelte3, eslint-plugin-prettier will just ignore the text passed by eslint-plugin-svelte3, because the text has been modified.

If you still decide to use eslint-plugin-svelte3, you'll need to run prettier --write *.svelte manually.

arrow-body-style and prefer-arrow-callback issue

If you use arrow-body-style or prefer-arrow-callback together with the prettier/prettier rule from this plugin, you can in some cases end up with invalid code due to a bug in ESLint’s autofix – see issue #65.

For this reason, it’s recommended to turn off these rules. The plugin:prettier/recommended config does that for you.

You can still use these rules together with this plugin if you want, because the bug does not occur all the time. But if you do, you need to keep in mind that you might end up with invalid code, where you manually have to insert a missing closing parenthesis to get going again.

If you’re fixing large of amounts of previously unformatted code, consider temporarily disabling the prettier/prettier rule and running eslint --fix and prettier --write separately.

Options

Note: While it is possible to pass options to Prettier via your ESLint configuration file, it is not recommended because editor extensions such as prettier-atom and prettier-vscode will read .prettierrc, but won't read settings from ESLint, which can lead to an inconsistent experience.

  • The first option:

    • An object representing options that will be passed into prettier. Example:

      {
        "prettier/prettier": [
          "error",
          {
            "singleQuote": true,
            "parser": "flow"
          }
        ]
      }

      NB: This option will merge and override any config set with .prettierrc files

  • The second option:

    • An object with the following options

      • usePrettierrc: Enables loading of the Prettier configuration file, (default: true). May be useful if you are using multiple tools that conflict with each other, or do not wish to mix your ESLint settings with your Prettier configuration. And also, it is possible to run prettier without loading the prettierrc config file via the CLI's --no-config option or through the API by calling prettier.format() without passing through the options generated by calling resolveConfig.

        {
          "prettier/prettier": [
            "error",
            {},
            {
              "usePrettierrc": false
            }
          ]
        }
      • fileInfoOptions: Options that are passed to prettier.getFileInfo to decide whether a file needs to be formatted. Can be used for example to opt-out from ignoring files located in node_modules directories.

        {
          "prettier/prettier": [
            "error",
            {},
            {
              "fileInfoOptions": {
                "withNodeModules": true
              }
            }
          ]
        }
  • The rule is auto fixable -- if you run eslint with the --fix flag, your code will be formatted according to prettier style.


Sponsors

@prettier/plugin-eslint eslint-config-prettier eslint-plugin-prettier prettier-eslint prettier-eslint-cli
@prettier/plugin-eslint Open Collective sponsors eslint-config-prettier Open Collective backers eslint-plugin-prettier Open Collective backers prettier-eslint Open Collective sponsors prettier-eslint-cli Open Collective backers

Backers

@prettier/plugin-eslint eslint-config-prettier eslint-plugin-prettier prettier-eslint prettier-eslint-cli
@prettier/plugin-eslint Open Collective backers eslint-config-prettier Open Collective backers eslint-plugin-prettier Open Collective backers prettier-eslint Open Collective backers prettier-eslint-cli Open Collective backers

Contributing

See CONTRIBUTING.md

Changelog

Detailed changes for each release are documented in CHANGELOG.md.

License

MIT

changelog

Changelog

5.2.6

Patch Changes

5.2.5

Patch Changes

5.2.4

Patch Changes

5.2.3

Patch Changes

5.2.2

Patch Changes

5.2.1

Patch Changes

5.2.0

Minor Changes

5.1.3

Patch Changes

5.1.2

Patch Changes

  • #623 8210e44 Thanks @BPScott! - Add exports mapping to package.json, to allow import eslintPluginRecommended from 'eslint-plugin-prettier/recommended' to work as expected.

    Strictly speaking this is a breaking change as it removes the ability for people to import from "eslint-plugin-prettier/eslint-plugin-prettier.js" and "eslint-plugin-prettier/recommended.js" but the former was never recommended in the first place and the latter has only been available for a few days.

  • #621 2b09e7f Thanks @JounQin! - feat: support parsing markdown via eslint-mdx natively

    What means the following is unnecessary anymore when using with eslint-mdx/eslint-plugin-mdx!

    [
      {
        files: ["**/*.md"],
        rules: { "prettier/prettier": ["error", { parser: "markdown" }] },
      },
      {
        files: ["**/*.mdx"],
        rules: { "prettier/prettier": ["error", { parser: "mdx" }] },
      },
    ]

5.1.1

Patch Changes

5.1.0

Minor Changes

  • #616 3856413 Thanks @BPScott! - Add recommended config for the flat config format.

    If you are using flat config, import the recommended config from eslint-plugin-prettier/recommended. Like the legacy format recommended config, this automatically includes the contents of eslint-config-prettier.

    // eslint.config.js
    const eslintPluginPrettierRecommended = require("eslint-plugin-prettier/recommended");
    
    module.exports = [
      // Any other config imports go at the top
      eslintPluginPrettierRecommended,
    ];

Patch Changes

  • #614 5270877 Thanks @BPScott! - Add meta block to plugin. This improves debugging and cachebusting when using the new flat config

  • #603 a63a570 Thanks @filiptammergard! - fix: specify eslint-config-prettier as peer dependency

    It's already added to peerDependenciesMeta as optional, which means it should also be specified in peerDependencies.

5.0.1

Patch Changes

5.0.0

Major Changes

Minor Changes

Patch Changes

4.2.2

Patch Changes

4.2.1

Patch Changes

  • #485 5736ed5 Thanks @JounQin! - chore: reuse prettierRcOptions instead of resolveConfig again

4.2.0

Minor Changes

v4.1.0 (2022-06-27)

  • feat: skip processing code blocks on specific languages like stylelint-prettier (#415) (52eec48)
  • build(deps): Bump minimist from 1.2.5 to 1.2.6 (#464) (42bfe88)
  • build(deps-dev): Bump graphql from 15.5.1 to 15.7.2 (#442) (0158640)
  • build(deps-dev): Bump @graphql-eslint/eslint-plugin from 2.3.0 to 2.4.0 (#444) (4bcaca2)
  • chore(CI): add tests for ESLint 8 (#428) (f3713be)
  • README.md: HTTP => HTTPS (#443) (44e1478)

v4.0.0 (2021-08-30)

This breaking change drops support for old versions of ESLint, Prettier and Node. You must use at least ESLint v7.28.0, Prettier v2.0.0 and Node v12.0.0. Aside from that, usage of this plugin remains identical.

  • v4 - Drop support for eslint 5/6, prettier 1, node 6/8 (#429) (acb56f3)

v3.4.1 (2021-08-20)

  • build(deps): Bump glob-parent from 5.0.0 to 5.1.2 (#420) (b6d075c)
  • build(deps): Bump path-parse from 1.0.6 to 1.0.7 (#425) (24f957e)
  • feat: support @graphql-eslint/eslint-plugin out of box (#413) (ec6fbb1)
  • chore: add tests for Node 16 (#410) (76bd45e)

v3.4.0 (2021-04-15)

v3.3.1 (2021-01-04)

  • fix: add eslint-config-prettier as an optional peer dependency (#374) (d59df27)
  • build(deps-dev): bump eslint from 7.16.0 to 7.17.0 (b87985d)
  • build(deps-dev): bump eslint from 7.15.0 to 7.16.0 (11e427e)

v3.3.0 (2020-12-13)

  • Minor: Perf improvement: Do not clear the config cache on each run (#368) (1b90ea7)
  • Add peerDependenciesMeta block (#367) (86608d5)
  • build(deps-dev): bump eslint from 7.14.0 to 7.15.0 (885f484)
  • build(deps-dev): bump eslint from 7.3.1 to 7.14.0 (cebc80b)

v3.2.0 (2020-12-03)

  • Skip CI for eslint 6 + node 8 (#364) (f8f08e4)
  • Turn off problematic rules in recommended config (prepare for next eslint-config-prettier version) (#360) (a1e5591)
  • Create dependabot.yml (f58b6c7)
  • docs(README): fix prettier getFileInfo link (#335) (5a690f1)
  • build(deps-dev): bump eslint-plugin-eslint-plugin from 2.2.2 to 2.3.0 (8614c45)
  • build(deps-dev): bump eslint from 7.3.0 to 7.3.1 (12d9ed8)
  • build(deps-dev): bump eslint from 7.2.0 to 7.3.0 (5a6f42e)
  • chore: update CI badge in readme (5012b66)
  • Use Github Actions for CI (#305) (41eb64f)

v3.1.4 (2020-06-14)

  • Avoid clearing Prettier cache when not using prettierrc (#303) (3c8e2d9)
  • build(deps-dev): bump eslint-plugin-eslint-plugin from 2.2.1 to 2.2.2 (93f7c8b)
  • build(deps-dev): bump eslint from 7.1.0 to 7.2.0 (650ac7a)
  • build(deps-dev): bump eslint-plugin-self from 1.2.0 to 1.2.1 (6449ec1)
  • build(deps-dev): bump eslint from 7.0.0 to 7.1.0 (fd30022)
  • Chore: Add CI tests for ESLint 7 (#291) (cc2979b)
  • build(deps-dev): bump eslint-config-prettier from 6.10.1 to 6.11.0 (35a7ee6)

v3.1.3 (2020-04-13)

  • Fix: Set meta.type to "layout" (#283) (97152e2)
  • build(deps-dev): bump eslint-config-prettier from 6.10.0 to 6.10.1 (185b106)
  • build(deps): [security] bump acorn from 6.1.0 to 6.4.1 (bba5881)
  • build(deps-dev): bump eslint-config-prettier from 6.9.0 to 6.10.0 (9a47a6f)
  • build(deps-dev): bump eslint-plugin-eslint-plugin from 2.2.0 to 2.2.1 (aad671d)
  • build(deps-dev): bump eslint-plugin-eslint-plugin from 2.1.0 to 2.2.0 (e2458c2)
  • build(deps-dev): bump eslint-config-prettier from 6.8.0 to 6.9.0 (05ef06f)
  • build(deps-dev): bump eslint-config-prettier from 6.7.0 to 6.8.0 (ab80b3c)
  • build(deps-dev): bump eslint from 6.7.2 to 6.8.0 (dea1b30)

v3.1.2 (2019-12-15)

  • Resolve config when getting list of inferred parsers (1ad45be)
  • Fix tests now they to stop them inheriting from base prettierrc file (14840fa)
  • Move prettier config into dedicated file, so vscode plugins pick it up (c49334a)
  • build(deps-dev): bump eslint from 6.7.1 to 6.7.2 (15e6cf9)
  • build(deps-dev): bump eslint from 6.6.0 to 6.7.1 (e8ad019)
  • build(deps-dev): bump eslint-config-prettier from 6.6.0 to 6.7.0 (44f4bfe)
  • build(deps-dev): bump eslint-config-prettier from 6.5.0 to 6.6.0 (46580c5)
  • build(deps-dev): bump prettier from 1.18.2 to 1.19.1 (10b4676)
  • build(deps-dev): bump eslint from 6.5.1 to 6.6.0 (53eaeae)
  • build(deps-dev): bump eslint-config-prettier from 6.4.0 to 6.5.0 (ad3321c)
  • build(deps-dev): bump mocha from 6.2.1 to 6.2.2 (b7280b6)
  • build(deps-dev): bump eslint-config-prettier from 6.3.0 to 6.4.0 (4c1d69a)
  • build(deps-dev): bump eslint from 6.5.0 to 6.5.1 (c109a7a)
  • build(deps-dev): bump mocha from 6.2.0 to 6.2.1 (3134bea)
  • build(deps-dev): bump eslint from 6.4.0 to 6.5.0 (7c290d7)

v3.1.1 (2019-09-18)

  • build(deps-dev): bump eslint from 6.3.0 to 6.4.0 (8a793eb)
  • build(deps-dev): bump eslint-config-prettier from 6.2.0 to 6.3.0 (88c3f6c)
  • build(deps-dev): bump eslint-config-prettier from 6.0.0 to 6.2.0 (5f9fbc1)
  • build(deps-dev): bump eslint from 6.2.2 to 6.3.0 (746b66d)
  • build(deps-dev): bump eslint from 6.1.0 to 6.2.2 (97eedb4)
  • build(deps-dev): bump eslint from 6.0.1 to 6.1.0 (afef9d1)
  • build(deps-dev): bump mocha from 6.1.4 to 6.2.0 (0360a84)
  • build(deps): [security] bump lodash from 4.17.11 to 4.17.14 (9eceb68)
  • Fix: When forcing the JS parser, use the modern name (#212) (1385310)
  • Add eslint 6 to test matrix (#210) (bca77e6)
  • build(deps-dev): bump eslint-config-prettier from 5.0.0 to 6.0.0 (4c069bd)
  • build(deps-dev): bump eslint-config-prettier from 4.3.0 to 5.0.0 (60bb22f)
  • build(deps-dev): bump prettier from 1.18.0 to 1.18.2 (a183560)
  • build(deps-dev): bump prettier from 1.17.1 to 1.18.0 (0cad479)
  • build(deps-dev): bump eslint-config-prettier from 4.2.0 to 4.3.0 (6f3c76f)
  • build(deps-dev): bump prettier from 1.17.0 to 1.17.1 (03aecfd)

v3.1.0 (2019-05-11)

  • New: Allow options to be passed to prettier.getFileInfo (#187) (21fa69a)
  • build(deps-dev): bump eslint-plugin-eslint-plugin from 2.0.1 to 2.1.0 (bb597e1)
  • build(deps-dev): bump eslint-config-prettier from 4.1.0 to 4.2.0 (0bb7c1d)
  • build(deps-dev): bump vue-eslint-parser from 6.0.3 to 6.0.4 (2f77df4)
  • build(deps-dev): bump mocha from 6.1.3 to 6.1.4 (222b87a)
  • build(deps-dev): bump prettier from 1.16.4 to 1.17.0 (58d8ff8)
  • build(deps-dev): bump mocha from 6.1.2 to 6.1.3 (e94e56c)
  • build(deps-dev): bump mocha from 6.1.1 to 6.1.2 (c02244b)
  • build(deps-dev): bump mocha from 6.0.2 to 6.1.1 (a9a2e4e)
  • build(deps-dev): bump eslint from 5.15.3 to 5.16.0 (073c14c)
  • build(deps-dev): bump eslint from 5.15.2 to 5.15.3 (bda931f)
  • build(deps-dev): bump eslint from 5.15.1 to 5.15.2 (19f53d6)
  • build(deps-dev): bump eslint from 5.15.0 to 5.15.1 (34b39de)
  • build(deps-dev): bump eslint from 5.14.1 to 5.15.0 (13bcc66)
  • build(deps-dev): bump eslint-plugin-self from 1.1.0 to 1.2.0 (5b4adb8)
  • build(deps-dev): bump vue-eslint-parser from 6.0.2 to 6.0.3 (e676cd1)
  • build(deps-dev): bump eslint-config-prettier from 4.0.0 to 4.1.0 (b8a9215)
  • build(deps-dev): bump mocha from 6.0.1 to 6.0.2 (cde36e4)
  • build(deps-dev): bump mocha from 6.0.0 to 6.0.1 (eb39699)
  • build(deps-dev): bump mocha from 5.2.0 to 6.0.0 (5d75421)
  • build(deps-dev): bump eslint from 5.14.0 to 5.14.1 (829156e)
  • build(deps-dev): bump eslint from 5.13.0 to 5.14.0 (b76d0b4)
  • build(deps-dev): bump vue-eslint-parser from 6.0.0 to 6.0.2 (15439e8)
  • build(deps-dev): bump vue-eslint-parser from 5.0.0 to 6.0.0 (0ea70e5)
  • build(deps-dev): bump eslint from 5.12.1 to 5.13.0 (5f18729)
  • build(deps-dev): bump prettier from 1.16.3 to 1.16.4 (ef637fe)
  • build(deps-dev): bump prettier from 1.16.1 to 1.16.3 (58ab20c)
  • build(deps-dev): bump eslint-config-prettier from 3.6.0 to 4.0.0 (14393bd)
  • build(deps-dev): bump prettier from 1.16.0 to 1.16.1 (00198b9)
  • build(deps-dev): bump prettier from 1.15.3 to 1.16.0 (7890a87)
  • build(deps-dev): bump eslint from 5.12.0 to 5.12.1 (92a8984)
  • build(deps-dev): bump eslint-config-prettier from 3.5.0 to 3.6.0 (5292d12)
  • build(deps-dev): bump eslint-config-prettier from 3.4.0 to 3.5.0 (44a2558)
  • build(deps-dev): bump eslint-config-prettier from 3.3.0 to 3.4.0 (425cfce)
  • build(deps-dev): bump eslint from 5.11.1 to 5.12.0 (3e9aa39)
  • build(deps-dev): bump eslint-plugin-node from 8.0.0 to 8.0.1 (e913afd)
  • build(deps-dev): bump vue-eslint-parser from 4.0.3 to 5.0.0 (ecfd5ba)

v3.0.1 (2018-12-28)

  • Catch and format SyntaxErrors as eslint violations (#141) (4a0e57d)
  • build(deps-dev): bump eslint from 5.11.0 to 5.11.1 (d34daed)
  • build(deps-dev): bump eslint from 5.10.0 to 5.11.0 (7f4f45d)
  • build(deps-dev): bump eslint-plugin-eslint-plugin from 2.0.0 to 2.0.1 (5be3bcf)
  • build(deps-dev): bump eslint from 5.9.0 to 5.10.0 (11e7c44)
  • build(deps-dev): bump eslint-plugin-eslint-plugin from 1.4.1 to 2.0.0 (9e5bf14)
  • build(deps-dev): bump vue-eslint-parser from 4.0.2 to 4.0.3 (234583a)
  • build(deps-dev): bump vue-eslint-parser from 3.3.0 to 4.0.2 (8675d57)
  • Upgrade: Bump vue-eslint-parser from 3.2.2 to 3.3.0 (2379e93)
  • Upgrade: Bump eslint-config-prettier from 3.1.0 to 3.3.0 (3ea0021)
  • Upgrade: Bump eslint from 5.8.0 to 5.9.0 (c774fb8)
  • build(deps-dev): bump eslint-plugin-node from 7.0.1 to 8.0.0 (#121) (2a4fba0)
  • build(deps-dev): bump eslint-plugin-eslint-plugin from 1.4.0 to 1.4.1 (#120) (29caa29)
  • build(deps-dev): bump eslint from 5.6.0 to 5.8.0 (#119) (2836350)

v3.0.0 (2018-10-01)

  • Chore: Add eslint peer-dependency (d55d79c)
  • Breaking: Extract showInvisibles and generateDifferences (bf7c40c)
  • Breaking: Defining prettier options must use an object (478c7e5)
  • Breaking: Drop support for ESLint v3 and v4 (2326231)
  • Chore: Update dependencies (1ec94c8)
  • Chore: remove two unused dependencies (bfe459c)
  • Chore: Rename test files to keep them sequential (d38ea52)
  • Breaking: Remove pragma support (3af422c)
  • Breaking: Update minimum required pretter version to 1.13.0 (29c0506)
  • Breaking: Drop support for node v4, v7 and v9 (be460bd)
  • Chore: Add vscode config to autoformat on save (9fac6b4)
  • Chore: Improve travis matrix (46d2444)
  • Chore: Add format script to run prettier (d46aa6d)

v2.7.0 (2018-09-26)

  • Update: Support prettierignore and custom processors (#111) (38537ba)
  • Build: switch to release script package (047dc8f)

v2.6.2 (2018-07-06)

  • Fix: Add representation for \r to showInvisibles (#100) (731bbb5)
  • Docs: Add clarification about Flow/React support to readme (#96) (977aa77)

v2.6.1 (2018-06-23)

v2.6.0 (2018-02-02)

  • Update: Add option to skip loading prettierrc (#83) (9e0fb48)
  • Build: add Node 8 and 9 to Travis (e5b5fa7)
  • Chore: add test for vue parsing (1ab43fd)

v2.5.0 (2018-01-16)

  • Fix: pass filepath to prettier (#76) (0b6ab55)
  • Update: Add URL to rule documentation to the metadata (#75) (804ead7)

v2.4.0 (2017-12-17)

  • New: Add 'recommended' configuration (#73) (e529b60)
  • Docs: Create ISSUE_TEMPLATE.md (4335b08)

v2.3.1 (2017-09-18)

  • Fix: Guard against older prettier installation (#56) (8a115f9)

v2.3.0 (2017-09-18)

  • Update: Support .prettierrc config files (fixes #46) (#55) (bc89153)
  • Docs: .eslintrc.json > .eslintrc (#52) (95f0808)
  • Upgrade: jest-docblock to ^21.0.0 (#50) (c777111)
  • Chore: upgrade prettier to ^1.6.1 (#49) (56deffa)
  • Chore: use eslint-plugin-self for linting (#47) (5ea0526)

v2.2.0 (2017-08-16)

v2.1.2 (2017-06-14)

v2.1.1 (2017-05-19)

v2.1.0 (2017-05-16)

  • Merge with eslint-plugin-prettify (#21) (6de494f)
  • Docs: update repo links to new URL (#18) (6b69492)
  • Chore: Upgrade development dependencies (#16) (12984ea)
  • Docs: fix outdated info about prettier's semicolon support (da6aad1)
  • Docs: update prettier options in example (#14) (0ae173f)
  • Docs: Change the order of dependencies install (#13) (cbf803c)
  • Docs: Add CONTRIBUTING.md (fixes #9) (40fe55b)

v2.0.1 (2017-02-26)

  • Docs: add travis badge to README.md (1daa495)
  • Upgrade: prettier to 0.18.0 (1700e41)
  • Chore: use eslint-config-prettier (c979b84)
  • Fix: avoid relying on an internal eslint function (5296930)
  • Docs: mention eslint-config-prettier in README.md (3fd855d)
  • Chore: pin the version of prettier used to lint this module (refs #1) (db85633)

v2.0.0 (2017-01-28)

  • Docs: create changelog (d388095)
  • Docs: add 2.0.0 migration guide (db508d7)
  • Breaking: Make prettier a peerDependency (#1) (d8a8992)
  • Docs: add repo url to package.json (2474bc9)
  • Docs: suggest prettier-eslint if eslint rules disagree with prettier (3414437)