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
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.6.2
Choose a base ref
...
head repository: prettier/eslint-plugin-prettier
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.0.0
Choose a head ref
  • 17 commits
  • 22 files changed
  • 3 contributors

Commits on Jul 31, 2018

  1. Configuration menu
    Copy the full SHA
    047dc8f View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2018

  1. Update: Support prettierignore and custom processors (#111)

    * Ignore files in .prettierignore
    
    Fixes #88
    
    * Force the babylon parser when parsing not-js files
    
    Forcing the parser stops errors that are caused by trying to run a JS
    fragment through the graphql / markdown parsers.
    
    The 'html' parser has not yet been released yet, but will be in Prettier
    1.15.
    
    This uses a block list over an allow list because I expect the list of
    "file types with a prettier parser that could contain javascript fragments"
    will grow at a slower pace than "file types with a prettier parser that
    are variations of the javascript language".
    
    Fixes #98, Fixes #81
    BPScott authored and not-an-aardvark committed Sep 26, 2018
    Configuration menu
    Copy the full SHA
    38537ba View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    869f56d View commit details
    Browse the repository at this point in the history

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
    Configuration menu
    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
    Configuration menu
    Copy the full SHA
    46d2444 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    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
    Configuration menu
    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
    Configuration menu
    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
    Configuration menu
    Copy the full SHA
    3af422c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    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
    Configuration menu
    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
    Configuration menu
    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
    Configuration menu
    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
    Configuration menu
    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
    Configuration menu
    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
    Configuration menu
    Copy the full SHA
    d55d79c View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    68271f8 View commit details
    Browse the repository at this point in the history
Loading