Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: prettier/eslint-plugin-prettier
base: v2.7.0
Choose a base ref
...
head repository: prettier/eslint-plugin-prettier
compare: v3.0.0
Choose a head ref
  • 14 commits
  • 20 files changed
  • 2 contributors

Commits on Sep 27, 2018

  1. Chore: Add format script to run prettier

    Run the format script and commit updates
    BPScott committed Sep 27, 2018
    Copy the full SHA
    d46aa6d View commit details
    Browse the repository at this point in the history
  2. Chore: Improve travis matrix

    Ensure we test with eslint 3.x, 4.x and 5.x, and node 10
    
    Fixes #97
    BPScott committed Sep 27, 2018
    Copy the full SHA
    46d2444 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    9fac6b4 View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2018

  1. Breaking: Drop support for node v4, v7 and v9

    Node v4, v7 and v9 are end of life and no longer supported.
    BPScott authored and not-an-aardvark committed Oct 1, 2018
    Copy the full SHA
    be460bd View commit details
    Browse the repository at this point in the history
  2. Breaking: Update minimum required pretter version to 1.13.0

    This lets us remove some conditional checks for some APIs that we now
    know will be present.
    
    This shall also allow us to drop pragma support as people can use the
    native pragma suppport in prettier (to be done in a later commit).
    BPScott authored and not-an-aardvark committed Oct 1, 2018
    Copy the full SHA
    29c0506 View commit details
    Browse the repository at this point in the history
  3. Breaking: Remove pragma support

    Prettier now provides native pragma support using @Format or @prettier
    notation. Use that instead of our implementation
    
    Fixes #48, Fixes #54
    BPScott authored and not-an-aardvark committed Oct 1, 2018
    Copy the full SHA
    3af422c View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    d38ea52 View commit details
    Browse the repository at this point in the history
  5. Chore: remove two unused dependencies

    These were used in the release script, but that's been abstracted away
    now
    BPScott authored and not-an-aardvark committed Oct 1, 2018
    Copy the full SHA
    bfe459c View commit details
    Browse the repository at this point in the history
  6. Chore: Update dependencies

    BPScott authored and not-an-aardvark committed Oct 1, 2018
    Copy the full SHA
    1ec94c8 View commit details
    Browse the repository at this point in the history
  7. Breaking: Drop support for ESLint v3 and v4

    ESLint v5.0.0 is the minimum supported version
    BPScott authored and not-an-aardvark committed Oct 1, 2018
    Copy the full SHA
    2326231 View commit details
    Browse the repository at this point in the history
  8. Breaking: Defining prettier options must use an object

    Drop support for specifying prettier options using the "fb" shorthand
    string. Replace "fb" with either config in your .prettierrc or the object:
    `{ singleQuote: true, trailingComma: 'all', bracketSpacing: false, jsxBracketSameLine: true, parser: 'flow'}`
    
    Drop support for specifying the prettier options as `null`. Replace
    `null` with an empty object `{}`
    BPScott authored and not-an-aardvark committed Oct 1, 2018
    Copy the full SHA
    478c7e5 View commit details
    Browse the repository at this point in the history
  9. Breaking: Extract showInvisibles and generateDifferences

    Move these two functions into a helper module 'prettier-linter-helpers'.
    If you used those functions then plese reference that package directly.
    
    Fixes #101
    BPScott authored and not-an-aardvark committed Oct 1, 2018
    Copy the full SHA
    bf7c40c View commit details
    Browse the repository at this point in the history
  10. Chore: Add eslint peer-dependency

    This was removed in a prior version because other linting tools ended up
    depending on helper functions within eslint-plugin-prettier and did not
    want to inadvertently install eslint as a transitive dependency. Now that
    those helpers have been extracted into a separate package those other
    linting tools should depend upon that instead of eslint-plugin-prettier.
    BPScott authored and not-an-aardvark committed Oct 1, 2018
    Copy the full SHA
    d55d79c View commit details
    Browse the repository at this point in the history
  11. Copy the full SHA
    68271f8 View commit details
    Browse the repository at this point in the history