-
-
Notifications
You must be signed in to change notification settings - Fork 204
Merge with eslint-plugin-prettify #21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This code is originally from zertosh/eslint-plugin-prettify@2fb5dfb. It's has been adjusted to conform to the existing ESLint style.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! This generally looks good, I just have a few small suggestions/questions.
} | ||
// Register ourselves as a plugin to avoid `node_modules` trickery. | ||
const Plugins = require('eslint/lib/config/plugins'); | ||
Plugins.define('prettier', require('.')); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this approach is going to break after eslint/eslint#8465 is merged, which is likely to happen in ESLint 4. (The change makes Plugins
an ES6 class rather than a global mutable object, to prevent unrelated modules from conflicting with each other if they both happen to be using eslint in the same process.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh thanks for the heads up! Modifying the node_modules
after an install causes yarn issues :/
QQ: We also use this approach at fb because you can't use a path as a plugin. I understand the module resolution complications of supporting relative paths, but would the ESLint team be open to accepting a PR for absolute paths to a plugin?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's an accepted issue for it at eslint/eslint#6237, but when I looked into it a little while ago it seemed like it could introduce problems even when absolute paths are used. Basically, if I load eslint-plugin-foo
with a relative path, and I'm also using a shareable config that references something else called eslint-plugin-foo
in node_modules
(e.g. another version of the plugin), it wouldn't be possible to configure rules from both plugins independently.
Feel free to comment on that thread if you have any ideas for how to handle that, though.
Hmm, I hadn't realized modifying node_modules
breaks yarn. Maybe we should keep Plugins
somehow until we have a better way to refer to plugins by path.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, I hadn't realized modifying node_modules breaks yarn
It causes yarn check
to fail. Also, it'll break a new yarn feature I'll be upstreaming soon: "watchman-based check". Basically, you get instant (sub ~100ms) full node_modules
verification, which lets use put yarn
in front of every js script w/o having to worry about stale modules.
|
||
## Migrating to 2.0.0 | ||
- A string with a pragma that triggers this rule. By default, this rule applies to all files. However, if you set a pragma (this option), only files with that pragma in the heading docblock will be checked. All pragmas must start with `@`. Example: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To me, it seems like it would be better to get this functionality by using normal eslint
directive comments, e.g.
/* eslint prettier: ["error", "fb"] */
Is there a reason to have a special pragma for the rule?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tbh, this is a facebookism. We need a to tell our language-agnostic infra that these files conform to a formatter (we use @format
). This helps the merge drivers to reconcile changes, and helps other enforcement tooling maintain order. So even if eslint-plugin-prettier
didn't understand pragmas, we'd still have to mark these with @format
.
eslint-plugin-prettier.js
Outdated
ret += '\u23ce'; // Return Symbol | ||
break; | ||
case '\t': | ||
ret += '\u21b9'; // Left Arrow To Bar Over Right Arrow To Bar |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nitpick: Maybe this would be more readable if you used the symbols themselves in the code rather than their escape codes. For example:
switch (str[i]) {
case ' ':
ret += '·'; // Middle Dot, \u00b7
break;
case '\n':
ret += '⏎'; // Return Symbol, \u23ce
case '\t':
ret += '↹'; // Left Arrow To Bar Over Right Arrow To Bar, \u21b9
}
That way, if someone sees a symbol in the output, it's easier to tell where in the code the symbol is coming from.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
eslint-plugin-prettier.js
Outdated
// and another's beginning does not have line endings (i.e. issues that occur | ||
// on contiguous lines). | ||
|
||
const source = context.getSource(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think context.getSource()
is deprecated -- there doesn't seem to be any documentation for it, and it's in the list of deprecated passthroughs here. Can you replace it with context.getSourceCode().text
instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
eslint-plugin-prettier.js
Outdated
*/ | ||
function reportInsert(context, offset, text) { | ||
const pos = getLocFromIndex(context, offset); | ||
const range = [null, offset]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure null
is documented as a valid value in a fix range. Can you replace this with [offset, offset]
or something like that instead?
(Admittedly, the design of insertTextAfterRange
does make the first value in the range useless, but I don't want this to break if ESLint starts validating ranges later on by asserting that both values are numbers.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
eslint-plugin-prettier.js
Outdated
if (pragma) { | ||
// The pragma is only valid if it is found in a block comment at the | ||
// very start of the file. | ||
const firstComment = context.getAllComments()[0]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think context.getAllComments()
is also deprecated. Can you use context.getSourceCode().getAllComments()
instead?
Also, starting in ESLint 4, shebang comments will be included in the result of sourceCode.getAllComments
(see the migration guide). Shebang comments need to be placed at the start of a file, so maybe it would be better to filter them here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
code: sections[1], | ||
output: sections[2], | ||
options: eval(sections[3]), // eslint-disable-line no-eval | ||
errors: eval(sections[4]) // eslint-disable-line no-eval |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it be possible to use JSON.parse
here instead? It seems like there's no reason to execute array literals as code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
JSON formatting is too restrictive: Quoting keys, and using double quotes for strings. RuleTester's output is not JSON, so copy/pasting expected output would've required re-formatting. If it's all the same to you, I'd like to keep the eval
until it becomes a problem.
test/prettier.js
Outdated
{ code: `/** @format */\n'';\n`, options: ['fb', '@format'] } | ||
], | ||
invalid: [ | ||
'01', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This isn't a strong objection, but I have doubts about whether putting the invalid cases in separate files actually improves debuggability. If a single test case is failing, it seems like it would be easier to search for the corresponding code within a single file rather than opening/closing a bunch of test files to try to find the right one.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, it's actually more about easily looking at a fixture file and easily converting line & column in the test vs the message. It's also very convenient to be able to quickly focus on a few tests by commenting out.
test/prettier.js
Outdated
@@ -0,0 +1,92 @@ | |||
#!/usr/bin/env node | |||
/* eslint-disable node/shebang */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this file executable? RuleTester
uses mocha internally, so it seems like this would throw an error if it was just run with node
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It works actually, you just don't get pretty output if there's an error. But I'll remove it since that's an odd use case.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Huh, TIL.
eslint-plugin-prettier.js
Outdated
// Prettier is expensive to load, so only load it if needed. | ||
prettier = require('prettier'); | ||
} | ||
const source = context.getSource(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think context.getSource()
is deprecated -- there doesn't seem to be any documentation for it, and it's in the list of deprecated passthroughs here. Can you replace it with context.getSourceCode().text
instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, @not-an-aardvark do you have any concerns left merging this in?
I enabled "Rebase and merge" to preserve the commits on this PR. If it all looks good, then I can merge and publish. |
By the way, I've been using this script to autogenerate changelogs and git tags, in case we want to keep using it. (It requires a few additional devDependencies that |
neat script @not-an-aardvark! I just used it and pushed the results :) I'll check it into the repo & add some release instructions. Mind doing an npm release and/or adding me as a collaborator? |
Will do. Are you |
@not-an-aardvark, yup! Thanks! |
Thanks for confirming. I'm on mobile right now but I'll add you sometime in the next few hours. |
Added you to the npm package. |
Summary: `eslint-plugin-prettify` merged into `eslint-plugin-prettier` (prettier/eslint-plugin-prettier#21) Reviewed By: matthewwithanm Differential Revision: D5080518 fbshipit-source-id: 05d568daaa44b189f82ea912b5d1fdedae07f367
| datasource | package | from | to | | ---------- | ---------------------- | ----- | ----- | | npm | eslint-plugin-prettier | 5.4.0 | 5.5.3 | ## [v5.5.3](https://github.com/prettier/eslint-plugin-prettier/releases/tag/v5.5.3) republish the latest version **Full Changelog**: prettier/eslint-plugin-prettier@v5.5.2...v5.5.3 ## [v5.5.2](https://github.com/prettier/eslint-plugin-prettier/releases/tag/v5.5.2) ### Changelog #### 5.5.1 ##### Patch Changes - [#748](prettier/eslint-plugin-prettier#748) [`bfd1e95`](prettier/eslint-plugin-prettier@bfd1e95) Thanks [@JounQin](https://github.com/JounQin)! - fix: use `prettierRcOptions` directly for prettier 3.6+ #### 5.5.0 ##### Minor Changes - [#743](prettier/eslint-plugin-prettier#743) [`92f2c9c`](prettier/eslint-plugin-prettier@92f2c9c) Thanks [@dotcarmen](https://github.com/dotcarmen)! - feat: support non-js languages like `css` for `@eslint/css` and `json` for `@eslint/json` #### 5.4.1 ##### Patch Changes - [#740](prettier/eslint-plugin-prettier#740) [`c21521f`](prettier/eslint-plugin-prettier@c21521f) Thanks [@JounQin](https://github.com/JounQin)! - fix(deps): bump `synckit` to v0.11.7 to fix potential `TypeError: Cannot read properties of undefined (reading 'message')` error #### 5.4.0 ##### Minor Changes - [#736](prettier/eslint-plugin-prettier#736) [`59a0cae`](prettier/eslint-plugin-prettier@59a0cae) Thanks [@yashtech00](https://github.com/yashtech00)! - refactor: migrate `worker.js` to `worker.mjs` #### 5.3.1 ##### Patch Changes - [#734](prettier/eslint-plugin-prettier#734) [`dcf2c80`](prettier/eslint-plugin-prettier@dcf2c80) Thanks [@JounQin](https://github.com/JounQin)! - ci: enable `NPM_CONFIG_PROVENANCE` env #### 5.3.0 ##### Minor Changes - [#674](prettier/eslint-plugin-prettier#674) [`6fe0c90`](prettier/eslint-plugin-prettier@6fe0c90) Thanks [@irsooti](https://github.com/irsooti)! - feat(types): prefer `Config` over `FlatConfig` when they're equal #### 5.2.6 ##### Patch Changes - [#723](prettier/eslint-plugin-prettier#723) [`1451176`](prettier/eslint-plugin-prettier@1451176) Thanks [@renovate](https://github.com/apps/renovate)! - fix(deps): bump `synckit` to `v0.11.0` #### 5.2.5 ##### Patch Changes - [#721](prettier/eslint-plugin-prettier#721) [`4f5513d`](prettier/eslint-plugin-prettier@4f5513d) Thanks [@JounQin](https://github.com/JounQin)! - fix: clarify correct `eslint-config-prettier` peer range #### 5.2.4 ##### Patch Changes - [#715](prettier/eslint-plugin-prettier#715) [`b8cfe56`](prettier/eslint-plugin-prettier@b8cfe56) Thanks [@JounQin](https://github.com/JounQin)! - chore: hourcekeeping, bump all (dev) deps #### 5.2.3 ##### Patch Changes - [#703](prettier/eslint-plugin-prettier#703) [`9c6141f`](prettier/eslint-plugin-prettier@9c6141f) Thanks [@BPScott](https://github.com/BPScott)! - Add name field to recommended flat config #### 5.2.2 ##### Patch Changes - [#700](prettier/eslint-plugin-prettier#700) [`aa5b59f`](prettier/eslint-plugin-prettier@aa5b59f) Thanks [@ntnyq](https://github.com/ntnyq)! - fix: report node when loc not found #### 5.2.1 ##### Patch Changes - [#668](prettier/eslint-plugin-prettier#668) [`ac036cc`](prettier/eslint-plugin-prettier@ac036cc) Thanks [@OrlovAlexei](https://github.com/OrlovAlexei)! - build(deps): Bump synckit from 0.8.6 to 0.9.1 #### 5.2.0 ##### Minor Changes - [#652](prettier/eslint-plugin-prettier#652) [`f170011`](prettier/eslint-plugin-prettier@f170011) Thanks [@Logicer16](https://github.com/Logicer16)! - feat: support parsing `html` via `@html-eslint/parser` natively #### 5.1.3 ##### Patch Changes - [#629](prettier/eslint-plugin-prettier#629) [`985b33c`](prettier/eslint-plugin-prettier@985b33c) Thanks [@JounQin](https://github.com/JounQin)! - chore: add `package.json` into `exports` map #### 5.1.2 ##### Patch Changes - [#623](prettier/eslint-plugin-prettier#623) [`8210e44`](prettier/eslint-plugin-prettier@8210e44) Thanks [@BPScott](https://github.com/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](prettier/eslint-plugin-prettier#621) [`2b09e7f`](prettier/eslint-plugin-prettier@2b09e7f) Thanks [@JounQin](https://github.com/JounQin)! - feat: support parsing `markdown` via `eslint-mdx` natively What means the following is unnecessary anymore when using with `eslint-mdx`/`eslint-plugin-mdx`! ```json5 [ { files: ["**/*.md"], rules: { "prettier/prettier": ["error", { parser: "markdown" }] }, }, { files: ["**/*.mdx"], rules: { "prettier/prettier": ["error", { parser: "mdx" }] }, }, ] ``` #### 5.1.1 ##### Patch Changes - [#619](prettier/eslint-plugin-prettier#619) [`b5c0dc5`](prettier/eslint-plugin-prettier@b5c0dc5) Thanks [@JounQin](https://github.com/JounQin)! - chore: skip formatting inline scripts in pug files #### 5.1.0 ##### Minor Changes - [#616](prettier/eslint-plugin-prettier#616) [`3856413`](prettier/eslint-plugin-prettier@3856413) Thanks [@BPScott](https://github.com/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`. ```js // eslint.config.js const eslintPluginPrettierRecommended = require("eslint-plugin-prettier/recommended"); module.exports = [ // Any other config imports go at the top eslintPluginPrettierRecommended, ]; ``` ##### Patch Changes - [#614](prettier/eslint-plugin-prettier#614) [`5270877`](prettier/eslint-plugin-prettier@5270877) Thanks [@BPScott](https://github.com/BPScott)! - Add meta block to plugin. This improves debugging and cachebusting when using the new flat config - [#603](prettier/eslint-plugin-prettier#603) [`a63a570`](prettier/eslint-plugin-prettier@a63a570) Thanks [@filiptammergard](https://github.com/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 - [#588](prettier/eslint-plugin-prettier#588) [`21a7146`](prettier/eslint-plugin-prettier@21a7146) Thanks [@krist7599555](https://github.com/krist7599555)! - fix: `parserPath` type might be `undefined` on Eslint Falt Config #### 5.0.0 ##### Major Changes - [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat!: bump peer eslint to ">=8.0.0" and node to "^14.18.0 || >=16.0.0" - [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat!: upgrade to prettier v3 ##### Minor Changes - [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat: add typings support ##### Patch Changes - [#548](prettier/eslint-plugin-prettier#548) [`82a3db8`](prettier/eslint-plugin-prettier@82a3db8) Thanks [@fisker](https://github.com/fisker)! - fix: add missing dependency `synckit` - [#564](prettier/eslint-plugin-prettier#564) [`ae7a73c`](prettier/eslint-plugin-prettier@ae7a73c) Thanks [@auvred](https://github.com/auvred)! - fix: compatibility with prettier@3 without plugins #### 4.2.2 ##### Patch Changes - [`2373d0c`](prettier/eslint-plugin-prettier@2373d0c) Thanks [@JounQin](https://github.com/JounQin)! - docs: add Sponsors and Backers sections #### 4.2.1 ##### Patch Changes - [#485](prettier/eslint-plugin-prettier#485) [`5736ed5`](prettier/eslint-plugin-prettier@5736ed5) Thanks [@JounQin](https://github.com/JounQin)! - chore: reuse prettierRcOptions instead of resolveConfig again #### 4.2.0 ##### Minor Changes - [#483](prettier/eslint-plugin-prettier#483) [`7bd70b6`](prettier/eslint-plugin-prettier@7bd70b6) Thanks [@JounQin](https://github.com/JounQin)! - feat: support svelte out of box close [#472](prettier/eslint-plugin-prettier#472), close [#482](prettier/eslint-plugin-prettier#482) We recommend to use [`eslint-plugin-svelte`](https://github.com/ota-meshi/eslint-plugin-svelte) instead of [`eslint-plugin-svelte3`](https://github.com/sveltejs/eslint-plugin-svelte3). #### v4.1.0 (2022-06-27) - feat: skip processing code blocks on specific languages like `stylelint-prettier` ([#415](prettier/eslint-plugin-prettier#415)) ([52eec48](prettier/eslint-plugin-prettier@52eec48)) - build(deps): Bump minimist from 1.2.5 to 1.2.6 ([#464](prettier/eslint-plugin-prettier#464)) ([42bfe88](prettier/eslint-plugin-prettier@42bfe88)) - build(deps-dev): Bump graphql from 15.5.1 to 15.7.2 ([#442](prettier/eslint-plugin-prettier#442)) ([0158640](prettier/eslint-plugin-prettier@0158640)) - build(deps-dev): Bump [@graphql-eslint/eslint-plugin](https://github.com/graphql-eslint/eslint-plugin) from 2.3.0 to 2.4.0 ([#444](prettier/eslint-plugin-prettier#444)) ([4bcaca2](prettier/eslint-plugin-prettier@4bcaca2)) - chore(CI): add tests for ESLint 8 ([#428](prettier/eslint-plugin-prettier#428)) ([f3713be](prettier/eslint-plugin-prettier@f3713be)) - README.md: HTTP => HTTPS ([#443](prettier/eslint-plugin-prettier#443)) ([44e1478](prettier/eslint-plugin-prettier@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](prettier/eslint-plugin-prettier#429)) ([acb56f3](prettier/eslint-plugin-prettier@acb56f3)) #### v3.4.1 (2021-08-20) - build(deps): Bump glob-parent from 5.0.0 to 5.1.2 ([#420](prettier/eslint-plugin-prettier#420)) ([b6d075c](prettier/eslint-plugin-prettier@b6d075c)) - build(deps): Bump path-parse from 1.0.6 to 1.0.7 ([#425](prettier/eslint-plugin-prettier#425)) ([24f957e](prettier/eslint-plugin-prettier@24f957e)) - feat: support `@graphql-eslint/eslint-plugin` out of box ([#413](prettier/eslint-plugin-prettier#413)) ([ec6fbb1](prettier/eslint-plugin-prettier@ec6fbb1)) - chore: add tests for Node 16 ([#410](prettier/eslint-plugin-prettier#410)) ([76bd45e](prettier/eslint-plugin-prettier@76bd45e)) #### v3.4.0 (2021-04-15) - feat: support processor virtual filename ([#401](prettier/eslint-plugin-prettier#401)) ([ee0ccc6](prettier/eslint-plugin-prettier@ee0ccc6)) - Simplify report logic ([#380](prettier/eslint-plugin-prettier#380)) ([d993f24](prettier/eslint-plugin-prettier@d993f24)) - Update: README.md ([#375](prettier/eslint-plugin-prettier#375)) ([3ea4242](prettier/eslint-plugin-prettier@3ea4242)) #### v3.3.1 (2021-01-04) - fix: add eslint-config-prettier as an optional peer dependency ([#374](prettier/eslint-plugin-prettier#374)) ([d59df27](prettier/eslint-plugin-prettier@d59df27)) - build(deps-dev): bump eslint from 7.16.0 to 7.17.0 ([b87985d](prettier/eslint-plugin-prettier@b87985d)) - build(deps-dev): bump eslint from 7.15.0 to 7.16.0 ([11e427e](prettier/eslint-plugin-prettier@11e427e)) #### v3.3.0 (2020-12-13) - Minor: Perf improvement: Do not clear the config cache on each run ([#368](prettier/eslint-plugin-prettier#368)) ([1b90ea7](prettier/eslint-plugin-prettier@1b90ea7)) - Add peerDependenciesMeta block ([#367](prettier/eslint-plugin-prettier#367)) ([86608d5](prettier/eslint-plugin-prettier@86608d5)) - build(deps-dev): bump eslint from 7.14.0 to 7.15.0 ([885f484](prettier/eslint-plugin-prettier@885f484)) - build(deps-dev): bump eslint from 7.3.1 to 7.14.0 ([cebc80b](prettier/eslint-plugin-prettier@cebc80b)) #### v3.2.0 (2020-12-03) - Skip CI for eslint 6 + node 8 ([#364](prettier/eslint-plugin-prettier#364)) ([f8f08e4](prettier/eslint-plugin-prettier@f8f08e4)) - Turn off problematic rules in recommended config (prepare for next eslint-config-prettier version) ([#360](prettier/eslint-plugin-prettier#360)) ([a1e5591](prettier/eslint-plugin-prettier@a1e5591)) - Create dependabot.yml ([f58b6c7](prettier/eslint-plugin-prettier@f58b6c7)) - docs(README): fix prettier getFileInfo link ([#335](prettier/eslint-plugin-prettier#335)) ([5a690f1](prettier/eslint-plugin-prettier@5a690f1)) - build(deps-dev): bump eslint-plugin-eslint-plugin from 2.2.2 to 2.3.0 ([8614c45](prettier/eslint-plugin-prettier@8614c45)) - build(deps-dev): bump eslint from 7.3.0 to 7.3.1 ([12d9ed8](prettier/eslint-plugin-prettier@12d9ed8)) - build(deps-dev): bump eslint from 7.2.0 to 7.3.0 ([5a6f42e](prettier/eslint-plugin-prettier@5a6f42e)) - chore: update CI badge in readme ([5012b66](prettier/eslint-plugin-prettier@5012b66)) - Use Github Actions for CI ([#305](prettier/eslint-plugin-prettier#305)) ([41eb64f](prettier/eslint-plugin-prettier@41eb64f)) #### v3.1.4 (2020-06-14) - Avoid clearing Prettier cache when not using prettierrc ([#303](prettier/eslint-plugin-prettier#303)) ([3c8e2d9](prettier/eslint-plugin-prettier@3c8e2d9)) - build(deps-dev): bump eslint-plugin-eslint-plugin from 2.2.1 to 2.2.2 ([93f7c8b](prettier/eslint-plugin-prettier@93f7c8b)) - build(deps-dev): bump eslint from 7.1.0 to 7.2.0 ([650ac7a](prettier/eslint-plugin-prettier@650ac7a)) - build(deps-dev): bump eslint-plugin-self from 1.2.0 to 1.2.1 ([6449ec1](prettier/eslint-plugin-prettier@6449ec1)) - build(deps-dev): bump eslint from 7.0.0 to 7.1.0 ([fd30022](prettier/eslint-plugin-prettier@fd30022)) - Chore: Add CI tests for ESLint 7 ([#291](prettier/eslint-plugin-prettier#291)) ([cc2979b](prettier/eslint-plugin-prettier@cc2979b)) - build(deps-dev): bump eslint-config-prettier from 6.10.1 to 6.11.0 ([35a7ee6](prettier/eslint-plugin-prettier@35a7ee6)) #### v3.1.3 (2020-04-13) - Fix: Set `meta.type` to "layout" ([#283](prettier/eslint-plugin-prettier#283)) ([97152e2](prettier/eslint-plugin-prettier@97152e2)) - build(deps-dev): bump eslint-config-prettier from 6.10.0 to 6.10.1 ([185b106](prettier/eslint-plugin-prettier@185b106)) - build(deps): \[security] bump acorn from 6.1.0 to 6.4.1 ([bba5881](prettier/eslint-plugin-prettier@bba5881)) - build(deps-dev): bump eslint-config-prettier from 6.9.0 to 6.10.0 ([9a47a6f](prettier/eslint-plugin-prettier@9a47a6f)) - build(deps-dev): bump eslint-plugin-eslint-plugin from 2.2.0 to 2.2.1 ([aad671d](prettier/eslint-plugin-prettier@aad671d)) - build(deps-dev): bump eslint-plugin-eslint-plugin from 2.1.0 to 2.2.0 ([e2458c2](prettier/eslint-plugin-prettier@e2458c2)) - build(deps-dev): bump eslint-config-prettier from 6.8.0 to 6.9.0 ([05ef06f](prettier/eslint-plugin-prettier@05ef06f)) - build(deps-dev): bump eslint-config-prettier from 6.7.0 to 6.8.0 ([ab80b3c](prettier/eslint-plugin-prettier@ab80b3c)) - build(deps-dev): bump eslint from 6.7.2 to 6.8.0 ([dea1b30](prettier/eslint-plugin-prettier@dea1b30)) #### v3.1.2 (2019-12-15) - Resolve config when getting list of inferred parsers ([1ad45be](prettier/eslint-plugin-prettier@1ad45be)) - Fix tests now they to stop them inheriting from base prettierrc file ([14840fa](prettier/eslint-plugin-prettier@14840fa)) - Move prettier config into dedicated file, so vscode plugins pick it up ([c49334a](prettier/eslint-plugin-prettier@c49334a)) - build(deps-dev): bump eslint from 6.7.1 to 6.7.2 ([15e6cf9](prettier/eslint-plugin-prettier@15e6cf9)) - build(deps-dev): bump eslint from 6.6.0 to 6.7.1 ([e8ad019](prettier/eslint-plugin-prettier@e8ad019)) - build(deps-dev): bump eslint-config-prettier from 6.6.0 to 6.7.0 ([44f4bfe](prettier/eslint-plugin-prettier@44f4bfe)) - build(deps-dev): bump eslint-config-prettier from 6.5.0 to 6.6.0 ([46580c5](prettier/eslint-plugin-prettier@46580c5)) - build(deps-dev): bump prettier from 1.18.2 to 1.19.1 ([10b4676](prettier/eslint-plugin-prettier@10b4676)) - build(deps-dev): bump eslint from 6.5.1 to 6.6.0 ([53eaeae](prettier/eslint-plugin-prettier@53eaeae)) - build(deps-dev): bump eslint-config-prettier from 6.4.0 to 6.5.0 ([ad3321c](prettier/eslint-plugin-prettier@ad3321c)) - build(deps-dev): bump mocha from 6.2.1 to 6.2.2 ([b7280b6](prettier/eslint-plugin-prettier@b7280b6)) - build(deps-dev): bump eslint-config-prettier from 6.3.0 to 6.4.0 ([4c1d69a](prettier/eslint-plugin-prettier@4c1d69a)) - build(deps-dev): bump eslint from 6.5.0 to 6.5.1 ([c109a7a](prettier/eslint-plugin-prettier@c109a7a)) - build(deps-dev): bump mocha from 6.2.0 to 6.2.1 ([3134bea](prettier/eslint-plugin-prettier@3134bea)) - build(deps-dev): bump eslint from 6.4.0 to 6.5.0 ([7c290d7](prettier/eslint-plugin-prettier@7c290d7)) #### v3.1.1 (2019-09-18) - build(deps-dev): bump eslint from 6.3.0 to 6.4.0 ([8a793eb](prettier/eslint-plugin-prettier@8a793eb)) - build(deps-dev): bump eslint-config-prettier from 6.2.0 to 6.3.0 ([88c3f6c](prettier/eslint-plugin-prettier@88c3f6c)) - build(deps-dev): bump eslint-config-prettier from 6.0.0 to 6.2.0 ([5f9fbc1](prettier/eslint-plugin-prettier@5f9fbc1)) - build(deps-dev): bump eslint from 6.2.2 to 6.3.0 ([746b66d](prettier/eslint-plugin-prettier@746b66d)) - build(deps-dev): bump eslint from 6.1.0 to 6.2.2 ([97eedb4](prettier/eslint-plugin-prettier@97eedb4)) - build(deps-dev): bump eslint from 6.0.1 to 6.1.0 ([afef9d1](prettier/eslint-plugin-prettier@afef9d1)) - build(deps-dev): bump mocha from 6.1.4 to 6.2.0 ([0360a84](prettier/eslint-plugin-prettier@0360a84)) - build(deps): \[security] bump lodash from 4.17.11 to 4.17.14 ([9eceb68](prettier/eslint-plugin-prettier@9eceb68)) - Fix: When forcing the JS parser, use the modern name ([#212](prettier/eslint-plugin-prettier#212)) ([1385310](prettier/eslint-plugin-prettier@1385310)) - Add eslint 6 to test matrix ([#210](prettier/eslint-plugin-prettier#210)) ([bca77e6](prettier/eslint-plugin-prettier@bca77e6)) - build(deps-dev): bump eslint-config-prettier from 5.0.0 to 6.0.0 ([4c069bd](prettier/eslint-plugin-prettier@4c069bd)) - build(deps-dev): bump eslint-config-prettier from 4.3.0 to 5.0.0 ([60bb22f](prettier/eslint-plugin-prettier@60bb22f)) - build(deps-dev): bump prettier from 1.18.0 to 1.18.2 ([a183560](prettier/eslint-plugin-prettier@a183560)) - build(deps-dev): bump prettier from 1.17.1 to 1.18.0 ([0cad479](prettier/eslint-plugin-prettier@0cad479)) - build(deps-dev): bump eslint-config-prettier from 4.2.0 to 4.3.0 ([6f3c76f](prettier/eslint-plugin-prettier@6f3c76f)) - build(deps-dev): bump prettier from 1.17.0 to 1.17.1 ([03aecfd](prettier/eslint-plugin-prettier@03aecfd)) #### v3.1.0 (2019-05-11) - New: Allow options to be passed to prettier.getFileInfo ([#187](prettier/eslint-plugin-prettier#187)) ([21fa69a](prettier/eslint-plugin-prettier@21fa69a)) - build(deps-dev): bump eslint-plugin-eslint-plugin from 2.0.1 to 2.1.0 ([bb597e1](prettier/eslint-plugin-prettier@bb597e1)) - build(deps-dev): bump eslint-config-prettier from 4.1.0 to 4.2.0 ([0bb7c1d](prettier/eslint-plugin-prettier@0bb7c1d)) - build(deps-dev): bump vue-eslint-parser from 6.0.3 to 6.0.4 ([2f77df4](prettier/eslint-plugin-prettier@2f77df4)) - build(deps-dev): bump mocha from 6.1.3 to 6.1.4 ([222b87a](prettier/eslint-plugin-prettier@222b87a)) - build(deps-dev): bump prettier from 1.16.4 to 1.17.0 ([58d8ff8](prettier/eslint-plugin-prettier@58d8ff8)) - build(deps-dev): bump mocha from 6.1.2 to 6.1.3 ([e94e56c](prettier/eslint-plugin-prettier@e94e56c)) - build(deps-dev): bump mocha from 6.1.1 to 6.1.2 ([c02244b](prettier/eslint-plugin-prettier@c02244b)) - build(deps-dev): bump mocha from 6.0.2 to 6.1.1 ([a9a2e4e](prettier/eslint-plugin-prettier@a9a2e4e)) - build(deps-dev): bump eslint from 5.15.3 to 5.16.0 ([073c14c](prettier/eslint-plugin-prettier@073c14c)) - build(deps-dev): bump eslint from 5.15.2 to 5.15.3 ([bda931f](prettier/eslint-plugin-prettier@bda931f)) - build(deps-dev): bump eslint from 5.15.1 to 5.15.2 ([19f53d6](prettier/eslint-plugin-prettier@19f53d6)) - build(deps-dev): bump eslint from 5.15.0 to 5.15.1 ([34b39de](prettier/eslint-plugin-prettier@34b39de)) - build(deps-dev): bump eslint from 5.14.1 to 5.15.0 ([13bcc66](prettier/eslint-plugin-prettier@13bcc66)) - build(deps-dev): bump eslint-plugin-self from 1.1.0 to 1.2.0 ([5b4adb8](prettier/eslint-plugin-prettier@5b4adb8)) - build(deps-dev): bump vue-eslint-parser from 6.0.2 to 6.0.3 ([e676cd1](prettier/eslint-plugin-prettier@e676cd1)) - build(deps-dev): bump eslint-config-prettier from 4.0.0 to 4.1.0 ([b8a9215](prettier/eslint-plugin-prettier@b8a9215)) - build(deps-dev): bump mocha from 6.0.1 to 6.0.2 ([cde36e4](prettier/eslint-plugin-prettier@cde36e4)) - build(deps-dev): bump mocha from 6.0.0 to 6.0.1 ([eb39699](prettier/eslint-plugin-prettier@eb39699)) - build(deps-dev): bump mocha from 5.2.0 to 6.0.0 ([5d75421](prettier/eslint-plugin-prettier@5d75421)) - build(deps-dev): bump eslint from 5.14.0 to 5.14.1 ([829156e](prettier/eslint-plugin-prettier@829156e)) - build(deps-dev): bump eslint from 5.13.0 to 5.14.0 ([b76d0b4](prettier/eslint-plugin-prettier@b76d0b4)) - build(deps-dev): bump vue-eslint-parser from 6.0.0 to 6.0.2 ([15439e8](prettier/eslint-plugin-prettier@15439e8)) - build(deps-dev): bump vue-eslint-parser from 5.0.0 to 6.0.0 ([0ea70e5](prettier/eslint-plugin-prettier@0ea70e5)) - build(deps-dev): bump eslint from 5.12.1 to 5.13.0 ([5f18729](prettier/eslint-plugin-prettier@5f18729)) - build(deps-dev): bump prettier from 1.16.3 to 1.16.4 ([ef637fe](prettier/eslint-plugin-prettier@ef637fe)) - build(deps-dev): bump prettier from 1.16.1 to 1.16.3 ([58ab20c](prettier/eslint-plugin-prettier@58ab20c)) - build(deps-dev): bump eslint-config-prettier from 3.6.0 to 4.0.0 ([14393bd](prettier/eslint-plugin-prettier@14393bd)) - build(deps-dev): bump prettier from 1.16.0 to 1.16.1 ([00198b9](prettier/eslint-plugin-prettier@00198b9)) - build(deps-dev): bump prettier from 1.15.3 to 1.16.0 ([7890a87](prettier/eslint-plugin-prettier@7890a87)) - build(deps-dev): bump eslint from 5.12.0 to 5.12.1 ([92a8984](prettier/eslint-plugin-prettier@92a8984)) - build(deps-dev): bump eslint-config-prettier from 3.5.0 to 3.6.0 ([5292d12](prettier/eslint-plugin-prettier@5292d12)) - build(deps-dev): bump eslint-config-prettier from 3.4.0 to 3.5.0 ([44a2558](prettier/eslint-plugin-prettier@44a2558)) - build(deps-dev): bump eslint-config-prettier from 3.3.0 to 3.4.0 ([425cfce](prettier/eslint-plugin-prettier@425cfce)) - build(deps-dev): bump eslint from 5.11.1 to 5.12.0 ([3e9aa39](prettier/eslint-plugin-prettier@3e9aa39)) - build(deps-dev): bump eslint-plugin-node from 8.0.0 to 8.0.1 ([e913afd](prettier/eslint-plugin-prettier@e913afd)) - build(deps-dev): bump vue-eslint-parser from 4.0.3 to 5.0.0 ([ecfd5ba](prettier/eslint-plugin-prettier@ecfd5ba)) #### v3.0.1 (2018-12-28) - Catch and format SyntaxErrors as eslint violations ([#141](prettier/eslint-plugin-prettier#141)) ([4a0e57d](prettier/eslint-plugin-prettier@4a0e57d)) - build(deps-dev): bump eslint from 5.11.0 to 5.11.1 ([d34daed](prettier/eslint-plugin-prettier@d34daed)) - build(deps-dev): bump eslint from 5.10.0 to 5.11.0 ([7f4f45d](prettier/eslint-plugin-prettier@7f4f45d)) - build(deps-dev): bump eslint-plugin-eslint-plugin from 2.0.0 to 2.0.1 ([5be3bcf](prettier/eslint-plugin-prettier@5be3bcf)) - build(deps-dev): bump eslint from 5.9.0 to 5.10.0 ([11e7c44](prettier/eslint-plugin-prettier@11e7c44)) - build(deps-dev): bump eslint-plugin-eslint-plugin from 1.4.1 to 2.0.0 ([9e5bf14](prettier/eslint-plugin-prettier@9e5bf14)) - build(deps-dev): bump vue-eslint-parser from 4.0.2 to 4.0.3 ([234583a](prettier/eslint-plugin-prettier@234583a)) - build(deps-dev): bump vue-eslint-parser from 3.3.0 to 4.0.2 ([8675d57](prettier/eslint-plugin-prettier@8675d57)) - Upgrade: Bump vue-eslint-parser from 3.2.2 to 3.3.0 ([2379e93](prettier/eslint-plugin-prettier@2379e93)) - Upgrade: Bump eslint-config-prettier from 3.1.0 to 3.3.0 ([3ea0021](prettier/eslint-plugin-prettier@3ea0021)) - Upgrade: Bump eslint from 5.8.0 to 5.9.0 ([c774fb8](prettier/eslint-plugin-prettier@c774fb8)) - build(deps-dev): bump eslint-plugin-node from 7.0.1 to 8.0.0 ([#121](prettier/eslint-plugin-prettier#121)) ([2a4fba0](prettier/eslint-plugin-prettier@2a4fba0)) - build(deps-dev): bump eslint-plugin-eslint-plugin from 1.4.0 to 1.4.1 ([#120](prettier/eslint-plugin-prettier#120)) ([29caa29](prettier/eslint-plugin-prettier@29caa29)) - build(deps-dev): bump eslint from 5.6.0 to 5.8.0 ([#119](prettier/eslint-plugin-prettier#119)) ([2836350](prettier/eslint-plugin-prettier@2836350)) #### v3.0.0 (2018-10-01) - Chore: Add eslint peer-dependency ([d55d79c](prettier/eslint-plugin-prettier@d55d79c)) - Breaking: Extract showInvisibles and generateDifferences ([bf7c40c](prettier/eslint-plugin-prettier@bf7c40c)) - Breaking: Defining prettier options must use an object ([478c7e5](prettier/eslint-plugin-prettier@478c7e5)) - Breaking: Drop support for ESLint v3 and v4 ([2326231](prettier/eslint-plugin-prettier@2326231)) - Chore: Update dependencies ([1ec94c8](prettier/eslint-plugin-prettier@1ec94c8)) - Chore: remove two unused dependencies ([bfe459c](prettier/eslint-plugin-prettier@bfe459c)) - Chore: Rename test files to keep them sequential ([d38ea52](prettier/eslint-plugin-prettier@d38ea52)) - Breaking: Remove pragma support ([3af422c](prettier/eslint-plugin-prettier@3af422c)) - Breaking: Update minimum required pretter version to 1.13.0 ([29c0506](prettier/eslint-plugin-prettier@29c0506)) - Breaking: Drop support for node v4, v7 and v9 ([be460bd](prettier/eslint-plugin-prettier@be460bd)) - Chore: Add vscode config to autoformat on save ([9fac6b4](prettier/eslint-plugin-prettier@9fac6b4)) - Chore: Improve travis matrix ([46d2444](prettier/eslint-plugin-prettier@46d2444)) - Chore: Add format script to run prettier ([d46aa6d](prettier/eslint-plugin-prettier@d46aa6d)) #### v2.7.0 (2018-09-26) - Update: Support prettierignore and custom processors ([#111](prettier/eslint-plugin-prettier#111)) ([38537ba](prettier/eslint-plugin-prettier@38537ba)) - Build: switch to release script package ([047dc8f](prettier/eslint-plugin-prettier@047dc8f)) #### v2.6.2 (2018-07-06) - Fix: Add representation for \r to showInvisibles ([#100](prettier/eslint-plugin-prettier#100)) ([731bbb5](prettier/eslint-plugin-prettier@731bbb5)) - Docs: Add clarification about Flow/React support to readme ([#96](prettier/eslint-plugin-prettier#96)) ([977aa77](prettier/eslint-plugin-prettier@977aa77)) #### v2.6.1 (2018-06-23) - Fix: respect editorconfig ([#92](prettier/eslint-plugin-prettier#92)) ([0b04dd3](prettier/eslint-plugin-prettier@0b04dd3)) #### v2.6.0 (2018-02-02) - Update: Add option to skip loading prettierrc ([#83](prettier/eslint-plugin-prettier#83)) ([9e0fb48](prettier/eslint-plugin-prettier@9e0fb48)) - Build: add Node 8 and 9 to Travis ([e5b5fa7](prettier/eslint-plugin-prettier@e5b5fa7)) - Chore: add test for vue parsing ([1ab43fd](prettier/eslint-plugin-prettier@1ab43fd)) #### v2.5.0 (2018-01-16) - Fix: pass filepath to prettier ([#76](prettier/eslint-plugin-prettier#76)) ([0b6ab55](prettier/eslint-plugin-prettier@0b6ab55)) - Update: Add URL to rule documentation to the metadata ([#75](prettier/eslint-plugin-prettier#75)) ([804ead7](prettier/eslint-plugin-prettier@804ead7)) #### v2.4.0 (2017-12-17) - New: Add 'recommended' configuration ([#73](prettier/eslint-plugin-prettier#73)) ([e529b60](prettier/eslint-plugin-prettier@e529b60)) - Docs: Create ISSUE\_TEMPLATE.md ([4335b08](prettier/eslint-plugin-prettier@4335b08)) #### v2.3.1 (2017-09-18) - Fix: Guard against older prettier installation ([#56](prettier/eslint-plugin-prettier#56)) ([8a115f9](prettier/eslint-plugin-prettier@8a115f9)) #### v2.3.0 (2017-09-18) - Update: Support .prettierrc config files (fixes [#46](prettier/eslint-plugin-prettier#46)) ([#55](prettier/eslint-plugin-prettier#55)) ([bc89153](prettier/eslint-plugin-prettier@bc89153)) - Docs: .eslintrc.json > .eslintrc ([#52](prettier/eslint-plugin-prettier#52)) ([95f0808](prettier/eslint-plugin-prettier@95f0808)) - Upgrade: jest-docblock to ^21.0.0 ([#50](prettier/eslint-plugin-prettier#50)) ([c777111](prettier/eslint-plugin-prettier@c777111)) - Chore: upgrade prettier to ^1.6.1 ([#49](prettier/eslint-plugin-prettier#49)) ([56deffa](prettier/eslint-plugin-prettier@56deffa)) - Chore: use eslint-plugin-self for linting ([#47](prettier/eslint-plugin-prettier#47)) ([5ea0526](prettier/eslint-plugin-prettier@5ea0526)) #### v2.2.0 (2017-08-16) - New: expose reporter api (fixes [#39](prettier/eslint-plugin-prettier#39)) ([#41](prettier/eslint-plugin-prettier#41)) ([1666067](prettier/eslint-plugin-prettier@1666067)) #### v2.1.2 (2017-06-14) - Chore: Relax peerDependencies ([#30](prettier/eslint-plugin-prettier#30)) ([a19b8af](prettier/eslint-plugin-prettier@a19b8af)) - Chore: Add release script ([#25](prettier/eslint-plugin-prettier#25)) ([8fbfe73](prettier/eslint-plugin-prettier@8fbfe73)) #### v2.1.1 (2017-05-19) - Fix: Support ESLint <3.11.0 ([#24](prettier/eslint-plugin-prettier#24)) ([fde7fdf](prettier/eslint-plugin-prettier@fde7fdf)) - Chore: add yarn.lock ([#23](prettier/eslint-plugin-prettier#23)) ([8b55518](prettier/eslint-plugin-prettier@8b55518)) - Docs: fix links in changelog ([#22](prettier/eslint-plugin-prettier#22)) ([7e70e11](prettier/eslint-plugin-prettier@7e70e11)) #### v2.1.0 (2017-05-16) - Merge with eslint-plugin-prettify ([#21](prettier/eslint-plugin-prettier#21)) ([6de494f](prettier/eslint-plugin-prettier@6de494f)) - Docs: update repo links to new URL ([#18](prettier/eslint-plugin-prettier#18)) ([6b69492](prettier/eslint-plugin-prettier@6b69492)) - Chore: Upgrade development dependencies ([#16](prettier/eslint-plugin-prettier#16)) ([12984ea](prettier/eslint-plugin-prettier@12984ea)) - Docs: fix outdated info about prettier's semicolon support ([da6aad1](prettier/eslint-plugin-prettier@da6aad1)) - Docs: update prettier options in example ([#14](prettier/eslint-plugin-prettier#14)) ([0ae173f](prettier/eslint-plugin-prettier@0ae173f)) - Docs: Change the order of dependencies install ([#13](prettier/eslint-plugin-prettier#13)) ([cbf803c](prettier/eslint-plugin-prettier@cbf803c)) - Docs: Add CONTRIBUTING.md (fixes [#9](prettier/eslint-plugin-prettier#9)) ([40fe55b](prettier/eslint-plugin-prettier@40fe55b)) #### v2.0.1 (2017-02-26) - Docs: add travis badge to README.md ([1daa495](prettier/eslint-plugin-prettier@1daa495)) - Upgrade: prettier to 0.18.0 ([1700e41](prettier/eslint-plugin-prettier@1700e41)) - Chore: use eslint-config-prettier ([c979b84](prettier/eslint-plugin-prettier@c979b84)) - Fix: avoid relying on an internal eslint function ([5296930](prettier/eslint-plugin-prettier@5296930)) - Docs: mention eslint-config-prettier in README.md ([3fd855d](prettier/eslint-plugin-prettier@3fd855d)) - Chore: pin the version of prettier used to lint this module (refs [#1](prettier/eslint-plugin-prettier#1)) ([db85633](prettier/eslint-plugin-prettier@db85633)) #### v2.0.0 (2017-01-28) - Docs: create changelog ([d388095](prettier/eslint-plugin-prettier@d388095)) - Docs: add 2.0.0 migration guide ([db508d7](prettier/eslint-plugin-prettier@db508d7)) - Breaking: Make prettier a peerDependency ([#1](prettier/eslint-plugin-prettier#1)) ([d8a8992](prettier/eslint-plugin-prettier@d8a8992)) - Docs: add repo url to package.json ([2474bc9](prettier/eslint-plugin-prettier@2474bc9)) - Docs: suggest prettier-eslint if eslint rules disagree with prettier ([3414437](prettier/eslint-plugin-prettier@3414437)) ## [v5.5.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#551) ##### Patch Changes - [#748](prettier/eslint-plugin-prettier#748) [`bfd1e95`](prettier/eslint-plugin-prettier@bfd1e95) Thanks [@JounQin](https://github.com/JounQin)! - fix: use `prettierRcOptions` directly for prettier 3.6+ ## [v5.5.0](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#550) ##### Minor Changes - [#743](prettier/eslint-plugin-prettier#743) [`92f2c9c`](prettier/eslint-plugin-prettier@92f2c9c) Thanks [@dotcarmen](https://github.com/dotcarmen)! - feat: support non-js languages like `css` for `@eslint/css` and `json` for `@eslint/json` ## [v5.4.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#541) ##### Patch Changes - [#740](prettier/eslint-plugin-prettier#740) [`c21521f`](prettier/eslint-plugin-prettier@c21521f) Thanks [@JounQin](https://github.com/JounQin)! - fix(deps): bump `synckit` to v0.11.7 to fix potential `TypeError: Cannot read properties of undefined (reading 'message')` error
| datasource | package | from | to | | ---------- | ---------------------- | ----- | ----- | | npm | eslint-plugin-prettier | 5.4.0 | 5.5.3 | ## [v5.5.3](https://github.com/prettier/eslint-plugin-prettier/releases/tag/v5.5.3) republish the latest version **Full Changelog**: prettier/eslint-plugin-prettier@v5.5.2...v5.5.3 ## [v5.5.2](https://github.com/prettier/eslint-plugin-prettier/releases/tag/v5.5.2) ### Changelog #### 5.5.1 ##### Patch Changes - [#748](prettier/eslint-plugin-prettier#748) [`bfd1e95`](prettier/eslint-plugin-prettier@bfd1e95) Thanks [@JounQin](https://github.com/JounQin)! - fix: use `prettierRcOptions` directly for prettier 3.6+ #### 5.5.0 ##### Minor Changes - [#743](prettier/eslint-plugin-prettier#743) [`92f2c9c`](prettier/eslint-plugin-prettier@92f2c9c) Thanks [@dotcarmen](https://github.com/dotcarmen)! - feat: support non-js languages like `css` for `@eslint/css` and `json` for `@eslint/json` #### 5.4.1 ##### Patch Changes - [#740](prettier/eslint-plugin-prettier#740) [`c21521f`](prettier/eslint-plugin-prettier@c21521f) Thanks [@JounQin](https://github.com/JounQin)! - fix(deps): bump `synckit` to v0.11.7 to fix potential `TypeError: Cannot read properties of undefined (reading 'message')` error #### 5.4.0 ##### Minor Changes - [#736](prettier/eslint-plugin-prettier#736) [`59a0cae`](prettier/eslint-plugin-prettier@59a0cae) Thanks [@yashtech00](https://github.com/yashtech00)! - refactor: migrate `worker.js` to `worker.mjs` #### 5.3.1 ##### Patch Changes - [#734](prettier/eslint-plugin-prettier#734) [`dcf2c80`](prettier/eslint-plugin-prettier@dcf2c80) Thanks [@JounQin](https://github.com/JounQin)! - ci: enable `NPM_CONFIG_PROVENANCE` env #### 5.3.0 ##### Minor Changes - [#674](prettier/eslint-plugin-prettier#674) [`6fe0c90`](prettier/eslint-plugin-prettier@6fe0c90) Thanks [@irsooti](https://github.com/irsooti)! - feat(types): prefer `Config` over `FlatConfig` when they're equal #### 5.2.6 ##### Patch Changes - [#723](prettier/eslint-plugin-prettier#723) [`1451176`](prettier/eslint-plugin-prettier@1451176) Thanks [@renovate](https://github.com/apps/renovate)! - fix(deps): bump `synckit` to `v0.11.0` #### 5.2.5 ##### Patch Changes - [#721](prettier/eslint-plugin-prettier#721) [`4f5513d`](prettier/eslint-plugin-prettier@4f5513d) Thanks [@JounQin](https://github.com/JounQin)! - fix: clarify correct `eslint-config-prettier` peer range #### 5.2.4 ##### Patch Changes - [#715](prettier/eslint-plugin-prettier#715) [`b8cfe56`](prettier/eslint-plugin-prettier@b8cfe56) Thanks [@JounQin](https://github.com/JounQin)! - chore: hourcekeeping, bump all (dev) deps #### 5.2.3 ##### Patch Changes - [#703](prettier/eslint-plugin-prettier#703) [`9c6141f`](prettier/eslint-plugin-prettier@9c6141f) Thanks [@BPScott](https://github.com/BPScott)! - Add name field to recommended flat config #### 5.2.2 ##### Patch Changes - [#700](prettier/eslint-plugin-prettier#700) [`aa5b59f`](prettier/eslint-plugin-prettier@aa5b59f) Thanks [@ntnyq](https://github.com/ntnyq)! - fix: report node when loc not found #### 5.2.1 ##### Patch Changes - [#668](prettier/eslint-plugin-prettier#668) [`ac036cc`](prettier/eslint-plugin-prettier@ac036cc) Thanks [@OrlovAlexei](https://github.com/OrlovAlexei)! - build(deps): Bump synckit from 0.8.6 to 0.9.1 #### 5.2.0 ##### Minor Changes - [#652](prettier/eslint-plugin-prettier#652) [`f170011`](prettier/eslint-plugin-prettier@f170011) Thanks [@Logicer16](https://github.com/Logicer16)! - feat: support parsing `html` via `@html-eslint/parser` natively #### 5.1.3 ##### Patch Changes - [#629](prettier/eslint-plugin-prettier#629) [`985b33c`](prettier/eslint-plugin-prettier@985b33c) Thanks [@JounQin](https://github.com/JounQin)! - chore: add `package.json` into `exports` map #### 5.1.2 ##### Patch Changes - [#623](prettier/eslint-plugin-prettier#623) [`8210e44`](prettier/eslint-plugin-prettier@8210e44) Thanks [@BPScott](https://github.com/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](prettier/eslint-plugin-prettier#621) [`2b09e7f`](prettier/eslint-plugin-prettier@2b09e7f) Thanks [@JounQin](https://github.com/JounQin)! - feat: support parsing `markdown` via `eslint-mdx` natively What means the following is unnecessary anymore when using with `eslint-mdx`/`eslint-plugin-mdx`! ```json5 [ { files: ["**/*.md"], rules: { "prettier/prettier": ["error", { parser: "markdown" }] }, }, { files: ["**/*.mdx"], rules: { "prettier/prettier": ["error", { parser: "mdx" }] }, }, ] ``` #### 5.1.1 ##### Patch Changes - [#619](prettier/eslint-plugin-prettier#619) [`b5c0dc5`](prettier/eslint-plugin-prettier@b5c0dc5) Thanks [@JounQin](https://github.com/JounQin)! - chore: skip formatting inline scripts in pug files #### 5.1.0 ##### Minor Changes - [#616](prettier/eslint-plugin-prettier#616) [`3856413`](prettier/eslint-plugin-prettier@3856413) Thanks [@BPScott](https://github.com/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`. ```js // eslint.config.js const eslintPluginPrettierRecommended = require("eslint-plugin-prettier/recommended"); module.exports = [ // Any other config imports go at the top eslintPluginPrettierRecommended, ]; ``` ##### Patch Changes - [#614](prettier/eslint-plugin-prettier#614) [`5270877`](prettier/eslint-plugin-prettier@5270877) Thanks [@BPScott](https://github.com/BPScott)! - Add meta block to plugin. This improves debugging and cachebusting when using the new flat config - [#603](prettier/eslint-plugin-prettier#603) [`a63a570`](prettier/eslint-plugin-prettier@a63a570) Thanks [@filiptammergard](https://github.com/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 - [#588](prettier/eslint-plugin-prettier#588) [`21a7146`](prettier/eslint-plugin-prettier@21a7146) Thanks [@krist7599555](https://github.com/krist7599555)! - fix: `parserPath` type might be `undefined` on Eslint Falt Config #### 5.0.0 ##### Major Changes - [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat!: bump peer eslint to ">=8.0.0" and node to "^14.18.0 || >=16.0.0" - [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat!: upgrade to prettier v3 ##### Minor Changes - [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat: add typings support ##### Patch Changes - [#548](prettier/eslint-plugin-prettier#548) [`82a3db8`](prettier/eslint-plugin-prettier@82a3db8) Thanks [@fisker](https://github.com/fisker)! - fix: add missing dependency `synckit` - [#564](prettier/eslint-plugin-prettier#564) [`ae7a73c`](prettier/eslint-plugin-prettier@ae7a73c) Thanks [@auvred](https://github.com/auvred)! - fix: compatibility with prettier@3 without plugins #### 4.2.2 ##### Patch Changes - [`2373d0c`](prettier/eslint-plugin-prettier@2373d0c) Thanks [@JounQin](https://github.com/JounQin)! - docs: add Sponsors and Backers sections #### 4.2.1 ##### Patch Changes - [#485](prettier/eslint-plugin-prettier#485) [`5736ed5`](prettier/eslint-plugin-prettier@5736ed5) Thanks [@JounQin](https://github.com/JounQin)! - chore: reuse prettierRcOptions instead of resolveConfig again #### 4.2.0 ##### Minor Changes - [#483](prettier/eslint-plugin-prettier#483) [`7bd70b6`](prettier/eslint-plugin-prettier@7bd70b6) Thanks [@JounQin](https://github.com/JounQin)! - feat: support svelte out of box close [#472](prettier/eslint-plugin-prettier#472), close [#482](prettier/eslint-plugin-prettier#482) We recommend to use [`eslint-plugin-svelte`](https://github.com/ota-meshi/eslint-plugin-svelte) instead of [`eslint-plugin-svelte3`](https://github.com/sveltejs/eslint-plugin-svelte3). #### v4.1.0 (2022-06-27) - feat: skip processing code blocks on specific languages like `stylelint-prettier` ([#415](prettier/eslint-plugin-prettier#415)) ([52eec48](prettier/eslint-plugin-prettier@52eec48)) - build(deps): Bump minimist from 1.2.5 to 1.2.6 ([#464](prettier/eslint-plugin-prettier#464)) ([42bfe88](prettier/eslint-plugin-prettier@42bfe88)) - build(deps-dev): Bump graphql from 15.5.1 to 15.7.2 ([#442](prettier/eslint-plugin-prettier#442)) ([0158640](prettier/eslint-plugin-prettier@0158640)) - build(deps-dev): Bump [@graphql-eslint/eslint-plugin](https://github.com/graphql-eslint/eslint-plugin) from 2.3.0 to 2.4.0 ([#444](prettier/eslint-plugin-prettier#444)) ([4bcaca2](prettier/eslint-plugin-prettier@4bcaca2)) - chore(CI): add tests for ESLint 8 ([#428](prettier/eslint-plugin-prettier#428)) ([f3713be](prettier/eslint-plugin-prettier@f3713be)) - README.md: HTTP => HTTPS ([#443](prettier/eslint-plugin-prettier#443)) ([44e1478](prettier/eslint-plugin-prettier@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](prettier/eslint-plugin-prettier#429)) ([acb56f3](prettier/eslint-plugin-prettier@acb56f3)) #### v3.4.1 (2021-08-20) - build(deps): Bump glob-parent from 5.0.0 to 5.1.2 ([#420](prettier/eslint-plugin-prettier#420)) ([b6d075c](prettier/eslint-plugin-prettier@b6d075c)) - build(deps): Bump path-parse from 1.0.6 to 1.0.7 ([#425](prettier/eslint-plugin-prettier#425)) ([24f957e](prettier/eslint-plugin-prettier@24f957e)) - feat: support `@graphql-eslint/eslint-plugin` out of box ([#413](prettier/eslint-plugin-prettier#413)) ([ec6fbb1](prettier/eslint-plugin-prettier@ec6fbb1)) - chore: add tests for Node 16 ([#410](prettier/eslint-plugin-prettier#410)) ([76bd45e](prettier/eslint-plugin-prettier@76bd45e)) #### v3.4.0 (2021-04-15) - feat: support processor virtual filename ([#401](prettier/eslint-plugin-prettier#401)) ([ee0ccc6](prettier/eslint-plugin-prettier@ee0ccc6)) - Simplify report logic ([#380](prettier/eslint-plugin-prettier#380)) ([d993f24](prettier/eslint-plugin-prettier@d993f24)) - Update: README.md ([#375](prettier/eslint-plugin-prettier#375)) ([3ea4242](prettier/eslint-plugin-prettier@3ea4242)) #### v3.3.1 (2021-01-04) - fix: add eslint-config-prettier as an optional peer dependency ([#374](prettier/eslint-plugin-prettier#374)) ([d59df27](prettier/eslint-plugin-prettier@d59df27)) - build(deps-dev): bump eslint from 7.16.0 to 7.17.0 ([b87985d](prettier/eslint-plugin-prettier@b87985d)) - build(deps-dev): bump eslint from 7.15.0 to 7.16.0 ([11e427e](prettier/eslint-plugin-prettier@11e427e)) #### v3.3.0 (2020-12-13) - Minor: Perf improvement: Do not clear the config cache on each run ([#368](prettier/eslint-plugin-prettier#368)) ([1b90ea7](prettier/eslint-plugin-prettier@1b90ea7)) - Add peerDependenciesMeta block ([#367](prettier/eslint-plugin-prettier#367)) ([86608d5](prettier/eslint-plugin-prettier@86608d5)) - build(deps-dev): bump eslint from 7.14.0 to 7.15.0 ([885f484](prettier/eslint-plugin-prettier@885f484)) - build(deps-dev): bump eslint from 7.3.1 to 7.14.0 ([cebc80b](prettier/eslint-plugin-prettier@cebc80b)) #### v3.2.0 (2020-12-03) - Skip CI for eslint 6 + node 8 ([#364](prettier/eslint-plugin-prettier#364)) ([f8f08e4](prettier/eslint-plugin-prettier@f8f08e4)) - Turn off problematic rules in recommended config (prepare for next eslint-config-prettier version) ([#360](prettier/eslint-plugin-prettier#360)) ([a1e5591](prettier/eslint-plugin-prettier@a1e5591)) - Create dependabot.yml ([f58b6c7](prettier/eslint-plugin-prettier@f58b6c7)) - docs(README): fix prettier getFileInfo link ([#335](prettier/eslint-plugin-prettier#335)) ([5a690f1](prettier/eslint-plugin-prettier@5a690f1)) - build(deps-dev): bump eslint-plugin-eslint-plugin from 2.2.2 to 2.3.0 ([8614c45](prettier/eslint-plugin-prettier@8614c45)) - build(deps-dev): bump eslint from 7.3.0 to 7.3.1 ([12d9ed8](prettier/eslint-plugin-prettier@12d9ed8)) - build(deps-dev): bump eslint from 7.2.0 to 7.3.0 ([5a6f42e](prettier/eslint-plugin-prettier@5a6f42e)) - chore: update CI badge in readme ([5012b66](prettier/eslint-plugin-prettier@5012b66)) - Use Github Actions for CI ([#305](prettier/eslint-plugin-prettier#305)) ([41eb64f](prettier/eslint-plugin-prettier@41eb64f)) #### v3.1.4 (2020-06-14) - Avoid clearing Prettier cache when not using prettierrc ([#303](prettier/eslint-plugin-prettier#303)) ([3c8e2d9](prettier/eslint-plugin-prettier@3c8e2d9)) - build(deps-dev): bump eslint-plugin-eslint-plugin from 2.2.1 to 2.2.2 ([93f7c8b](prettier/eslint-plugin-prettier@93f7c8b)) - build(deps-dev): bump eslint from 7.1.0 to 7.2.0 ([650ac7a](prettier/eslint-plugin-prettier@650ac7a)) - build(deps-dev): bump eslint-plugin-self from 1.2.0 to 1.2.1 ([6449ec1](prettier/eslint-plugin-prettier@6449ec1)) - build(deps-dev): bump eslint from 7.0.0 to 7.1.0 ([fd30022](prettier/eslint-plugin-prettier@fd30022)) - Chore: Add CI tests for ESLint 7 ([#291](prettier/eslint-plugin-prettier#291)) ([cc2979b](prettier/eslint-plugin-prettier@cc2979b)) - build(deps-dev): bump eslint-config-prettier from 6.10.1 to 6.11.0 ([35a7ee6](prettier/eslint-plugin-prettier@35a7ee6)) #### v3.1.3 (2020-04-13) - Fix: Set `meta.type` to "layout" ([#283](prettier/eslint-plugin-prettier#283)) ([97152e2](prettier/eslint-plugin-prettier@97152e2)) - build(deps-dev): bump eslint-config-prettier from 6.10.0 to 6.10.1 ([185b106](prettier/eslint-plugin-prettier@185b106)) - build(deps): \[security] bump acorn from 6.1.0 to 6.4.1 ([bba5881](prettier/eslint-plugin-prettier@bba5881)) - build(deps-dev): bump eslint-config-prettier from 6.9.0 to 6.10.0 ([9a47a6f](prettier/eslint-plugin-prettier@9a47a6f)) - build(deps-dev): bump eslint-plugin-eslint-plugin from 2.2.0 to 2.2.1 ([aad671d](prettier/eslint-plugin-prettier@aad671d)) - build(deps-dev): bump eslint-plugin-eslint-plugin from 2.1.0 to 2.2.0 ([e2458c2](prettier/eslint-plugin-prettier@e2458c2)) - build(deps-dev): bump eslint-config-prettier from 6.8.0 to 6.9.0 ([05ef06f](prettier/eslint-plugin-prettier@05ef06f)) - build(deps-dev): bump eslint-config-prettier from 6.7.0 to 6.8.0 ([ab80b3c](prettier/eslint-plugin-prettier@ab80b3c)) - build(deps-dev): bump eslint from 6.7.2 to 6.8.0 ([dea1b30](prettier/eslint-plugin-prettier@dea1b30)) #### v3.1.2 (2019-12-15) - Resolve config when getting list of inferred parsers ([1ad45be](prettier/eslint-plugin-prettier@1ad45be)) - Fix tests now they to stop them inheriting from base prettierrc file ([14840fa](prettier/eslint-plugin-prettier@14840fa)) - Move prettier config into dedicated file, so vscode plugins pick it up ([c49334a](prettier/eslint-plugin-prettier@c49334a)) - build(deps-dev): bump eslint from 6.7.1 to 6.7.2 ([15e6cf9](prettier/eslint-plugin-prettier@15e6cf9)) - build(deps-dev): bump eslint from 6.6.0 to 6.7.1 ([e8ad019](prettier/eslint-plugin-prettier@e8ad019)) - build(deps-dev): bump eslint-config-prettier from 6.6.0 to 6.7.0 ([44f4bfe](prettier/eslint-plugin-prettier@44f4bfe)) - build(deps-dev): bump eslint-config-prettier from 6.5.0 to 6.6.0 ([46580c5](prettier/eslint-plugin-prettier@46580c5)) - build(deps-dev): bump prettier from 1.18.2 to 1.19.1 ([10b4676](prettier/eslint-plugin-prettier@10b4676)) - build(deps-dev): bump eslint from 6.5.1 to 6.6.0 ([53eaeae](prettier/eslint-plugin-prettier@53eaeae)) - build(deps-dev): bump eslint-config-prettier from 6.4.0 to 6.5.0 ([ad3321c](prettier/eslint-plugin-prettier@ad3321c)) - build(deps-dev): bump mocha from 6.2.1 to 6.2.2 ([b7280b6](prettier/eslint-plugin-prettier@b7280b6)) - build(deps-dev): bump eslint-config-prettier from 6.3.0 to 6.4.0 ([4c1d69a](prettier/eslint-plugin-prettier@4c1d69a)) - build(deps-dev): bump eslint from 6.5.0 to 6.5.1 ([c109a7a](prettier/eslint-plugin-prettier@c109a7a)) - build(deps-dev): bump mocha from 6.2.0 to 6.2.1 ([3134bea](prettier/eslint-plugin-prettier@3134bea)) - build(deps-dev): bump eslint from 6.4.0 to 6.5.0 ([7c290d7](prettier/eslint-plugin-prettier@7c290d7)) #### v3.1.1 (2019-09-18) - build(deps-dev): bump eslint from 6.3.0 to 6.4.0 ([8a793eb](prettier/eslint-plugin-prettier@8a793eb)) - build(deps-dev): bump eslint-config-prettier from 6.2.0 to 6.3.0 ([88c3f6c](prettier/eslint-plugin-prettier@88c3f6c)) - build(deps-dev): bump eslint-config-prettier from 6.0.0 to 6.2.0 ([5f9fbc1](prettier/eslint-plugin-prettier@5f9fbc1)) - build(deps-dev): bump eslint from 6.2.2 to 6.3.0 ([746b66d](prettier/eslint-plugin-prettier@746b66d)) - build(deps-dev): bump eslint from 6.1.0 to 6.2.2 ([97eedb4](prettier/eslint-plugin-prettier@97eedb4)) - build(deps-dev): bump eslint from 6.0.1 to 6.1.0 ([afef9d1](prettier/eslint-plugin-prettier@afef9d1)) - build(deps-dev): bump mocha from 6.1.4 to 6.2.0 ([0360a84](prettier/eslint-plugin-prettier@0360a84)) - build(deps): \[security] bump lodash from 4.17.11 to 4.17.14 ([9eceb68](prettier/eslint-plugin-prettier@9eceb68)) - Fix: When forcing the JS parser, use the modern name ([#212](prettier/eslint-plugin-prettier#212)) ([1385310](prettier/eslint-plugin-prettier@1385310)) - Add eslint 6 to test matrix ([#210](prettier/eslint-plugin-prettier#210)) ([bca77e6](prettier/eslint-plugin-prettier@bca77e6)) - build(deps-dev): bump eslint-config-prettier from 5.0.0 to 6.0.0 ([4c069bd](prettier/eslint-plugin-prettier@4c069bd)) - build(deps-dev): bump eslint-config-prettier from 4.3.0 to 5.0.0 ([60bb22f](prettier/eslint-plugin-prettier@60bb22f)) - build(deps-dev): bump prettier from 1.18.0 to 1.18.2 ([a183560](prettier/eslint-plugin-prettier@a183560)) - build(deps-dev): bump prettier from 1.17.1 to 1.18.0 ([0cad479](prettier/eslint-plugin-prettier@0cad479)) - build(deps-dev): bump eslint-config-prettier from 4.2.0 to 4.3.0 ([6f3c76f](prettier/eslint-plugin-prettier@6f3c76f)) - build(deps-dev): bump prettier from 1.17.0 to 1.17.1 ([03aecfd](prettier/eslint-plugin-prettier@03aecfd)) #### v3.1.0 (2019-05-11) - New: Allow options to be passed to prettier.getFileInfo ([#187](prettier/eslint-plugin-prettier#187)) ([21fa69a](prettier/eslint-plugin-prettier@21fa69a)) - build(deps-dev): bump eslint-plugin-eslint-plugin from 2.0.1 to 2.1.0 ([bb597e1](prettier/eslint-plugin-prettier@bb597e1)) - build(deps-dev): bump eslint-config-prettier from 4.1.0 to 4.2.0 ([0bb7c1d](prettier/eslint-plugin-prettier@0bb7c1d)) - build(deps-dev): bump vue-eslint-parser from 6.0.3 to 6.0.4 ([2f77df4](prettier/eslint-plugin-prettier@2f77df4)) - build(deps-dev): bump mocha from 6.1.3 to 6.1.4 ([222b87a](prettier/eslint-plugin-prettier@222b87a)) - build(deps-dev): bump prettier from 1.16.4 to 1.17.0 ([58d8ff8](prettier/eslint-plugin-prettier@58d8ff8)) - build(deps-dev): bump mocha from 6.1.2 to 6.1.3 ([e94e56c](prettier/eslint-plugin-prettier@e94e56c)) - build(deps-dev): bump mocha from 6.1.1 to 6.1.2 ([c02244b](prettier/eslint-plugin-prettier@c02244b)) - build(deps-dev): bump mocha from 6.0.2 to 6.1.1 ([a9a2e4e](prettier/eslint-plugin-prettier@a9a2e4e)) - build(deps-dev): bump eslint from 5.15.3 to 5.16.0 ([073c14c](prettier/eslint-plugin-prettier@073c14c)) - build(deps-dev): bump eslint from 5.15.2 to 5.15.3 ([bda931f](prettier/eslint-plugin-prettier@bda931f)) - build(deps-dev): bump eslint from 5.15.1 to 5.15.2 ([19f53d6](prettier/eslint-plugin-prettier@19f53d6)) - build(deps-dev): bump eslint from 5.15.0 to 5.15.1 ([34b39de](prettier/eslint-plugin-prettier@34b39de)) - build(deps-dev): bump eslint from 5.14.1 to 5.15.0 ([13bcc66](prettier/eslint-plugin-prettier@13bcc66)) - build(deps-dev): bump eslint-plugin-self from 1.1.0 to 1.2.0 ([5b4adb8](prettier/eslint-plugin-prettier@5b4adb8)) - build(deps-dev): bump vue-eslint-parser from 6.0.2 to 6.0.3 ([e676cd1](prettier/eslint-plugin-prettier@e676cd1)) - build(deps-dev): bump eslint-config-prettier from 4.0.0 to 4.1.0 ([b8a9215](prettier/eslint-plugin-prettier@b8a9215)) - build(deps-dev): bump mocha from 6.0.1 to 6.0.2 ([cde36e4](prettier/eslint-plugin-prettier@cde36e4)) - build(deps-dev): bump mocha from 6.0.0 to 6.0.1 ([eb39699](prettier/eslint-plugin-prettier@eb39699)) - build(deps-dev): bump mocha from 5.2.0 to 6.0.0 ([5d75421](prettier/eslint-plugin-prettier@5d75421)) - build(deps-dev): bump eslint from 5.14.0 to 5.14.1 ([829156e](prettier/eslint-plugin-prettier@829156e)) - build(deps-dev): bump eslint from 5.13.0 to 5.14.0 ([b76d0b4](prettier/eslint-plugin-prettier@b76d0b4)) - build(deps-dev): bump vue-eslint-parser from 6.0.0 to 6.0.2 ([15439e8](prettier/eslint-plugin-prettier@15439e8)) - build(deps-dev): bump vue-eslint-parser from 5.0.0 to 6.0.0 ([0ea70e5](prettier/eslint-plugin-prettier@0ea70e5)) - build(deps-dev): bump eslint from 5.12.1 to 5.13.0 ([5f18729](prettier/eslint-plugin-prettier@5f18729)) - build(deps-dev): bump prettier from 1.16.3 to 1.16.4 ([ef637fe](prettier/eslint-plugin-prettier@ef637fe)) - build(deps-dev): bump prettier from 1.16.1 to 1.16.3 ([58ab20c](prettier/eslint-plugin-prettier@58ab20c)) - build(deps-dev): bump eslint-config-prettier from 3.6.0 to 4.0.0 ([14393bd](prettier/eslint-plugin-prettier@14393bd)) - build(deps-dev): bump prettier from 1.16.0 to 1.16.1 ([00198b9](prettier/eslint-plugin-prettier@00198b9)) - build(deps-dev): bump prettier from 1.15.3 to 1.16.0 ([7890a87](prettier/eslint-plugin-prettier@7890a87)) - build(deps-dev): bump eslint from 5.12.0 to 5.12.1 ([92a8984](prettier/eslint-plugin-prettier@92a8984)) - build(deps-dev): bump eslint-config-prettier from 3.5.0 to 3.6.0 ([5292d12](prettier/eslint-plugin-prettier@5292d12)) - build(deps-dev): bump eslint-config-prettier from 3.4.0 to 3.5.0 ([44a2558](prettier/eslint-plugin-prettier@44a2558)) - build(deps-dev): bump eslint-config-prettier from 3.3.0 to 3.4.0 ([425cfce](prettier/eslint-plugin-prettier@425cfce)) - build(deps-dev): bump eslint from 5.11.1 to 5.12.0 ([3e9aa39](prettier/eslint-plugin-prettier@3e9aa39)) - build(deps-dev): bump eslint-plugin-node from 8.0.0 to 8.0.1 ([e913afd](prettier/eslint-plugin-prettier@e913afd)) - build(deps-dev): bump vue-eslint-parser from 4.0.3 to 5.0.0 ([ecfd5ba](prettier/eslint-plugin-prettier@ecfd5ba)) #### v3.0.1 (2018-12-28) - Catch and format SyntaxErrors as eslint violations ([#141](prettier/eslint-plugin-prettier#141)) ([4a0e57d](prettier/eslint-plugin-prettier@4a0e57d)) - build(deps-dev): bump eslint from 5.11.0 to 5.11.1 ([d34daed](prettier/eslint-plugin-prettier@d34daed)) - build(deps-dev): bump eslint from 5.10.0 to 5.11.0 ([7f4f45d](prettier/eslint-plugin-prettier@7f4f45d)) - build(deps-dev): bump eslint-plugin-eslint-plugin from 2.0.0 to 2.0.1 ([5be3bcf](prettier/eslint-plugin-prettier@5be3bcf)) - build(deps-dev): bump eslint from 5.9.0 to 5.10.0 ([11e7c44](prettier/eslint-plugin-prettier@11e7c44)) - build(deps-dev): bump eslint-plugin-eslint-plugin from 1.4.1 to 2.0.0 ([9e5bf14](prettier/eslint-plugin-prettier@9e5bf14)) - build(deps-dev): bump vue-eslint-parser from 4.0.2 to 4.0.3 ([234583a](prettier/eslint-plugin-prettier@234583a)) - build(deps-dev): bump vue-eslint-parser from 3.3.0 to 4.0.2 ([8675d57](prettier/eslint-plugin-prettier@8675d57)) - Upgrade: Bump vue-eslint-parser from 3.2.2 to 3.3.0 ([2379e93](prettier/eslint-plugin-prettier@2379e93)) - Upgrade: Bump eslint-config-prettier from 3.1.0 to 3.3.0 ([3ea0021](prettier/eslint-plugin-prettier@3ea0021)) - Upgrade: Bump eslint from 5.8.0 to 5.9.0 ([c774fb8](prettier/eslint-plugin-prettier@c774fb8)) - build(deps-dev): bump eslint-plugin-node from 7.0.1 to 8.0.0 ([#121](prettier/eslint-plugin-prettier#121)) ([2a4fba0](prettier/eslint-plugin-prettier@2a4fba0)) - build(deps-dev): bump eslint-plugin-eslint-plugin from 1.4.0 to 1.4.1 ([#120](prettier/eslint-plugin-prettier#120)) ([29caa29](prettier/eslint-plugin-prettier@29caa29)) - build(deps-dev): bump eslint from 5.6.0 to 5.8.0 ([#119](prettier/eslint-plugin-prettier#119)) ([2836350](prettier/eslint-plugin-prettier@2836350)) #### v3.0.0 (2018-10-01) - Chore: Add eslint peer-dependency ([d55d79c](prettier/eslint-plugin-prettier@d55d79c)) - Breaking: Extract showInvisibles and generateDifferences ([bf7c40c](prettier/eslint-plugin-prettier@bf7c40c)) - Breaking: Defining prettier options must use an object ([478c7e5](prettier/eslint-plugin-prettier@478c7e5)) - Breaking: Drop support for ESLint v3 and v4 ([2326231](prettier/eslint-plugin-prettier@2326231)) - Chore: Update dependencies ([1ec94c8](prettier/eslint-plugin-prettier@1ec94c8)) - Chore: remove two unused dependencies ([bfe459c](prettier/eslint-plugin-prettier@bfe459c)) - Chore: Rename test files to keep them sequential ([d38ea52](prettier/eslint-plugin-prettier@d38ea52)) - Breaking: Remove pragma support ([3af422c](prettier/eslint-plugin-prettier@3af422c)) - Breaking: Update minimum required pretter version to 1.13.0 ([29c0506](prettier/eslint-plugin-prettier@29c0506)) - Breaking: Drop support for node v4, v7 and v9 ([be460bd](prettier/eslint-plugin-prettier@be460bd)) - Chore: Add vscode config to autoformat on save ([9fac6b4](prettier/eslint-plugin-prettier@9fac6b4)) - Chore: Improve travis matrix ([46d2444](prettier/eslint-plugin-prettier@46d2444)) - Chore: Add format script to run prettier ([d46aa6d](prettier/eslint-plugin-prettier@d46aa6d)) #### v2.7.0 (2018-09-26) - Update: Support prettierignore and custom processors ([#111](prettier/eslint-plugin-prettier#111)) ([38537ba](prettier/eslint-plugin-prettier@38537ba)) - Build: switch to release script package ([047dc8f](prettier/eslint-plugin-prettier@047dc8f)) #### v2.6.2 (2018-07-06) - Fix: Add representation for \r to showInvisibles ([#100](prettier/eslint-plugin-prettier#100)) ([731bbb5](prettier/eslint-plugin-prettier@731bbb5)) - Docs: Add clarification about Flow/React support to readme ([#96](prettier/eslint-plugin-prettier#96)) ([977aa77](prettier/eslint-plugin-prettier@977aa77)) #### v2.6.1 (2018-06-23) - Fix: respect editorconfig ([#92](prettier/eslint-plugin-prettier#92)) ([0b04dd3](prettier/eslint-plugin-prettier@0b04dd3)) #### v2.6.0 (2018-02-02) - Update: Add option to skip loading prettierrc ([#83](prettier/eslint-plugin-prettier#83)) ([9e0fb48](prettier/eslint-plugin-prettier@9e0fb48)) - Build: add Node 8 and 9 to Travis ([e5b5fa7](prettier/eslint-plugin-prettier@e5b5fa7)) - Chore: add test for vue parsing ([1ab43fd](prettier/eslint-plugin-prettier@1ab43fd)) #### v2.5.0 (2018-01-16) - Fix: pass filepath to prettier ([#76](prettier/eslint-plugin-prettier#76)) ([0b6ab55](prettier/eslint-plugin-prettier@0b6ab55)) - Update: Add URL to rule documentation to the metadata ([#75](prettier/eslint-plugin-prettier#75)) ([804ead7](prettier/eslint-plugin-prettier@804ead7)) #### v2.4.0 (2017-12-17) - New: Add 'recommended' configuration ([#73](prettier/eslint-plugin-prettier#73)) ([e529b60](prettier/eslint-plugin-prettier@e529b60)) - Docs: Create ISSUE\_TEMPLATE.md ([4335b08](prettier/eslint-plugin-prettier@4335b08)) #### v2.3.1 (2017-09-18) - Fix: Guard against older prettier installation ([#56](prettier/eslint-plugin-prettier#56)) ([8a115f9](prettier/eslint-plugin-prettier@8a115f9)) #### v2.3.0 (2017-09-18) - Update: Support .prettierrc config files (fixes [#46](prettier/eslint-plugin-prettier#46)) ([#55](prettier/eslint-plugin-prettier#55)) ([bc89153](prettier/eslint-plugin-prettier@bc89153)) - Docs: .eslintrc.json > .eslintrc ([#52](prettier/eslint-plugin-prettier#52)) ([95f0808](prettier/eslint-plugin-prettier@95f0808)) - Upgrade: jest-docblock to ^21.0.0 ([#50](prettier/eslint-plugin-prettier#50)) ([c777111](prettier/eslint-plugin-prettier@c777111)) - Chore: upgrade prettier to ^1.6.1 ([#49](prettier/eslint-plugin-prettier#49)) ([56deffa](prettier/eslint-plugin-prettier@56deffa)) - Chore: use eslint-plugin-self for linting ([#47](prettier/eslint-plugin-prettier#47)) ([5ea0526](prettier/eslint-plugin-prettier@5ea0526)) #### v2.2.0 (2017-08-16) - New: expose reporter api (fixes [#39](prettier/eslint-plugin-prettier#39)) ([#41](prettier/eslint-plugin-prettier#41)) ([1666067](prettier/eslint-plugin-prettier@1666067)) #### v2.1.2 (2017-06-14) - Chore: Relax peerDependencies ([#30](prettier/eslint-plugin-prettier#30)) ([a19b8af](prettier/eslint-plugin-prettier@a19b8af)) - Chore: Add release script ([#25](prettier/eslint-plugin-prettier#25)) ([8fbfe73](prettier/eslint-plugin-prettier@8fbfe73)) #### v2.1.1 (2017-05-19) - Fix: Support ESLint <3.11.0 ([#24](prettier/eslint-plugin-prettier#24)) ([fde7fdf](prettier/eslint-plugin-prettier@fde7fdf)) - Chore: add yarn.lock ([#23](prettier/eslint-plugin-prettier#23)) ([8b55518](prettier/eslint-plugin-prettier@8b55518)) - Docs: fix links in changelog ([#22](prettier/eslint-plugin-prettier#22)) ([7e70e11](prettier/eslint-plugin-prettier@7e70e11)) #### v2.1.0 (2017-05-16) - Merge with eslint-plugin-prettify ([#21](prettier/eslint-plugin-prettier#21)) ([6de494f](prettier/eslint-plugin-prettier@6de494f)) - Docs: update repo links to new URL ([#18](prettier/eslint-plugin-prettier#18)) ([6b69492](prettier/eslint-plugin-prettier@6b69492)) - Chore: Upgrade development dependencies ([#16](prettier/eslint-plugin-prettier#16)) ([12984ea](prettier/eslint-plugin-prettier@12984ea)) - Docs: fix outdated info about prettier's semicolon support ([da6aad1](prettier/eslint-plugin-prettier@da6aad1)) - Docs: update prettier options in example ([#14](prettier/eslint-plugin-prettier#14)) ([0ae173f](prettier/eslint-plugin-prettier@0ae173f)) - Docs: Change the order of dependencies install ([#13](prettier/eslint-plugin-prettier#13)) ([cbf803c](prettier/eslint-plugin-prettier@cbf803c)) - Docs: Add CONTRIBUTING.md (fixes [#9](prettier/eslint-plugin-prettier#9)) ([40fe55b](prettier/eslint-plugin-prettier@40fe55b)) #### v2.0.1 (2017-02-26) - Docs: add travis badge to README.md ([1daa495](prettier/eslint-plugin-prettier@1daa495)) - Upgrade: prettier to 0.18.0 ([1700e41](prettier/eslint-plugin-prettier@1700e41)) - Chore: use eslint-config-prettier ([c979b84](prettier/eslint-plugin-prettier@c979b84)) - Fix: avoid relying on an internal eslint function ([5296930](prettier/eslint-plugin-prettier@5296930)) - Docs: mention eslint-config-prettier in README.md ([3fd855d](prettier/eslint-plugin-prettier@3fd855d)) - Chore: pin the version of prettier used to lint this module (refs [#1](prettier/eslint-plugin-prettier#1)) ([db85633](prettier/eslint-plugin-prettier@db85633)) #### v2.0.0 (2017-01-28) - Docs: create changelog ([d388095](prettier/eslint-plugin-prettier@d388095)) - Docs: add 2.0.0 migration guide ([db508d7](prettier/eslint-plugin-prettier@db508d7)) - Breaking: Make prettier a peerDependency ([#1](prettier/eslint-plugin-prettier#1)) ([d8a8992](prettier/eslint-plugin-prettier@d8a8992)) - Docs: add repo url to package.json ([2474bc9](prettier/eslint-plugin-prettier@2474bc9)) - Docs: suggest prettier-eslint if eslint rules disagree with prettier ([3414437](prettier/eslint-plugin-prettier@3414437)) ## [v5.5.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#551) ##### Patch Changes - [#748](prettier/eslint-plugin-prettier#748) [`bfd1e95`](prettier/eslint-plugin-prettier@bfd1e95) Thanks [@JounQin](https://github.com/JounQin)! - fix: use `prettierRcOptions` directly for prettier 3.6+ ## [v5.5.0](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#550) ##### Minor Changes - [#743](prettier/eslint-plugin-prettier#743) [`92f2c9c`](prettier/eslint-plugin-prettier@92f2c9c) Thanks [@dotcarmen](https://github.com/dotcarmen)! - feat: support non-js languages like `css` for `@eslint/css` and `json` for `@eslint/json` ## [v5.4.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#541) ##### Patch Changes - [#740](prettier/eslint-plugin-prettier#740) [`c21521f`](prettier/eslint-plugin-prettier@c21521f) Thanks [@JounQin](https://github.com/JounQin)! - fix(deps): bump `synckit` to v0.11.7 to fix potential `TypeError: Cannot read properties of undefined (reading 'message')` error
| datasource | package | from | to | | ---------- | ---------------------- | ----- | ----- | | npm | eslint-plugin-prettier | 5.4.0 | 5.5.3 | ## [v5.5.3](https://github.com/prettier/eslint-plugin-prettier/releases/tag/v5.5.3) republish the latest version **Full Changelog**: prettier/eslint-plugin-prettier@v5.5.2...v5.5.3 ## [v5.5.2](https://github.com/prettier/eslint-plugin-prettier/releases/tag/v5.5.2) ### Changelog #### 5.5.1 ##### Patch Changes - [#748](prettier/eslint-plugin-prettier#748) [`bfd1e95`](prettier/eslint-plugin-prettier@bfd1e95) Thanks [@JounQin](https://github.com/JounQin)! - fix: use `prettierRcOptions` directly for prettier 3.6+ #### 5.5.0 ##### Minor Changes - [#743](prettier/eslint-plugin-prettier#743) [`92f2c9c`](prettier/eslint-plugin-prettier@92f2c9c) Thanks [@dotcarmen](https://github.com/dotcarmen)! - feat: support non-js languages like `css` for `@eslint/css` and `json` for `@eslint/json` #### 5.4.1 ##### Patch Changes - [#740](prettier/eslint-plugin-prettier#740) [`c21521f`](prettier/eslint-plugin-prettier@c21521f) Thanks [@JounQin](https://github.com/JounQin)! - fix(deps): bump `synckit` to v0.11.7 to fix potential `TypeError: Cannot read properties of undefined (reading 'message')` error #### 5.4.0 ##### Minor Changes - [#736](prettier/eslint-plugin-prettier#736) [`59a0cae`](prettier/eslint-plugin-prettier@59a0cae) Thanks [@yashtech00](https://github.com/yashtech00)! - refactor: migrate `worker.js` to `worker.mjs` #### 5.3.1 ##### Patch Changes - [#734](prettier/eslint-plugin-prettier#734) [`dcf2c80`](prettier/eslint-plugin-prettier@dcf2c80) Thanks [@JounQin](https://github.com/JounQin)! - ci: enable `NPM_CONFIG_PROVENANCE` env #### 5.3.0 ##### Minor Changes - [#674](prettier/eslint-plugin-prettier#674) [`6fe0c90`](prettier/eslint-plugin-prettier@6fe0c90) Thanks [@irsooti](https://github.com/irsooti)! - feat(types): prefer `Config` over `FlatConfig` when they're equal #### 5.2.6 ##### Patch Changes - [#723](prettier/eslint-plugin-prettier#723) [`1451176`](prettier/eslint-plugin-prettier@1451176) Thanks [@renovate](https://github.com/apps/renovate)! - fix(deps): bump `synckit` to `v0.11.0` #### 5.2.5 ##### Patch Changes - [#721](prettier/eslint-plugin-prettier#721) [`4f5513d`](prettier/eslint-plugin-prettier@4f5513d) Thanks [@JounQin](https://github.com/JounQin)! - fix: clarify correct `eslint-config-prettier` peer range #### 5.2.4 ##### Patch Changes - [#715](prettier/eslint-plugin-prettier#715) [`b8cfe56`](prettier/eslint-plugin-prettier@b8cfe56) Thanks [@JounQin](https://github.com/JounQin)! - chore: hourcekeeping, bump all (dev) deps #### 5.2.3 ##### Patch Changes - [#703](prettier/eslint-plugin-prettier#703) [`9c6141f`](prettier/eslint-plugin-prettier@9c6141f) Thanks [@BPScott](https://github.com/BPScott)! - Add name field to recommended flat config #### 5.2.2 ##### Patch Changes - [#700](prettier/eslint-plugin-prettier#700) [`aa5b59f`](prettier/eslint-plugin-prettier@aa5b59f) Thanks [@ntnyq](https://github.com/ntnyq)! - fix: report node when loc not found #### 5.2.1 ##### Patch Changes - [#668](prettier/eslint-plugin-prettier#668) [`ac036cc`](prettier/eslint-plugin-prettier@ac036cc) Thanks [@OrlovAlexei](https://github.com/OrlovAlexei)! - build(deps): Bump synckit from 0.8.6 to 0.9.1 #### 5.2.0 ##### Minor Changes - [#652](prettier/eslint-plugin-prettier#652) [`f170011`](prettier/eslint-plugin-prettier@f170011) Thanks [@Logicer16](https://github.com/Logicer16)! - feat: support parsing `html` via `@html-eslint/parser` natively #### 5.1.3 ##### Patch Changes - [#629](prettier/eslint-plugin-prettier#629) [`985b33c`](prettier/eslint-plugin-prettier@985b33c) Thanks [@JounQin](https://github.com/JounQin)! - chore: add `package.json` into `exports` map #### 5.1.2 ##### Patch Changes - [#623](prettier/eslint-plugin-prettier#623) [`8210e44`](prettier/eslint-plugin-prettier@8210e44) Thanks [@BPScott](https://github.com/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](prettier/eslint-plugin-prettier#621) [`2b09e7f`](prettier/eslint-plugin-prettier@2b09e7f) Thanks [@JounQin](https://github.com/JounQin)! - feat: support parsing `markdown` via `eslint-mdx` natively What means the following is unnecessary anymore when using with `eslint-mdx`/`eslint-plugin-mdx`! ```json5 [ { files: ["**/*.md"], rules: { "prettier/prettier": ["error", { parser: "markdown" }] }, }, { files: ["**/*.mdx"], rules: { "prettier/prettier": ["error", { parser: "mdx" }] }, }, ] ``` #### 5.1.1 ##### Patch Changes - [#619](prettier/eslint-plugin-prettier#619) [`b5c0dc5`](prettier/eslint-plugin-prettier@b5c0dc5) Thanks [@JounQin](https://github.com/JounQin)! - chore: skip formatting inline scripts in pug files #### 5.1.0 ##### Minor Changes - [#616](prettier/eslint-plugin-prettier#616) [`3856413`](prettier/eslint-plugin-prettier@3856413) Thanks [@BPScott](https://github.com/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`. ```js // eslint.config.js const eslintPluginPrettierRecommended = require("eslint-plugin-prettier/recommended"); module.exports = [ // Any other config imports go at the top eslintPluginPrettierRecommended, ]; ``` ##### Patch Changes - [#614](prettier/eslint-plugin-prettier#614) [`5270877`](prettier/eslint-plugin-prettier@5270877) Thanks [@BPScott](https://github.com/BPScott)! - Add meta block to plugin. This improves debugging and cachebusting when using the new flat config - [#603](prettier/eslint-plugin-prettier#603) [`a63a570`](prettier/eslint-plugin-prettier@a63a570) Thanks [@filiptammergard](https://github.com/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 - [#588](prettier/eslint-plugin-prettier#588) [`21a7146`](prettier/eslint-plugin-prettier@21a7146) Thanks [@krist7599555](https://github.com/krist7599555)! - fix: `parserPath` type might be `undefined` on Eslint Falt Config #### 5.0.0 ##### Major Changes - [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat!: bump peer eslint to ">=8.0.0" and node to "^14.18.0 || >=16.0.0" - [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat!: upgrade to prettier v3 ##### Minor Changes - [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat: add typings support ##### Patch Changes - [#548](prettier/eslint-plugin-prettier#548) [`82a3db8`](prettier/eslint-plugin-prettier@82a3db8) Thanks [@fisker](https://github.com/fisker)! - fix: add missing dependency `synckit` - [#564](prettier/eslint-plugin-prettier#564) [`ae7a73c`](prettier/eslint-plugin-prettier@ae7a73c) Thanks [@auvred](https://github.com/auvred)! - fix: compatibility with prettier@3 without plugins #### 4.2.2 ##### Patch Changes - [`2373d0c`](prettier/eslint-plugin-prettier@2373d0c) Thanks [@JounQin](https://github.com/JounQin)! - docs: add Sponsors and Backers sections #### 4.2.1 ##### Patch Changes - [#485](prettier/eslint-plugin-prettier#485) [`5736ed5`](prettier/eslint-plugin-prettier@5736ed5) Thanks [@JounQin](https://github.com/JounQin)! - chore: reuse prettierRcOptions instead of resolveConfig again #### 4.2.0 ##### Minor Changes - [#483](prettier/eslint-plugin-prettier#483) [`7bd70b6`](prettier/eslint-plugin-prettier@7bd70b6) Thanks [@JounQin](https://github.com/JounQin)! - feat: support svelte out of box close [#472](prettier/eslint-plugin-prettier#472), close [#482](prettier/eslint-plugin-prettier#482) We recommend to use [`eslint-plugin-svelte`](https://github.com/ota-meshi/eslint-plugin-svelte) instead of [`eslint-plugin-svelte3`](https://github.com/sveltejs/eslint-plugin-svelte3). #### v4.1.0 (2022-06-27) - feat: skip processing code blocks on specific languages like `stylelint-prettier` ([#415](prettier/eslint-plugin-prettier#415)) ([52eec48](prettier/eslint-plugin-prettier@52eec48)) - build(deps): Bump minimist from 1.2.5 to 1.2.6 ([#464](prettier/eslint-plugin-prettier#464)) ([42bfe88](prettier/eslint-plugin-prettier@42bfe88)) - build(deps-dev): Bump graphql from 15.5.1 to 15.7.2 ([#442](prettier/eslint-plugin-prettier#442)) ([0158640](prettier/eslint-plugin-prettier@0158640)) - build(deps-dev): Bump [@graphql-eslint/eslint-plugin](https://github.com/graphql-eslint/eslint-plugin) from 2.3.0 to 2.4.0 ([#444](prettier/eslint-plugin-prettier#444)) ([4bcaca2](prettier/eslint-plugin-prettier@4bcaca2)) - chore(CI): add tests for ESLint 8 ([#428](prettier/eslint-plugin-prettier#428)) ([f3713be](prettier/eslint-plugin-prettier@f3713be)) - README.md: HTTP => HTTPS ([#443](prettier/eslint-plugin-prettier#443)) ([44e1478](prettier/eslint-plugin-prettier@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](prettier/eslint-plugin-prettier#429)) ([acb56f3](prettier/eslint-plugin-prettier@acb56f3)) #### v3.4.1 (2021-08-20) - build(deps): Bump glob-parent from 5.0.0 to 5.1.2 ([#420](prettier/eslint-plugin-prettier#420)) ([b6d075c](prettier/eslint-plugin-prettier@b6d075c)) - build(deps): Bump path-parse from 1.0.6 to 1.0.7 ([#425](prettier/eslint-plugin-prettier#425)) ([24f957e](prettier/eslint-plugin-prettier@24f957e)) - feat: support `@graphql-eslint/eslint-plugin` out of box ([#413](prettier/eslint-plugin-prettier#413)) ([ec6fbb1](prettier/eslint-plugin-prettier@ec6fbb1)) - chore: add tests for Node 16 ([#410](prettier/eslint-plugin-prettier#410)) ([76bd45e](prettier/eslint-plugin-prettier@76bd45e)) #### v3.4.0 (2021-04-15) - feat: support processor virtual filename ([#401](prettier/eslint-plugin-prettier#401)) ([ee0ccc6](prettier/eslint-plugin-prettier@ee0ccc6)) - Simplify report logic ([#380](prettier/eslint-plugin-prettier#380)) ([d993f24](prettier/eslint-plugin-prettier@d993f24)) - Update: README.md ([#375](prettier/eslint-plugin-prettier#375)) ([3ea4242](prettier/eslint-plugin-prettier@3ea4242)) #### v3.3.1 (2021-01-04) - fix: add eslint-config-prettier as an optional peer dependency ([#374](prettier/eslint-plugin-prettier#374)) ([d59df27](prettier/eslint-plugin-prettier@d59df27)) - build(deps-dev): bump eslint from 7.16.0 to 7.17.0 ([b87985d](prettier/eslint-plugin-prettier@b87985d)) - build(deps-dev): bump eslint from 7.15.0 to 7.16.0 ([11e427e](prettier/eslint-plugin-prettier@11e427e)) #### v3.3.0 (2020-12-13) - Minor: Perf improvement: Do not clear the config cache on each run ([#368](prettier/eslint-plugin-prettier#368)) ([1b90ea7](prettier/eslint-plugin-prettier@1b90ea7)) - Add peerDependenciesMeta block ([#367](prettier/eslint-plugin-prettier#367)) ([86608d5](prettier/eslint-plugin-prettier@86608d5)) - build(deps-dev): bump eslint from 7.14.0 to 7.15.0 ([885f484](prettier/eslint-plugin-prettier@885f484)) - build(deps-dev): bump eslint from 7.3.1 to 7.14.0 ([cebc80b](prettier/eslint-plugin-prettier@cebc80b)) #### v3.2.0 (2020-12-03) - Skip CI for eslint 6 + node 8 ([#364](prettier/eslint-plugin-prettier#364)) ([f8f08e4](prettier/eslint-plugin-prettier@f8f08e4)) - Turn off problematic rules in recommended config (prepare for next eslint-config-prettier version) ([#360](prettier/eslint-plugin-prettier#360)) ([a1e5591](prettier/eslint-plugin-prettier@a1e5591)) - Create dependabot.yml ([f58b6c7](prettier/eslint-plugin-prettier@f58b6c7)) - docs(README): fix prettier getFileInfo link ([#335](prettier/eslint-plugin-prettier#335)) ([5a690f1](prettier/eslint-plugin-prettier@5a690f1)) - build(deps-dev): bump eslint-plugin-eslint-plugin from 2.2.2 to 2.3.0 ([8614c45](prettier/eslint-plugin-prettier@8614c45)) - build(deps-dev): bump eslint from 7.3.0 to 7.3.1 ([12d9ed8](prettier/eslint-plugin-prettier@12d9ed8)) - build(deps-dev): bump eslint from 7.2.0 to 7.3.0 ([5a6f42e](prettier/eslint-plugin-prettier@5a6f42e)) - chore: update CI badge in readme ([5012b66](prettier/eslint-plugin-prettier@5012b66)) - Use Github Actions for CI ([#305](prettier/eslint-plugin-prettier#305)) ([41eb64f](prettier/eslint-plugin-prettier@41eb64f)) #### v3.1.4 (2020-06-14) - Avoid clearing Prettier cache when not using prettierrc ([#303](prettier/eslint-plugin-prettier#303)) ([3c8e2d9](prettier/eslint-plugin-prettier@3c8e2d9)) - build(deps-dev): bump eslint-plugin-eslint-plugin from 2.2.1 to 2.2.2 ([93f7c8b](prettier/eslint-plugin-prettier@93f7c8b)) - build(deps-dev): bump eslint from 7.1.0 to 7.2.0 ([650ac7a](prettier/eslint-plugin-prettier@650ac7a)) - build(deps-dev): bump eslint-plugin-self from 1.2.0 to 1.2.1 ([6449ec1](prettier/eslint-plugin-prettier@6449ec1)) - build(deps-dev): bump eslint from 7.0.0 to 7.1.0 ([fd30022](prettier/eslint-plugin-prettier@fd30022)) - Chore: Add CI tests for ESLint 7 ([#291](prettier/eslint-plugin-prettier#291)) ([cc2979b](prettier/eslint-plugin-prettier@cc2979b)) - build(deps-dev): bump eslint-config-prettier from 6.10.1 to 6.11.0 ([35a7ee6](prettier/eslint-plugin-prettier@35a7ee6)) #### v3.1.3 (2020-04-13) - Fix: Set `meta.type` to "layout" ([#283](prettier/eslint-plugin-prettier#283)) ([97152e2](prettier/eslint-plugin-prettier@97152e2)) - build(deps-dev): bump eslint-config-prettier from 6.10.0 to 6.10.1 ([185b106](prettier/eslint-plugin-prettier@185b106)) - build(deps): \[security] bump acorn from 6.1.0 to 6.4.1 ([bba5881](prettier/eslint-plugin-prettier@bba5881)) - build(deps-dev): bump eslint-config-prettier from 6.9.0 to 6.10.0 ([9a47a6f](prettier/eslint-plugin-prettier@9a47a6f)) - build(deps-dev): bump eslint-plugin-eslint-plugin from 2.2.0 to 2.2.1 ([aad671d](prettier/eslint-plugin-prettier@aad671d)) - build(deps-dev): bump eslint-plugin-eslint-plugin from 2.1.0 to 2.2.0 ([e2458c2](prettier/eslint-plugin-prettier@e2458c2)) - build(deps-dev): bump eslint-config-prettier from 6.8.0 to 6.9.0 ([05ef06f](prettier/eslint-plugin-prettier@05ef06f)) - build(deps-dev): bump eslint-config-prettier from 6.7.0 to 6.8.0 ([ab80b3c](prettier/eslint-plugin-prettier@ab80b3c)) - build(deps-dev): bump eslint from 6.7.2 to 6.8.0 ([dea1b30](prettier/eslint-plugin-prettier@dea1b30)) #### v3.1.2 (2019-12-15) - Resolve config when getting list of inferred parsers ([1ad45be](prettier/eslint-plugin-prettier@1ad45be)) - Fix tests now they to stop them inheriting from base prettierrc file ([14840fa](prettier/eslint-plugin-prettier@14840fa)) - Move prettier config into dedicated file, so vscode plugins pick it up ([c49334a](prettier/eslint-plugin-prettier@c49334a)) - build(deps-dev): bump eslint from 6.7.1 to 6.7.2 ([15e6cf9](prettier/eslint-plugin-prettier@15e6cf9)) - build(deps-dev): bump eslint from 6.6.0 to 6.7.1 ([e8ad019](prettier/eslint-plugin-prettier@e8ad019)) - build(deps-dev): bump eslint-config-prettier from 6.6.0 to 6.7.0 ([44f4bfe](prettier/eslint-plugin-prettier@44f4bfe)) - build(deps-dev): bump eslint-config-prettier from 6.5.0 to 6.6.0 ([46580c5](prettier/eslint-plugin-prettier@46580c5)) - build(deps-dev): bump prettier from 1.18.2 to 1.19.1 ([10b4676](prettier/eslint-plugin-prettier@10b4676)) - build(deps-dev): bump eslint from 6.5.1 to 6.6.0 ([53eaeae](prettier/eslint-plugin-prettier@53eaeae)) - build(deps-dev): bump eslint-config-prettier from 6.4.0 to 6.5.0 ([ad3321c](prettier/eslint-plugin-prettier@ad3321c)) - build(deps-dev): bump mocha from 6.2.1 to 6.2.2 ([b7280b6](prettier/eslint-plugin-prettier@b7280b6)) - build(deps-dev): bump eslint-config-prettier from 6.3.0 to 6.4.0 ([4c1d69a](prettier/eslint-plugin-prettier@4c1d69a)) - build(deps-dev): bump eslint from 6.5.0 to 6.5.1 ([c109a7a](prettier/eslint-plugin-prettier@c109a7a)) - build(deps-dev): bump mocha from 6.2.0 to 6.2.1 ([3134bea](prettier/eslint-plugin-prettier@3134bea)) - build(deps-dev): bump eslint from 6.4.0 to 6.5.0 ([7c290d7](prettier/eslint-plugin-prettier@7c290d7)) #### v3.1.1 (2019-09-18) - build(deps-dev): bump eslint from 6.3.0 to 6.4.0 ([8a793eb](prettier/eslint-plugin-prettier@8a793eb)) - build(deps-dev): bump eslint-config-prettier from 6.2.0 to 6.3.0 ([88c3f6c](prettier/eslint-plugin-prettier@88c3f6c)) - build(deps-dev): bump eslint-config-prettier from 6.0.0 to 6.2.0 ([5f9fbc1](prettier/eslint-plugin-prettier@5f9fbc1)) - build(deps-dev): bump eslint from 6.2.2 to 6.3.0 ([746b66d](prettier/eslint-plugin-prettier@746b66d)) - build(deps-dev): bump eslint from 6.1.0 to 6.2.2 ([97eedb4](prettier/eslint-plugin-prettier@97eedb4)) - build(deps-dev): bump eslint from 6.0.1 to 6.1.0 ([afef9d1](prettier/eslint-plugin-prettier@afef9d1)) - build(deps-dev): bump mocha from 6.1.4 to 6.2.0 ([0360a84](prettier/eslint-plugin-prettier@0360a84)) - build(deps): \[security] bump lodash from 4.17.11 to 4.17.14 ([9eceb68](prettier/eslint-plugin-prettier@9eceb68)) - Fix: When forcing the JS parser, use the modern name ([#212](prettier/eslint-plugin-prettier#212)) ([1385310](prettier/eslint-plugin-prettier@1385310)) - Add eslint 6 to test matrix ([#210](prettier/eslint-plugin-prettier#210)) ([bca77e6](prettier/eslint-plugin-prettier@bca77e6)) - build(deps-dev): bump eslint-config-prettier from 5.0.0 to 6.0.0 ([4c069bd](prettier/eslint-plugin-prettier@4c069bd)) - build(deps-dev): bump eslint-config-prettier from 4.3.0 to 5.0.0 ([60bb22f](prettier/eslint-plugin-prettier@60bb22f)) - build(deps-dev): bump prettier from 1.18.0 to 1.18.2 ([a183560](prettier/eslint-plugin-prettier@a183560)) - build(deps-dev): bump prettier from 1.17.1 to 1.18.0 ([0cad479](prettier/eslint-plugin-prettier@0cad479)) - build(deps-dev): bump eslint-config-prettier from 4.2.0 to 4.3.0 ([6f3c76f](prettier/eslint-plugin-prettier@6f3c76f)) - build(deps-dev): bump prettier from 1.17.0 to 1.17.1 ([03aecfd](prettier/eslint-plugin-prettier@03aecfd)) #### v3.1.0 (2019-05-11) - New: Allow options to be passed to prettier.getFileInfo ([#187](prettier/eslint-plugin-prettier#187)) ([21fa69a](prettier/eslint-plugin-prettier@21fa69a)) - build(deps-dev): bump eslint-plugin-eslint-plugin from 2.0.1 to 2.1.0 ([bb597e1](prettier/eslint-plugin-prettier@bb597e1)) - build(deps-dev): bump eslint-config-prettier from 4.1.0 to 4.2.0 ([0bb7c1d](prettier/eslint-plugin-prettier@0bb7c1d)) - build(deps-dev): bump vue-eslint-parser from 6.0.3 to 6.0.4 ([2f77df4](prettier/eslint-plugin-prettier@2f77df4)) - build(deps-dev): bump mocha from 6.1.3 to 6.1.4 ([222b87a](prettier/eslint-plugin-prettier@222b87a)) - build(deps-dev): bump prettier from 1.16.4 to 1.17.0 ([58d8ff8](prettier/eslint-plugin-prettier@58d8ff8)) - build(deps-dev): bump mocha from 6.1.2 to 6.1.3 ([e94e56c](prettier/eslint-plugin-prettier@e94e56c)) - build(deps-dev): bump mocha from 6.1.1 to 6.1.2 ([c02244b](prettier/eslint-plugin-prettier@c02244b)) - build(deps-dev): bump mocha from 6.0.2 to 6.1.1 ([a9a2e4e](prettier/eslint-plugin-prettier@a9a2e4e)) - build(deps-dev): bump eslint from 5.15.3 to 5.16.0 ([073c14c](prettier/eslint-plugin-prettier@073c14c)) - build(deps-dev): bump eslint from 5.15.2 to 5.15.3 ([bda931f](prettier/eslint-plugin-prettier@bda931f)) - build(deps-dev): bump eslint from 5.15.1 to 5.15.2 ([19f53d6](prettier/eslint-plugin-prettier@19f53d6)) - build(deps-dev): bump eslint from 5.15.0 to 5.15.1 ([34b39de](prettier/eslint-plugin-prettier@34b39de)) - build(deps-dev): bump eslint from 5.14.1 to 5.15.0 ([13bcc66](prettier/eslint-plugin-prettier@13bcc66)) - build(deps-dev): bump eslint-plugin-self from 1.1.0 to 1.2.0 ([5b4adb8](prettier/eslint-plugin-prettier@5b4adb8)) - build(deps-dev): bump vue-eslint-parser from 6.0.2 to 6.0.3 ([e676cd1](prettier/eslint-plugin-prettier@e676cd1)) - build(deps-dev): bump eslint-config-prettier from 4.0.0 to 4.1.0 ([b8a9215](prettier/eslint-plugin-prettier@b8a9215)) - build(deps-dev): bump mocha from 6.0.1 to 6.0.2 ([cde36e4](prettier/eslint-plugin-prettier@cde36e4)) - build(deps-dev): bump mocha from 6.0.0 to 6.0.1 ([eb39699](prettier/eslint-plugin-prettier@eb39699)) - build(deps-dev): bump mocha from 5.2.0 to 6.0.0 ([5d75421](prettier/eslint-plugin-prettier@5d75421)) - build(deps-dev): bump eslint from 5.14.0 to 5.14.1 ([829156e](prettier/eslint-plugin-prettier@829156e)) - build(deps-dev): bump eslint from 5.13.0 to 5.14.0 ([b76d0b4](prettier/eslint-plugin-prettier@b76d0b4)) - build(deps-dev): bump vue-eslint-parser from 6.0.0 to 6.0.2 ([15439e8](prettier/eslint-plugin-prettier@15439e8)) - build(deps-dev): bump vue-eslint-parser from 5.0.0 to 6.0.0 ([0ea70e5](prettier/eslint-plugin-prettier@0ea70e5)) - build(deps-dev): bump eslint from 5.12.1 to 5.13.0 ([5f18729](prettier/eslint-plugin-prettier@5f18729)) - build(deps-dev): bump prettier from 1.16.3 to 1.16.4 ([ef637fe](prettier/eslint-plugin-prettier@ef637fe)) - build(deps-dev): bump prettier from 1.16.1 to 1.16.3 ([58ab20c](prettier/eslint-plugin-prettier@58ab20c)) - build(deps-dev): bump eslint-config-prettier from 3.6.0 to 4.0.0 ([14393bd](prettier/eslint-plugin-prettier@14393bd)) - build(deps-dev): bump prettier from 1.16.0 to 1.16.1 ([00198b9](prettier/eslint-plugin-prettier@00198b9)) - build(deps-dev): bump prettier from 1.15.3 to 1.16.0 ([7890a87](prettier/eslint-plugin-prettier@7890a87)) - build(deps-dev): bump eslint from 5.12.0 to 5.12.1 ([92a8984](prettier/eslint-plugin-prettier@92a8984)) - build(deps-dev): bump eslint-config-prettier from 3.5.0 to 3.6.0 ([5292d12](prettier/eslint-plugin-prettier@5292d12)) - build(deps-dev): bump eslint-config-prettier from 3.4.0 to 3.5.0 ([44a2558](prettier/eslint-plugin-prettier@44a2558)) - build(deps-dev): bump eslint-config-prettier from 3.3.0 to 3.4.0 ([425cfce](prettier/eslint-plugin-prettier@425cfce)) - build(deps-dev): bump eslint from 5.11.1 to 5.12.0 ([3e9aa39](prettier/eslint-plugin-prettier@3e9aa39)) - build(deps-dev): bump eslint-plugin-node from 8.0.0 to 8.0.1 ([e913afd](prettier/eslint-plugin-prettier@e913afd)) - build(deps-dev): bump vue-eslint-parser from 4.0.3 to 5.0.0 ([ecfd5ba](prettier/eslint-plugin-prettier@ecfd5ba)) #### v3.0.1 (2018-12-28) - Catch and format SyntaxErrors as eslint violations ([#141](prettier/eslint-plugin-prettier#141)) ([4a0e57d](prettier/eslint-plugin-prettier@4a0e57d)) - build(deps-dev): bump eslint from 5.11.0 to 5.11.1 ([d34daed](prettier/eslint-plugin-prettier@d34daed)) - build(deps-dev): bump eslint from 5.10.0 to 5.11.0 ([7f4f45d](prettier/eslint-plugin-prettier@7f4f45d)) - build(deps-dev): bump eslint-plugin-eslint-plugin from 2.0.0 to 2.0.1 ([5be3bcf](prettier/eslint-plugin-prettier@5be3bcf)) - build(deps-dev): bump eslint from 5.9.0 to 5.10.0 ([11e7c44](prettier/eslint-plugin-prettier@11e7c44)) - build(deps-dev): bump eslint-plugin-eslint-plugin from 1.4.1 to 2.0.0 ([9e5bf14](prettier/eslint-plugin-prettier@9e5bf14)) - build(deps-dev): bump vue-eslint-parser from 4.0.2 to 4.0.3 ([234583a](prettier/eslint-plugin-prettier@234583a)) - build(deps-dev): bump vue-eslint-parser from 3.3.0 to 4.0.2 ([8675d57](prettier/eslint-plugin-prettier@8675d57)) - Upgrade: Bump vue-eslint-parser from 3.2.2 to 3.3.0 ([2379e93](prettier/eslint-plugin-prettier@2379e93)) - Upgrade: Bump eslint-config-prettier from 3.1.0 to 3.3.0 ([3ea0021](prettier/eslint-plugin-prettier@3ea0021)) - Upgrade: Bump eslint from 5.8.0 to 5.9.0 ([c774fb8](prettier/eslint-plugin-prettier@c774fb8)) - build(deps-dev): bump eslint-plugin-node from 7.0.1 to 8.0.0 ([#121](prettier/eslint-plugin-prettier#121)) ([2a4fba0](prettier/eslint-plugin-prettier@2a4fba0)) - build(deps-dev): bump eslint-plugin-eslint-plugin from 1.4.0 to 1.4.1 ([#120](prettier/eslint-plugin-prettier#120)) ([29caa29](prettier/eslint-plugin-prettier@29caa29)) - build(deps-dev): bump eslint from 5.6.0 to 5.8.0 ([#119](prettier/eslint-plugin-prettier#119)) ([2836350](prettier/eslint-plugin-prettier@2836350)) #### v3.0.0 (2018-10-01) - Chore: Add eslint peer-dependency ([d55d79c](prettier/eslint-plugin-prettier@d55d79c)) - Breaking: Extract showInvisibles and generateDifferences ([bf7c40c](prettier/eslint-plugin-prettier@bf7c40c)) - Breaking: Defining prettier options must use an object ([478c7e5](prettier/eslint-plugin-prettier@478c7e5)) - Breaking: Drop support for ESLint v3 and v4 ([2326231](prettier/eslint-plugin-prettier@2326231)) - Chore: Update dependencies ([1ec94c8](prettier/eslint-plugin-prettier@1ec94c8)) - Chore: remove two unused dependencies ([bfe459c](prettier/eslint-plugin-prettier@bfe459c)) - Chore: Rename test files to keep them sequential ([d38ea52](prettier/eslint-plugin-prettier@d38ea52)) - Breaking: Remove pragma support ([3af422c](prettier/eslint-plugin-prettier@3af422c)) - Breaking: Update minimum required pretter version to 1.13.0 ([29c0506](prettier/eslint-plugin-prettier@29c0506)) - Breaking: Drop support for node v4, v7 and v9 ([be460bd](prettier/eslint-plugin-prettier@be460bd)) - Chore: Add vscode config to autoformat on save ([9fac6b4](prettier/eslint-plugin-prettier@9fac6b4)) - Chore: Improve travis matrix ([46d2444](prettier/eslint-plugin-prettier@46d2444)) - Chore: Add format script to run prettier ([d46aa6d](prettier/eslint-plugin-prettier@d46aa6d)) #### v2.7.0 (2018-09-26) - Update: Support prettierignore and custom processors ([#111](prettier/eslint-plugin-prettier#111)) ([38537ba](prettier/eslint-plugin-prettier@38537ba)) - Build: switch to release script package ([047dc8f](prettier/eslint-plugin-prettier@047dc8f)) #### v2.6.2 (2018-07-06) - Fix: Add representation for \r to showInvisibles ([#100](prettier/eslint-plugin-prettier#100)) ([731bbb5](prettier/eslint-plugin-prettier@731bbb5)) - Docs: Add clarification about Flow/React support to readme ([#96](prettier/eslint-plugin-prettier#96)) ([977aa77](prettier/eslint-plugin-prettier@977aa77)) #### v2.6.1 (2018-06-23) - Fix: respect editorconfig ([#92](prettier/eslint-plugin-prettier#92)) ([0b04dd3](prettier/eslint-plugin-prettier@0b04dd3)) #### v2.6.0 (2018-02-02) - Update: Add option to skip loading prettierrc ([#83](prettier/eslint-plugin-prettier#83)) ([9e0fb48](prettier/eslint-plugin-prettier@9e0fb48)) - Build: add Node 8 and 9 to Travis ([e5b5fa7](prettier/eslint-plugin-prettier@e5b5fa7)) - Chore: add test for vue parsing ([1ab43fd](prettier/eslint-plugin-prettier@1ab43fd)) #### v2.5.0 (2018-01-16) - Fix: pass filepath to prettier ([#76](prettier/eslint-plugin-prettier#76)) ([0b6ab55](prettier/eslint-plugin-prettier@0b6ab55)) - Update: Add URL to rule documentation to the metadata ([#75](prettier/eslint-plugin-prettier#75)) ([804ead7](prettier/eslint-plugin-prettier@804ead7)) #### v2.4.0 (2017-12-17) - New: Add 'recommended' configuration ([#73](prettier/eslint-plugin-prettier#73)) ([e529b60](prettier/eslint-plugin-prettier@e529b60)) - Docs: Create ISSUE\_TEMPLATE.md ([4335b08](prettier/eslint-plugin-prettier@4335b08)) #### v2.3.1 (2017-09-18) - Fix: Guard against older prettier installation ([#56](prettier/eslint-plugin-prettier#56)) ([8a115f9](prettier/eslint-plugin-prettier@8a115f9)) #### v2.3.0 (2017-09-18) - Update: Support .prettierrc config files (fixes [#46](prettier/eslint-plugin-prettier#46)) ([#55](prettier/eslint-plugin-prettier#55)) ([bc89153](prettier/eslint-plugin-prettier@bc89153)) - Docs: .eslintrc.json > .eslintrc ([#52](prettier/eslint-plugin-prettier#52)) ([95f0808](prettier/eslint-plugin-prettier@95f0808)) - Upgrade: jest-docblock to ^21.0.0 ([#50](prettier/eslint-plugin-prettier#50)) ([c777111](prettier/eslint-plugin-prettier@c777111)) - Chore: upgrade prettier to ^1.6.1 ([#49](prettier/eslint-plugin-prettier#49)) ([56deffa](prettier/eslint-plugin-prettier@56deffa)) - Chore: use eslint-plugin-self for linting ([#47](prettier/eslint-plugin-prettier#47)) ([5ea0526](prettier/eslint-plugin-prettier@5ea0526)) #### v2.2.0 (2017-08-16) - New: expose reporter api (fixes [#39](prettier/eslint-plugin-prettier#39)) ([#41](prettier/eslint-plugin-prettier#41)) ([1666067](prettier/eslint-plugin-prettier@1666067)) #### v2.1.2 (2017-06-14) - Chore: Relax peerDependencies ([#30](prettier/eslint-plugin-prettier#30)) ([a19b8af](prettier/eslint-plugin-prettier@a19b8af)) - Chore: Add release script ([#25](prettier/eslint-plugin-prettier#25)) ([8fbfe73](prettier/eslint-plugin-prettier@8fbfe73)) #### v2.1.1 (2017-05-19) - Fix: Support ESLint <3.11.0 ([#24](prettier/eslint-plugin-prettier#24)) ([fde7fdf](prettier/eslint-plugin-prettier@fde7fdf)) - Chore: add yarn.lock ([#23](prettier/eslint-plugin-prettier#23)) ([8b55518](prettier/eslint-plugin-prettier@8b55518)) - Docs: fix links in changelog ([#22](prettier/eslint-plugin-prettier#22)) ([7e70e11](prettier/eslint-plugin-prettier@7e70e11)) #### v2.1.0 (2017-05-16) - Merge with eslint-plugin-prettify ([#21](prettier/eslint-plugin-prettier#21)) ([6de494f](prettier/eslint-plugin-prettier@6de494f)) - Docs: update repo links to new URL ([#18](prettier/eslint-plugin-prettier#18)) ([6b69492](prettier/eslint-plugin-prettier@6b69492)) - Chore: Upgrade development dependencies ([#16](prettier/eslint-plugin-prettier#16)) ([12984ea](prettier/eslint-plugin-prettier@12984ea)) - Docs: fix outdated info about prettier's semicolon support ([da6aad1](prettier/eslint-plugin-prettier@da6aad1)) - Docs: update prettier options in example ([#14](prettier/eslint-plugin-prettier#14)) ([0ae173f](prettier/eslint-plugin-prettier@0ae173f)) - Docs: Change the order of dependencies install ([#13](prettier/eslint-plugin-prettier#13)) ([cbf803c](prettier/eslint-plugin-prettier@cbf803c)) - Docs: Add CONTRIBUTING.md (fixes [#9](prettier/eslint-plugin-prettier#9)) ([40fe55b](prettier/eslint-plugin-prettier@40fe55b)) #### v2.0.1 (2017-02-26) - Docs: add travis badge to README.md ([1daa495](prettier/eslint-plugin-prettier@1daa495)) - Upgrade: prettier to 0.18.0 ([1700e41](prettier/eslint-plugin-prettier@1700e41)) - Chore: use eslint-config-prettier ([c979b84](prettier/eslint-plugin-prettier@c979b84)) - Fix: avoid relying on an internal eslint function ([5296930](prettier/eslint-plugin-prettier@5296930)) - Docs: mention eslint-config-prettier in README.md ([3fd855d](prettier/eslint-plugin-prettier@3fd855d)) - Chore: pin the version of prettier used to lint this module (refs [#1](prettier/eslint-plugin-prettier#1)) ([db85633](prettier/eslint-plugin-prettier@db85633)) #### v2.0.0 (2017-01-28) - Docs: create changelog ([d388095](prettier/eslint-plugin-prettier@d388095)) - Docs: add 2.0.0 migration guide ([db508d7](prettier/eslint-plugin-prettier@db508d7)) - Breaking: Make prettier a peerDependency ([#1](prettier/eslint-plugin-prettier#1)) ([d8a8992](prettier/eslint-plugin-prettier@d8a8992)) - Docs: add repo url to package.json ([2474bc9](prettier/eslint-plugin-prettier@2474bc9)) - Docs: suggest prettier-eslint if eslint rules disagree with prettier ([3414437](prettier/eslint-plugin-prettier@3414437)) ## [v5.5.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#551) ##### Patch Changes - [#748](prettier/eslint-plugin-prettier#748) [`bfd1e95`](prettier/eslint-plugin-prettier@bfd1e95) Thanks [@JounQin](https://github.com/JounQin)! - fix: use `prettierRcOptions` directly for prettier 3.6+ ## [v5.5.0](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#550) ##### Minor Changes - [#743](prettier/eslint-plugin-prettier#743) [`92f2c9c`](prettier/eslint-plugin-prettier@92f2c9c) Thanks [@dotcarmen](https://github.com/dotcarmen)! - feat: support non-js languages like `css` for `@eslint/css` and `json` for `@eslint/json` ## [v5.4.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#541) ##### Patch Changes - [#740](prettier/eslint-plugin-prettier#740) [`c21521f`](prettier/eslint-plugin-prettier@c21521f) Thanks [@JounQin](https://github.com/JounQin)! - fix(deps): bump `synckit` to v0.11.7 to fix potential `TypeError: Cannot read properties of undefined (reading 'message')` error
| datasource | package | from | to | | ---------- | ---------------------- | ----- | ----- | | npm | eslint-plugin-prettier | 5.4.0 | 5.5.3 | ## [v5.5.3](https://github.com/prettier/eslint-plugin-prettier/releases/tag/v5.5.3) republish the latest version **Full Changelog**: prettier/eslint-plugin-prettier@v5.5.2...v5.5.3 ## [v5.5.2](https://github.com/prettier/eslint-plugin-prettier/releases/tag/v5.5.2) ### Changelog #### 5.5.1 ##### Patch Changes - [#748](prettier/eslint-plugin-prettier#748) [`bfd1e95`](prettier/eslint-plugin-prettier@bfd1e95) Thanks [@JounQin](https://github.com/JounQin)! - fix: use `prettierRcOptions` directly for prettier 3.6+ #### 5.5.0 ##### Minor Changes - [#743](prettier/eslint-plugin-prettier#743) [`92f2c9c`](prettier/eslint-plugin-prettier@92f2c9c) Thanks [@dotcarmen](https://github.com/dotcarmen)! - feat: support non-js languages like `css` for `@eslint/css` and `json` for `@eslint/json` #### 5.4.1 ##### Patch Changes - [#740](prettier/eslint-plugin-prettier#740) [`c21521f`](prettier/eslint-plugin-prettier@c21521f) Thanks [@JounQin](https://github.com/JounQin)! - fix(deps): bump `synckit` to v0.11.7 to fix potential `TypeError: Cannot read properties of undefined (reading 'message')` error #### 5.4.0 ##### Minor Changes - [#736](prettier/eslint-plugin-prettier#736) [`59a0cae`](prettier/eslint-plugin-prettier@59a0cae) Thanks [@yashtech00](https://github.com/yashtech00)! - refactor: migrate `worker.js` to `worker.mjs` #### 5.3.1 ##### Patch Changes - [#734](prettier/eslint-plugin-prettier#734) [`dcf2c80`](prettier/eslint-plugin-prettier@dcf2c80) Thanks [@JounQin](https://github.com/JounQin)! - ci: enable `NPM_CONFIG_PROVENANCE` env #### 5.3.0 ##### Minor Changes - [#674](prettier/eslint-plugin-prettier#674) [`6fe0c90`](prettier/eslint-plugin-prettier@6fe0c90) Thanks [@irsooti](https://github.com/irsooti)! - feat(types): prefer `Config` over `FlatConfig` when they're equal #### 5.2.6 ##### Patch Changes - [#723](prettier/eslint-plugin-prettier#723) [`1451176`](prettier/eslint-plugin-prettier@1451176) Thanks [@renovate](https://github.com/apps/renovate)! - fix(deps): bump `synckit` to `v0.11.0` #### 5.2.5 ##### Patch Changes - [#721](prettier/eslint-plugin-prettier#721) [`4f5513d`](prettier/eslint-plugin-prettier@4f5513d) Thanks [@JounQin](https://github.com/JounQin)! - fix: clarify correct `eslint-config-prettier` peer range #### 5.2.4 ##### Patch Changes - [#715](prettier/eslint-plugin-prettier#715) [`b8cfe56`](prettier/eslint-plugin-prettier@b8cfe56) Thanks [@JounQin](https://github.com/JounQin)! - chore: hourcekeeping, bump all (dev) deps #### 5.2.3 ##### Patch Changes - [#703](prettier/eslint-plugin-prettier#703) [`9c6141f`](prettier/eslint-plugin-prettier@9c6141f) Thanks [@BPScott](https://github.com/BPScott)! - Add name field to recommended flat config #### 5.2.2 ##### Patch Changes - [#700](prettier/eslint-plugin-prettier#700) [`aa5b59f`](prettier/eslint-plugin-prettier@aa5b59f) Thanks [@ntnyq](https://github.com/ntnyq)! - fix: report node when loc not found #### 5.2.1 ##### Patch Changes - [#668](prettier/eslint-plugin-prettier#668) [`ac036cc`](prettier/eslint-plugin-prettier@ac036cc) Thanks [@OrlovAlexei](https://github.com/OrlovAlexei)! - build(deps): Bump synckit from 0.8.6 to 0.9.1 #### 5.2.0 ##### Minor Changes - [#652](prettier/eslint-plugin-prettier#652) [`f170011`](prettier/eslint-plugin-prettier@f170011) Thanks [@Logicer16](https://github.com/Logicer16)! - feat: support parsing `html` via `@html-eslint/parser` natively #### 5.1.3 ##### Patch Changes - [#629](prettier/eslint-plugin-prettier#629) [`985b33c`](prettier/eslint-plugin-prettier@985b33c) Thanks [@JounQin](https://github.com/JounQin)! - chore: add `package.json` into `exports` map #### 5.1.2 ##### Patch Changes - [#623](prettier/eslint-plugin-prettier#623) [`8210e44`](prettier/eslint-plugin-prettier@8210e44) Thanks [@BPScott](https://github.com/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](prettier/eslint-plugin-prettier#621) [`2b09e7f`](prettier/eslint-plugin-prettier@2b09e7f) Thanks [@JounQin](https://github.com/JounQin)! - feat: support parsing `markdown` via `eslint-mdx` natively What means the following is unnecessary anymore when using with `eslint-mdx`/`eslint-plugin-mdx`! ```json5 [ { files: ["**/*.md"], rules: { "prettier/prettier": ["error", { parser: "markdown" }] }, }, { files: ["**/*.mdx"], rules: { "prettier/prettier": ["error", { parser: "mdx" }] }, }, ] ``` #### 5.1.1 ##### Patch Changes - [#619](prettier/eslint-plugin-prettier#619) [`b5c0dc5`](prettier/eslint-plugin-prettier@b5c0dc5) Thanks [@JounQin](https://github.com/JounQin)! - chore: skip formatting inline scripts in pug files #### 5.1.0 ##### Minor Changes - [#616](prettier/eslint-plugin-prettier#616) [`3856413`](prettier/eslint-plugin-prettier@3856413) Thanks [@BPScott](https://github.com/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`. ```js // eslint.config.js const eslintPluginPrettierRecommended = require("eslint-plugin-prettier/recommended"); module.exports = [ // Any other config imports go at the top eslintPluginPrettierRecommended, ]; ``` ##### Patch Changes - [#614](prettier/eslint-plugin-prettier#614) [`5270877`](prettier/eslint-plugin-prettier@5270877) Thanks [@BPScott](https://github.com/BPScott)! - Add meta block to plugin. This improves debugging and cachebusting when using the new flat config - [#603](prettier/eslint-plugin-prettier#603) [`a63a570`](prettier/eslint-plugin-prettier@a63a570) Thanks [@filiptammergard](https://github.com/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 - [#588](prettier/eslint-plugin-prettier#588) [`21a7146`](prettier/eslint-plugin-prettier@21a7146) Thanks [@krist7599555](https://github.com/krist7599555)! - fix: `parserPath` type might be `undefined` on Eslint Falt Config #### 5.0.0 ##### Major Changes - [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat!: bump peer eslint to ">=8.0.0" and node to "^14.18.0 || >=16.0.0" - [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat!: upgrade to prettier v3 ##### Minor Changes - [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat: add typings support ##### Patch Changes - [#548](prettier/eslint-plugin-prettier#548) [`82a3db8`](prettier/eslint-plugin-prettier@82a3db8) Thanks [@fisker](https://github.com/fisker)! - fix: add missing dependency `synckit` - [#564](prettier/eslint-plugin-prettier#564) [`ae7a73c`](prettier/eslint-plugin-prettier@ae7a73c) Thanks [@auvred](https://github.com/auvred)! - fix: compatibility with prettier@3 without plugins #### 4.2.2 ##### Patch Changes - [`2373d0c`](prettier/eslint-plugin-prettier@2373d0c) Thanks [@JounQin](https://github.com/JounQin)! - docs: add Sponsors and Backers sections #### 4.2.1 ##### Patch Changes - [#485](prettier/eslint-plugin-prettier#485) [`5736ed5`](prettier/eslint-plugin-prettier@5736ed5) Thanks [@JounQin](https://github.com/JounQin)! - chore: reuse prettierRcOptions instead of resolveConfig again #### 4.2.0 ##### Minor Changes - [#483](prettier/eslint-plugin-prettier#483) [`7bd70b6`](prettier/eslint-plugin-prettier@7bd70b6) Thanks [@JounQin](https://github.com/JounQin)! - feat: support svelte out of box close [#472](prettier/eslint-plugin-prettier#472), close [#482](prettier/eslint-plugin-prettier#482) We recommend to use [`eslint-plugin-svelte`](https://github.com/ota-meshi/eslint-plugin-svelte) instead of [`eslint-plugin-svelte3`](https://github.com/sveltejs/eslint-plugin-svelte3). #### v4.1.0 (2022-06-27) - feat: skip processing code blocks on specific languages like `stylelint-prettier` ([#415](prettier/eslint-plugin-prettier#415)) ([52eec48](prettier/eslint-plugin-prettier@52eec48)) - build(deps): Bump minimist from 1.2.5 to 1.2.6 ([#464](prettier/eslint-plugin-prettier#464)) ([42bfe88](prettier/eslint-plugin-prettier@42bfe88)) - build(deps-dev): Bump graphql from 15.5.1 to 15.7.2 ([#442](prettier/eslint-plugin-prettier#442)) ([0158640](prettier/eslint-plugin-prettier@0158640)) - build(deps-dev): Bump [@graphql-eslint/eslint-plugin](https://github.com/graphql-eslint/eslint-plugin) from 2.3.0 to 2.4.0 ([#444](prettier/eslint-plugin-prettier#444)) ([4bcaca2](prettier/eslint-plugin-prettier@4bcaca2)) - chore(CI): add tests for ESLint 8 ([#428](prettier/eslint-plugin-prettier#428)) ([f3713be](prettier/eslint-plugin-prettier@f3713be)) - README.md: HTTP => HTTPS ([#443](prettier/eslint-plugin-prettier#443)) ([44e1478](prettier/eslint-plugin-prettier@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](prettier/eslint-plugin-prettier#429)) ([acb56f3](prettier/eslint-plugin-prettier@acb56f3)) #### v3.4.1 (2021-08-20) - build(deps): Bump glob-parent from 5.0.0 to 5.1.2 ([#420](prettier/eslint-plugin-prettier#420)) ([b6d075c](prettier/eslint-plugin-prettier@b6d075c)) - build(deps): Bump path-parse from 1.0.6 to 1.0.7 ([#425](prettier/eslint-plugin-prettier#425)) ([24f957e](prettier/eslint-plugin-prettier@24f957e)) - feat: support `@graphql-eslint/eslint-plugin` out of box ([#413](prettier/eslint-plugin-prettier#413)) ([ec6fbb1](prettier/eslint-plugin-prettier@ec6fbb1)) - chore: add tests for Node 16 ([#410](prettier/eslint-plugin-prettier#410)) ([76bd45e](prettier/eslint-plugin-prettier@76bd45e)) #### v3.4.0 (2021-04-15) - feat: support processor virtual filename ([#401](prettier/eslint-plugin-prettier#401)) ([ee0ccc6](prettier/eslint-plugin-prettier@ee0ccc6)) - Simplify report logic ([#380](prettier/eslint-plugin-prettier#380)) ([d993f24](prettier/eslint-plugin-prettier@d993f24)) - Update: README.md ([#375](prettier/eslint-plugin-prettier#375)) ([3ea4242](prettier/eslint-plugin-prettier@3ea4242)) #### v3.3.1 (2021-01-04) - fix: add eslint-config-prettier as an optional peer dependency ([#374](prettier/eslint-plugin-prettier#374)) ([d59df27](prettier/eslint-plugin-prettier@d59df27)) - build(deps-dev): bump eslint from 7.16.0 to 7.17.0 ([b87985d](prettier/eslint-plugin-prettier@b87985d)) - build(deps-dev): bump eslint from 7.15.0 to 7.16.0 ([11e427e](prettier/eslint-plugin-prettier@11e427e)) #### v3.3.0 (2020-12-13) - Minor: Perf improvement: Do not clear the config cache on each run ([#368](prettier/eslint-plugin-prettier#368)) ([1b90ea7](prettier/eslint-plugin-prettier@1b90ea7)) - Add peerDependenciesMeta block ([#367](prettier/eslint-plugin-prettier#367)) ([86608d5](prettier/eslint-plugin-prettier@86608d5)) - build(deps-dev): bump eslint from 7.14.0 to 7.15.0 ([885f484](prettier/eslint-plugin-prettier@885f484)) - build(deps-dev): bump eslint from 7.3.1 to 7.14.0 ([cebc80b](prettier/eslint-plugin-prettier@cebc80b)) #### v3.2.0 (2020-12-03) - Skip CI for eslint 6 + node 8 ([#364](prettier/eslint-plugin-prettier#364)) ([f8f08e4](prettier/eslint-plugin-prettier@f8f08e4)) - Turn off problematic rules in recommended config (prepare for next eslint-config-prettier version) ([#360](prettier/eslint-plugin-prettier#360)) ([a1e5591](prettier/eslint-plugin-prettier@a1e5591)) - Create dependabot.yml ([f58b6c7](prettier/eslint-plugin-prettier@f58b6c7)) - docs(README): fix prettier getFileInfo link ([#335](prettier/eslint-plugin-prettier#335)) ([5a690f1](prettier/eslint-plugin-prettier@5a690f1)) - build(deps-dev): bump eslint-plugin-eslint-plugin from 2.2.2 to 2.3.0 ([8614c45](prettier/eslint-plugin-prettier@8614c45)) - build(deps-dev): bump eslint from 7.3.0 to 7.3.1 ([12d9ed8](prettier/eslint-plugin-prettier@12d9ed8)) - build(deps-dev): bump eslint from 7.2.0 to 7.3.0 ([5a6f42e](prettier/eslint-plugin-prettier@5a6f42e)) - chore: update CI badge in readme ([5012b66](prettier/eslint-plugin-prettier@5012b66)) - Use Github Actions for CI ([#305](prettier/eslint-plugin-prettier#305)) ([41eb64f](prettier/eslint-plugin-prettier@41eb64f)) #### v3.1.4 (2020-06-14) - Avoid clearing Prettier cache when not using prettierrc ([#303](prettier/eslint-plugin-prettier#303)) ([3c8e2d9](prettier/eslint-plugin-prettier@3c8e2d9)) - build(deps-dev): bump eslint-plugin-eslint-plugin from 2.2.1 to 2.2.2 ([93f7c8b](prettier/eslint-plugin-prettier@93f7c8b)) - build(deps-dev): bump eslint from 7.1.0 to 7.2.0 ([650ac7a](prettier/eslint-plugin-prettier@650ac7a)) - build(deps-dev): bump eslint-plugin-self from 1.2.0 to 1.2.1 ([6449ec1](prettier/eslint-plugin-prettier@6449ec1)) - build(deps-dev): bump eslint from 7.0.0 to 7.1.0 ([fd30022](prettier/eslint-plugin-prettier@fd30022)) - Chore: Add CI tests for ESLint 7 ([#291](prettier/eslint-plugin-prettier#291)) ([cc2979b](prettier/eslint-plugin-prettier@cc2979b)) - build(deps-dev): bump eslint-config-prettier from 6.10.1 to 6.11.0 ([35a7ee6](prettier/eslint-plugin-prettier@35a7ee6)) #### v3.1.3 (2020-04-13) - Fix: Set `meta.type` to "layout" ([#283](prettier/eslint-plugin-prettier#283)) ([97152e2](prettier/eslint-plugin-prettier@97152e2)) - build(deps-dev): bump eslint-config-prettier from 6.10.0 to 6.10.1 ([185b106](prettier/eslint-plugin-prettier@185b106)) - build(deps): \[security] bump acorn from 6.1.0 to 6.4.1 ([bba5881](prettier/eslint-plugin-prettier@bba5881)) - build(deps-dev): bump eslint-config-prettier from 6.9.0 to 6.10.0 ([9a47a6f](prettier/eslint-plugin-prettier@9a47a6f)) - build(deps-dev): bump eslint-plugin-eslint-plugin from 2.2.0 to 2.2.1 ([aad671d](prettier/eslint-plugin-prettier@aad671d)) - build(deps-dev): bump eslint-plugin-eslint-plugin from 2.1.0 to 2.2.0 ([e2458c2](prettier/eslint-plugin-prettier@e2458c2)) - build(deps-dev): bump eslint-config-prettier from 6.8.0 to 6.9.0 ([05ef06f](prettier/eslint-plugin-prettier@05ef06f)) - build(deps-dev): bump eslint-config-prettier from 6.7.0 to 6.8.0 ([ab80b3c](prettier/eslint-plugin-prettier@ab80b3c)) - build(deps-dev): bump eslint from 6.7.2 to 6.8.0 ([dea1b30](prettier/eslint-plugin-prettier@dea1b30)) #### v3.1.2 (2019-12-15) - Resolve config when getting list of inferred parsers ([1ad45be](prettier/eslint-plugin-prettier@1ad45be)) - Fix tests now they to stop them inheriting from base prettierrc file ([14840fa](prettier/eslint-plugin-prettier@14840fa)) - Move prettier config into dedicated file, so vscode plugins pick it up ([c49334a](prettier/eslint-plugin-prettier@c49334a)) - build(deps-dev): bump eslint from 6.7.1 to 6.7.2 ([15e6cf9](prettier/eslint-plugin-prettier@15e6cf9)) - build(deps-dev): bump eslint from 6.6.0 to 6.7.1 ([e8ad019](prettier/eslint-plugin-prettier@e8ad019)) - build(deps-dev): bump eslint-config-prettier from 6.6.0 to 6.7.0 ([44f4bfe](prettier/eslint-plugin-prettier@44f4bfe)) - build(deps-dev): bump eslint-config-prettier from 6.5.0 to 6.6.0 ([46580c5](prettier/eslint-plugin-prettier@46580c5)) - build(deps-dev): bump prettier from 1.18.2 to 1.19.1 ([10b4676](prettier/eslint-plugin-prettier@10b4676)) - build(deps-dev): bump eslint from 6.5.1 to 6.6.0 ([53eaeae](prettier/eslint-plugin-prettier@53eaeae)) - build(deps-dev): bump eslint-config-prettier from 6.4.0 to 6.5.0 ([ad3321c](prettier/eslint-plugin-prettier@ad3321c)) - build(deps-dev): bump mocha from 6.2.1 to 6.2.2 ([b7280b6](prettier/eslint-plugin-prettier@b7280b6)) - build(deps-dev): bump eslint-config-prettier from 6.3.0 to 6.4.0 ([4c1d69a](prettier/eslint-plugin-prettier@4c1d69a)) - build(deps-dev): bump eslint from 6.5.0 to 6.5.1 ([c109a7a](prettier/eslint-plugin-prettier@c109a7a)) - build(deps-dev): bump mocha from 6.2.0 to 6.2.1 ([3134bea](prettier/eslint-plugin-prettier@3134bea)) - build(deps-dev): bump eslint from 6.4.0 to 6.5.0 ([7c290d7](prettier/eslint-plugin-prettier@7c290d7)) #### v3.1.1 (2019-09-18) - build(deps-dev): bump eslint from 6.3.0 to 6.4.0 ([8a793eb](prettier/eslint-plugin-prettier@8a793eb)) - build(deps-dev): bump eslint-config-prettier from 6.2.0 to 6.3.0 ([88c3f6c](prettier/eslint-plugin-prettier@88c3f6c)) - build(deps-dev): bump eslint-config-prettier from 6.0.0 to 6.2.0 ([5f9fbc1](prettier/eslint-plugin-prettier@5f9fbc1)) - build(deps-dev): bump eslint from 6.2.2 to 6.3.0 ([746b66d](prettier/eslint-plugin-prettier@746b66d)) - build(deps-dev): bump eslint from 6.1.0 to 6.2.2 ([97eedb4](prettier/eslint-plugin-prettier@97eedb4)) - build(deps-dev): bump eslint from 6.0.1 to 6.1.0 ([afef9d1](prettier/eslint-plugin-prettier@afef9d1)) - build(deps-dev): bump mocha from 6.1.4 to 6.2.0 ([0360a84](prettier/eslint-plugin-prettier@0360a84)) - build(deps): \[security] bump lodash from 4.17.11 to 4.17.14 ([9eceb68](prettier/eslint-plugin-prettier@9eceb68)) - Fix: When forcing the JS parser, use the modern name ([#212](prettier/eslint-plugin-prettier#212)) ([1385310](prettier/eslint-plugin-prettier@1385310)) - Add eslint 6 to test matrix ([#210](prettier/eslint-plugin-prettier#210)) ([bca77e6](prettier/eslint-plugin-prettier@bca77e6)) - build(deps-dev): bump eslint-config-prettier from 5.0.0 to 6.0.0 ([4c069bd](prettier/eslint-plugin-prettier@4c069bd)) - build(deps-dev): bump eslint-config-prettier from 4.3.0 to 5.0.0 ([60bb22f](prettier/eslint-plugin-prettier@60bb22f)) - build(deps-dev): bump prettier from 1.18.0 to 1.18.2 ([a183560](prettier/eslint-plugin-prettier@a183560)) - build(deps-dev): bump prettier from 1.17.1 to 1.18.0 ([0cad479](prettier/eslint-plugin-prettier@0cad479)) - build(deps-dev): bump eslint-config-prettier from 4.2.0 to 4.3.0 ([6f3c76f](prettier/eslint-plugin-prettier@6f3c76f)) - build(deps-dev): bump prettier from 1.17.0 to 1.17.1 ([03aecfd](prettier/eslint-plugin-prettier@03aecfd)) #### v3.1.0 (2019-05-11) - New: Allow options to be passed to prettier.getFileInfo ([#187](prettier/eslint-plugin-prettier#187)) ([21fa69a](prettier/eslint-plugin-prettier@21fa69a)) - build(deps-dev): bump eslint-plugin-eslint-plugin from 2.0.1 to 2.1.0 ([bb597e1](prettier/eslint-plugin-prettier@bb597e1)) - build(deps-dev): bump eslint-config-prettier from 4.1.0 to 4.2.0 ([0bb7c1d](prettier/eslint-plugin-prettier@0bb7c1d)) - build(deps-dev): bump vue-eslint-parser from 6.0.3 to 6.0.4 ([2f77df4](prettier/eslint-plugin-prettier@2f77df4)) - build(deps-dev): bump mocha from 6.1.3 to 6.1.4 ([222b87a](prettier/eslint-plugin-prettier@222b87a)) - build(deps-dev): bump prettier from 1.16.4 to 1.17.0 ([58d8ff8](prettier/eslint-plugin-prettier@58d8ff8)) - build(deps-dev): bump mocha from 6.1.2 to 6.1.3 ([e94e56c](prettier/eslint-plugin-prettier@e94e56c)) - build(deps-dev): bump mocha from 6.1.1 to 6.1.2 ([c02244b](prettier/eslint-plugin-prettier@c02244b)) - build(deps-dev): bump mocha from 6.0.2 to 6.1.1 ([a9a2e4e](prettier/eslint-plugin-prettier@a9a2e4e)) - build(deps-dev): bump eslint from 5.15.3 to 5.16.0 ([073c14c](prettier/eslint-plugin-prettier@073c14c)) - build(deps-dev): bump eslint from 5.15.2 to 5.15.3 ([bda931f](prettier/eslint-plugin-prettier@bda931f)) - build(deps-dev): bump eslint from 5.15.1 to 5.15.2 ([19f53d6](prettier/eslint-plugin-prettier@19f53d6)) - build(deps-dev): bump eslint from 5.15.0 to 5.15.1 ([34b39de](prettier/eslint-plugin-prettier@34b39de)) - build(deps-dev): bump eslint from 5.14.1 to 5.15.0 ([13bcc66](prettier/eslint-plugin-prettier@13bcc66)) - build(deps-dev): bump eslint-plugin-self from 1.1.0 to 1.2.0 ([5b4adb8](prettier/eslint-plugin-prettier@5b4adb8)) - build(deps-dev): bump vue-eslint-parser from 6.0.2 to 6.0.3 ([e676cd1](prettier/eslint-plugin-prettier@e676cd1)) - build(deps-dev): bump eslint-config-prettier from 4.0.0 to 4.1.0 ([b8a9215](prettier/eslint-plugin-prettier@b8a9215)) - build(deps-dev): bump mocha from 6.0.1 to 6.0.2 ([cde36e4](prettier/eslint-plugin-prettier@cde36e4)) - build(deps-dev): bump mocha from 6.0.0 to 6.0.1 ([eb39699](prettier/eslint-plugin-prettier@eb39699)) - build(deps-dev): bump mocha from 5.2.0 to 6.0.0 ([5d75421](prettier/eslint-plugin-prettier@5d75421)) - build(deps-dev): bump eslint from 5.14.0 to 5.14.1 ([829156e](prettier/eslint-plugin-prettier@829156e)) - build(deps-dev): bump eslint from 5.13.0 to 5.14.0 ([b76d0b4](prettier/eslint-plugin-prettier@b76d0b4)) - build(deps-dev): bump vue-eslint-parser from 6.0.0 to 6.0.2 ([15439e8](prettier/eslint-plugin-prettier@15439e8)) - build(deps-dev): bump vue-eslint-parser from 5.0.0 to 6.0.0 ([0ea70e5](prettier/eslint-plugin-prettier@0ea70e5)) - build(deps-dev): bump eslint from 5.12.1 to 5.13.0 ([5f18729](prettier/eslint-plugin-prettier@5f18729)) - build(deps-dev): bump prettier from 1.16.3 to 1.16.4 ([ef637fe](prettier/eslint-plugin-prettier@ef637fe)) - build(deps-dev): bump prettier from 1.16.1 to 1.16.3 ([58ab20c](prettier/eslint-plugin-prettier@58ab20c)) - build(deps-dev): bump eslint-config-prettier from 3.6.0 to 4.0.0 ([14393bd](prettier/eslint-plugin-prettier@14393bd)) - build(deps-dev): bump prettier from 1.16.0 to 1.16.1 ([00198b9](prettier/eslint-plugin-prettier@00198b9)) - build(deps-dev): bump prettier from 1.15.3 to 1.16.0 ([7890a87](prettier/eslint-plugin-prettier@7890a87)) - build(deps-dev): bump eslint from 5.12.0 to 5.12.1 ([92a8984](prettier/eslint-plugin-prettier@92a8984)) - build(deps-dev): bump eslint-config-prettier from 3.5.0 to 3.6.0 ([5292d12](prettier/eslint-plugin-prettier@5292d12)) - build(deps-dev): bump eslint-config-prettier from 3.4.0 to 3.5.0 ([44a2558](prettier/eslint-plugin-prettier@44a2558)) - build(deps-dev): bump eslint-config-prettier from 3.3.0 to 3.4.0 ([425cfce](prettier/eslint-plugin-prettier@425cfce)) - build(deps-dev): bump eslint from 5.11.1 to 5.12.0 ([3e9aa39](prettier/eslint-plugin-prettier@3e9aa39)) - build(deps-dev): bump eslint-plugin-node from 8.0.0 to 8.0.1 ([e913afd](prettier/eslint-plugin-prettier@e913afd)) - build(deps-dev): bump vue-eslint-parser from 4.0.3 to 5.0.0 ([ecfd5ba](prettier/eslint-plugin-prettier@ecfd5ba)) #### v3.0.1 (2018-12-28) - Catch and format SyntaxErrors as eslint violations ([#141](prettier/eslint-plugin-prettier#141)) ([4a0e57d](prettier/eslint-plugin-prettier@4a0e57d)) - build(deps-dev): bump eslint from 5.11.0 to 5.11.1 ([d34daed](prettier/eslint-plugin-prettier@d34daed)) - build(deps-dev): bump eslint from 5.10.0 to 5.11.0 ([7f4f45d](prettier/eslint-plugin-prettier@7f4f45d)) - build(deps-dev): bump eslint-plugin-eslint-plugin from 2.0.0 to 2.0.1 ([5be3bcf](prettier/eslint-plugin-prettier@5be3bcf)) - build(deps-dev): bump eslint from 5.9.0 to 5.10.0 ([11e7c44](prettier/eslint-plugin-prettier@11e7c44)) - build(deps-dev): bump eslint-plugin-eslint-plugin from 1.4.1 to 2.0.0 ([9e5bf14](prettier/eslint-plugin-prettier@9e5bf14)) - build(deps-dev): bump vue-eslint-parser from 4.0.2 to 4.0.3 ([234583a](prettier/eslint-plugin-prettier@234583a)) - build(deps-dev): bump vue-eslint-parser from 3.3.0 to 4.0.2 ([8675d57](prettier/eslint-plugin-prettier@8675d57)) - Upgrade: Bump vue-eslint-parser from 3.2.2 to 3.3.0 ([2379e93](prettier/eslint-plugin-prettier@2379e93)) - Upgrade: Bump eslint-config-prettier from 3.1.0 to 3.3.0 ([3ea0021](prettier/eslint-plugin-prettier@3ea0021)) - Upgrade: Bump eslint from 5.8.0 to 5.9.0 ([c774fb8](prettier/eslint-plugin-prettier@c774fb8)) - build(deps-dev): bump eslint-plugin-node from 7.0.1 to 8.0.0 ([#121](prettier/eslint-plugin-prettier#121)) ([2a4fba0](prettier/eslint-plugin-prettier@2a4fba0)) - build(deps-dev): bump eslint-plugin-eslint-plugin from 1.4.0 to 1.4.1 ([#120](prettier/eslint-plugin-prettier#120)) ([29caa29](prettier/eslint-plugin-prettier@29caa29)) - build(deps-dev): bump eslint from 5.6.0 to 5.8.0 ([#119](prettier/eslint-plugin-prettier#119)) ([2836350](prettier/eslint-plugin-prettier@2836350)) #### v3.0.0 (2018-10-01) - Chore: Add eslint peer-dependency ([d55d79c](prettier/eslint-plugin-prettier@d55d79c)) - Breaking: Extract showInvisibles and generateDifferences ([bf7c40c](prettier/eslint-plugin-prettier@bf7c40c)) - Breaking: Defining prettier options must use an object ([478c7e5](prettier/eslint-plugin-prettier@478c7e5)) - Breaking: Drop support for ESLint v3 and v4 ([2326231](prettier/eslint-plugin-prettier@2326231)) - Chore: Update dependencies ([1ec94c8](prettier/eslint-plugin-prettier@1ec94c8)) - Chore: remove two unused dependencies ([bfe459c](prettier/eslint-plugin-prettier@bfe459c)) - Chore: Rename test files to keep them sequential ([d38ea52](prettier/eslint-plugin-prettier@d38ea52)) - Breaking: Remove pragma support ([3af422c](prettier/eslint-plugin-prettier@3af422c)) - Breaking: Update minimum required pretter version to 1.13.0 ([29c0506](prettier/eslint-plugin-prettier@29c0506)) - Breaking: Drop support for node v4, v7 and v9 ([be460bd](prettier/eslint-plugin-prettier@be460bd)) - Chore: Add vscode config to autoformat on save ([9fac6b4](prettier/eslint-plugin-prettier@9fac6b4)) - Chore: Improve travis matrix ([46d2444](prettier/eslint-plugin-prettier@46d2444)) - Chore: Add format script to run prettier ([d46aa6d](prettier/eslint-plugin-prettier@d46aa6d)) #### v2.7.0 (2018-09-26) - Update: Support prettierignore and custom processors ([#111](prettier/eslint-plugin-prettier#111)) ([38537ba](prettier/eslint-plugin-prettier@38537ba)) - Build: switch to release script package ([047dc8f](prettier/eslint-plugin-prettier@047dc8f)) #### v2.6.2 (2018-07-06) - Fix: Add representation for \r to showInvisibles ([#100](prettier/eslint-plugin-prettier#100)) ([731bbb5](prettier/eslint-plugin-prettier@731bbb5)) - Docs: Add clarification about Flow/React support to readme ([#96](prettier/eslint-plugin-prettier#96)) ([977aa77](prettier/eslint-plugin-prettier@977aa77)) #### v2.6.1 (2018-06-23) - Fix: respect editorconfig ([#92](prettier/eslint-plugin-prettier#92)) ([0b04dd3](prettier/eslint-plugin-prettier@0b04dd3)) #### v2.6.0 (2018-02-02) - Update: Add option to skip loading prettierrc ([#83](prettier/eslint-plugin-prettier#83)) ([9e0fb48](prettier/eslint-plugin-prettier@9e0fb48)) - Build: add Node 8 and 9 to Travis ([e5b5fa7](prettier/eslint-plugin-prettier@e5b5fa7)) - Chore: add test for vue parsing ([1ab43fd](prettier/eslint-plugin-prettier@1ab43fd)) #### v2.5.0 (2018-01-16) - Fix: pass filepath to prettier ([#76](prettier/eslint-plugin-prettier#76)) ([0b6ab55](prettier/eslint-plugin-prettier@0b6ab55)) - Update: Add URL to rule documentation to the metadata ([#75](prettier/eslint-plugin-prettier#75)) ([804ead7](prettier/eslint-plugin-prettier@804ead7)) #### v2.4.0 (2017-12-17) - New: Add 'recommended' configuration ([#73](prettier/eslint-plugin-prettier#73)) ([e529b60](prettier/eslint-plugin-prettier@e529b60)) - Docs: Create ISSUE\_TEMPLATE.md ([4335b08](prettier/eslint-plugin-prettier@4335b08)) #### v2.3.1 (2017-09-18) - Fix: Guard against older prettier installation ([#56](prettier/eslint-plugin-prettier#56)) ([8a115f9](prettier/eslint-plugin-prettier@8a115f9)) #### v2.3.0 (2017-09-18) - Update: Support .prettierrc config files (fixes [#46](prettier/eslint-plugin-prettier#46)) ([#55](prettier/eslint-plugin-prettier#55)) ([bc89153](prettier/eslint-plugin-prettier@bc89153)) - Docs: .eslintrc.json > .eslintrc ([#52](prettier/eslint-plugin-prettier#52)) ([95f0808](prettier/eslint-plugin-prettier@95f0808)) - Upgrade: jest-docblock to ^21.0.0 ([#50](prettier/eslint-plugin-prettier#50)) ([c777111](prettier/eslint-plugin-prettier@c777111)) - Chore: upgrade prettier to ^1.6.1 ([#49](prettier/eslint-plugin-prettier#49)) ([56deffa](prettier/eslint-plugin-prettier@56deffa)) - Chore: use eslint-plugin-self for linting ([#47](prettier/eslint-plugin-prettier#47)) ([5ea0526](prettier/eslint-plugin-prettier@5ea0526)) #### v2.2.0 (2017-08-16) - New: expose reporter api (fixes [#39](prettier/eslint-plugin-prettier#39)) ([#41](prettier/eslint-plugin-prettier#41)) ([1666067](prettier/eslint-plugin-prettier@1666067)) #### v2.1.2 (2017-06-14) - Chore: Relax peerDependencies ([#30](prettier/eslint-plugin-prettier#30)) ([a19b8af](prettier/eslint-plugin-prettier@a19b8af)) - Chore: Add release script ([#25](prettier/eslint-plugin-prettier#25)) ([8fbfe73](prettier/eslint-plugin-prettier@8fbfe73)) #### v2.1.1 (2017-05-19) - Fix: Support ESLint <3.11.0 ([#24](prettier/eslint-plugin-prettier#24)) ([fde7fdf](prettier/eslint-plugin-prettier@fde7fdf)) - Chore: add yarn.lock ([#23](prettier/eslint-plugin-prettier#23)) ([8b55518](prettier/eslint-plugin-prettier@8b55518)) - Docs: fix links in changelog ([#22](prettier/eslint-plugin-prettier#22)) ([7e70e11](prettier/eslint-plugin-prettier@7e70e11)) #### v2.1.0 (2017-05-16) - Merge with eslint-plugin-prettify ([#21](prettier/eslint-plugin-prettier#21)) ([6de494f](prettier/eslint-plugin-prettier@6de494f)) - Docs: update repo links to new URL ([#18](prettier/eslint-plugin-prettier#18)) ([6b69492](prettier/eslint-plugin-prettier@6b69492)) - Chore: Upgrade development dependencies ([#16](prettier/eslint-plugin-prettier#16)) ([12984ea](prettier/eslint-plugin-prettier@12984ea)) - Docs: fix outdated info about prettier's semicolon support ([da6aad1](prettier/eslint-plugin-prettier@da6aad1)) - Docs: update prettier options in example ([#14](prettier/eslint-plugin-prettier#14)) ([0ae173f](prettier/eslint-plugin-prettier@0ae173f)) - Docs: Change the order of dependencies install ([#13](prettier/eslint-plugin-prettier#13)) ([cbf803c](prettier/eslint-plugin-prettier@cbf803c)) - Docs: Add CONTRIBUTING.md (fixes [#9](prettier/eslint-plugin-prettier#9)) ([40fe55b](prettier/eslint-plugin-prettier@40fe55b)) #### v2.0.1 (2017-02-26) - Docs: add travis badge to README.md ([1daa495](prettier/eslint-plugin-prettier@1daa495)) - Upgrade: prettier to 0.18.0 ([1700e41](prettier/eslint-plugin-prettier@1700e41)) - Chore: use eslint-config-prettier ([c979b84](prettier/eslint-plugin-prettier@c979b84)) - Fix: avoid relying on an internal eslint function ([5296930](prettier/eslint-plugin-prettier@5296930)) - Docs: mention eslint-config-prettier in README.md ([3fd855d](prettier/eslint-plugin-prettier@3fd855d)) - Chore: pin the version of prettier used to lint this module (refs [#1](prettier/eslint-plugin-prettier#1)) ([db85633](prettier/eslint-plugin-prettier@db85633)) #### v2.0.0 (2017-01-28) - Docs: create changelog ([d388095](prettier/eslint-plugin-prettier@d388095)) - Docs: add 2.0.0 migration guide ([db508d7](prettier/eslint-plugin-prettier@db508d7)) - Breaking: Make prettier a peerDependency ([#1](prettier/eslint-plugin-prettier#1)) ([d8a8992](prettier/eslint-plugin-prettier@d8a8992)) - Docs: add repo url to package.json ([2474bc9](prettier/eslint-plugin-prettier@2474bc9)) - Docs: suggest prettier-eslint if eslint rules disagree with prettier ([3414437](prettier/eslint-plugin-prettier@3414437)) ## [v5.5.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#551) ##### Patch Changes - [#748](prettier/eslint-plugin-prettier#748) [`bfd1e95`](prettier/eslint-plugin-prettier@bfd1e95) Thanks [@JounQin](https://github.com/JounQin)! - fix: use `prettierRcOptions` directly for prettier 3.6+ ## [v5.5.0](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#550) ##### Minor Changes - [#743](prettier/eslint-plugin-prettier#743) [`92f2c9c`](prettier/eslint-plugin-prettier@92f2c9c) Thanks [@dotcarmen](https://github.com/dotcarmen)! - feat: support non-js languages like `css` for `@eslint/css` and `json` for `@eslint/json` ## [v5.4.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#541) ##### Patch Changes - [#740](prettier/eslint-plugin-prettier#740) [`c21521f`](prettier/eslint-plugin-prettier@c21521f) Thanks [@JounQin](https://github.com/JounQin)! - fix(deps): bump `synckit` to v0.11.7 to fix potential `TypeError: Cannot read properties of undefined (reading 'message')` error
| datasource | package | from | to | | ---------- | ---------------------- | ----- | ----- | | npm | eslint-plugin-prettier | 5.4.0 | 5.5.4 | ## [v5.5.4](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#554) ##### Patch Changes - [#755](prettier/eslint-plugin-prettier#755) [`723f7a8`](prettier/eslint-plugin-prettier@723f7a8) Thanks [@kbrilla](https://github.com/kbrilla)! - fix: add 'oxc', 'oxc-ts' and 'hermes' parsers to `parserBlocklist` - [#751](prettier/eslint-plugin-prettier#751) [`cf52b30`](prettier/eslint-plugin-prettier@cf52b30) Thanks [@andreww2012](https://github.com/andreww2012)! - fix: disallow extra properties in rule options ## [v5.5.3](https://github.com/prettier/eslint-plugin-prettier/releases/tag/v5.5.3) republish the latest version **Full Changelog**: prettier/eslint-plugin-prettier@v5.5.2...v5.5.3 ## [v5.5.2](https://github.com/prettier/eslint-plugin-prettier/releases/tag/v5.5.2) ### Changelog #### 5.5.1 ##### Patch Changes - [#748](prettier/eslint-plugin-prettier#748) [`bfd1e95`](prettier/eslint-plugin-prettier@bfd1e95) Thanks [@JounQin](https://github.com/JounQin)! - fix: use `prettierRcOptions` directly for prettier 3.6+ #### 5.5.0 ##### Minor Changes - [#743](prettier/eslint-plugin-prettier#743) [`92f2c9c`](prettier/eslint-plugin-prettier@92f2c9c) Thanks [@dotcarmen](https://github.com/dotcarmen)! - feat: support non-js languages like `css` for `@eslint/css` and `json` for `@eslint/json` #### 5.4.1 ##### Patch Changes - [#740](prettier/eslint-plugin-prettier#740) [`c21521f`](prettier/eslint-plugin-prettier@c21521f) Thanks [@JounQin](https://github.com/JounQin)! - fix(deps): bump `synckit` to v0.11.7 to fix potential `TypeError: Cannot read properties of undefined (reading 'message')` error #### 5.4.0 ##### Minor Changes - [#736](prettier/eslint-plugin-prettier#736) [`59a0cae`](prettier/eslint-plugin-prettier@59a0cae) Thanks [@yashtech00](https://github.com/yashtech00)! - refactor: migrate `worker.js` to `worker.mjs` #### 5.3.1 ##### Patch Changes - [#734](prettier/eslint-plugin-prettier#734) [`dcf2c80`](prettier/eslint-plugin-prettier@dcf2c80) Thanks [@JounQin](https://github.com/JounQin)! - ci: enable `NPM_CONFIG_PROVENANCE` env #### 5.3.0 ##### Minor Changes - [#674](prettier/eslint-plugin-prettier#674) [`6fe0c90`](prettier/eslint-plugin-prettier@6fe0c90) Thanks [@irsooti](https://github.com/irsooti)! - feat(types): prefer `Config` over `FlatConfig` when they're equal #### 5.2.6 ##### Patch Changes - [#723](prettier/eslint-plugin-prettier#723) [`1451176`](prettier/eslint-plugin-prettier@1451176) Thanks [@renovate](https://github.com/apps/renovate)! - fix(deps): bump `synckit` to `v0.11.0` #### 5.2.5 ##### Patch Changes - [#721](prettier/eslint-plugin-prettier#721) [`4f5513d`](prettier/eslint-plugin-prettier@4f5513d) Thanks [@JounQin](https://github.com/JounQin)! - fix: clarify correct `eslint-config-prettier` peer range #### 5.2.4 ##### Patch Changes - [#715](prettier/eslint-plugin-prettier#715) [`b8cfe56`](prettier/eslint-plugin-prettier@b8cfe56) Thanks [@JounQin](https://github.com/JounQin)! - chore: hourcekeeping, bump all (dev) deps #### 5.2.3 ##### Patch Changes - [#703](prettier/eslint-plugin-prettier#703) [`9c6141f`](prettier/eslint-plugin-prettier@9c6141f) Thanks [@BPScott](https://github.com/BPScott)! - Add name field to recommended flat config #### 5.2.2 ##### Patch Changes - [#700](prettier/eslint-plugin-prettier#700) [`aa5b59f`](prettier/eslint-plugin-prettier@aa5b59f) Thanks [@ntnyq](https://github.com/ntnyq)! - fix: report node when loc not found #### 5.2.1 ##### Patch Changes - [#668](prettier/eslint-plugin-prettier#668) [`ac036cc`](prettier/eslint-plugin-prettier@ac036cc) Thanks [@OrlovAlexei](https://github.com/OrlovAlexei)! - build(deps): Bump synckit from 0.8.6 to 0.9.1 #### 5.2.0 ##### Minor Changes - [#652](prettier/eslint-plugin-prettier#652) [`f170011`](prettier/eslint-plugin-prettier@f170011) Thanks [@Logicer16](https://github.com/Logicer16)! - feat: support parsing `html` via `@html-eslint/parser` natively #### 5.1.3 ##### Patch Changes - [#629](prettier/eslint-plugin-prettier#629) [`985b33c`](prettier/eslint-plugin-prettier@985b33c) Thanks [@JounQin](https://github.com/JounQin)! - chore: add `package.json` into `exports` map #### 5.1.2 ##### Patch Changes - [#623](prettier/eslint-plugin-prettier#623) [`8210e44`](prettier/eslint-plugin-prettier@8210e44) Thanks [@BPScott](https://github.com/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](prettier/eslint-plugin-prettier#621) [`2b09e7f`](prettier/eslint-plugin-prettier@2b09e7f) Thanks [@JounQin](https://github.com/JounQin)! - feat: support parsing `markdown` via `eslint-mdx` natively What means the following is unnecessary anymore when using with `eslint-mdx`/`eslint-plugin-mdx`! ```json5 [ { files: ["**/*.md"], rules: { "prettier/prettier": ["error", { parser: "markdown" }] }, }, { files: ["**/*.mdx"], rules: { "prettier/prettier": ["error", { parser: "mdx" }] }, }, ] ``` #### 5.1.1 ##### Patch Changes - [#619](prettier/eslint-plugin-prettier#619) [`b5c0dc5`](prettier/eslint-plugin-prettier@b5c0dc5) Thanks [@JounQin](https://github.com/JounQin)! - chore: skip formatting inline scripts in pug files #### 5.1.0 ##### Minor Changes - [#616](prettier/eslint-plugin-prettier#616) [`3856413`](prettier/eslint-plugin-prettier@3856413) Thanks [@BPScott](https://github.com/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`. ```js // eslint.config.js const eslintPluginPrettierRecommended = require("eslint-plugin-prettier/recommended"); module.exports = [ // Any other config imports go at the top eslintPluginPrettierRecommended, ]; ``` ##### Patch Changes - [#614](prettier/eslint-plugin-prettier#614) [`5270877`](prettier/eslint-plugin-prettier@5270877) Thanks [@BPScott](https://github.com/BPScott)! - Add meta block to plugin. This improves debugging and cachebusting when using the new flat config - [#603](prettier/eslint-plugin-prettier#603) [`a63a570`](prettier/eslint-plugin-prettier@a63a570) Thanks [@filiptammergard](https://github.com/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 - [#588](prettier/eslint-plugin-prettier#588) [`21a7146`](prettier/eslint-plugin-prettier@21a7146) Thanks [@krist7599555](https://github.com/krist7599555)! - fix: `parserPath` type might be `undefined` on Eslint Falt Config #### 5.0.0 ##### Major Changes - [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat!: bump peer eslint to ">=8.0.0" and node to "^14.18.0 || >=16.0.0" - [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat!: upgrade to prettier v3 ##### Minor Changes - [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat: add typings support ##### Patch Changes - [#548](prettier/eslint-plugin-prettier#548) [`82a3db8`](prettier/eslint-plugin-prettier@82a3db8) Thanks [@fisker](https://github.com/fisker)! - fix: add missing dependency `synckit` - [#564](prettier/eslint-plugin-prettier#564) [`ae7a73c`](prettier/eslint-plugin-prettier@ae7a73c) Thanks [@auvred](https://github.com/auvred)! - fix: compatibility with prettier@3 without plugins #### 4.2.2 ##### Patch Changes - [`2373d0c`](prettier/eslint-plugin-prettier@2373d0c) Thanks [@JounQin](https://github.com/JounQin)! - docs: add Sponsors and Backers sections #### 4.2.1 ##### Patch Changes - [#485](prettier/eslint-plugin-prettier#485) [`5736ed5`](prettier/eslint-plugin-prettier@5736ed5) Thanks [@JounQin](https://github.com/JounQin)! - chore: reuse prettierRcOptions instead of resolveConfig again #### 4.2.0 ##### Minor Changes - [#483](prettier/eslint-plugin-prettier#483) [`7bd70b6`](prettier/eslint-plugin-prettier@7bd70b6) Thanks [@JounQin](https://github.com/JounQin)! - feat: support svelte out of box close [#472](prettier/eslint-plugin-prettier#472), close [#482](prettier/eslint-plugin-prettier#482) We recommend to use [`eslint-plugin-svelte`](https://github.com/ota-meshi/eslint-plugin-svelte) instead of [`eslint-plugin-svelte3`](https://github.com/sveltejs/eslint-plugin-svelte3). #### v4.1.0 (2022-06-27) - feat: skip processing code blocks on specific languages like `stylelint-prettier` ([#415](prettier/eslint-plugin-prettier#415)) ([52eec48](prettier/eslint-plugin-prettier@52eec48)) - build(deps): Bump minimist from 1.2.5 to 1.2.6 ([#464](prettier/eslint-plugin-prettier#464)) ([42bfe88](prettier/eslint-plugin-prettier@42bfe88)) - build(deps-dev): Bump graphql from 15.5.1 to 15.7.2 ([#442](prettier/eslint-plugin-prettier#442)) ([0158640](prettier/eslint-plugin-prettier@0158640)) - build(deps-dev): Bump [@graphql-eslint/eslint-plugin](https://github.com/graphql-eslint/eslint-plugin) from 2.3.0 to 2.4.0 ([#444](prettier/eslint-plugin-prettier#444)) ([4bcaca2](prettier/eslint-plugin-prettier@4bcaca2)) - chore(CI): add tests for ESLint 8 ([#428](prettier/eslint-plugin-prettier#428)) ([f3713be](prettier/eslint-plugin-prettier@f3713be)) - README.md: HTTP => HTTPS ([#443](prettier/eslint-plugin-prettier#443)) ([44e1478](prettier/eslint-plugin-prettier@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](prettier/eslint-plugin-prettier#429)) ([acb56f3](prettier/eslint-plugin-prettier@acb56f3)) #### v3.4.1 (2021-08-20) - build(deps): Bump glob-parent from 5.0.0 to 5.1.2 ([#420](prettier/eslint-plugin-prettier#420)) ([b6d075c](prettier/eslint-plugin-prettier@b6d075c)) - build(deps): Bump path-parse from 1.0.6 to 1.0.7 ([#425](prettier/eslint-plugin-prettier#425)) ([24f957e](prettier/eslint-plugin-prettier@24f957e)) - feat: support `@graphql-eslint/eslint-plugin` out of box ([#413](prettier/eslint-plugin-prettier#413)) ([ec6fbb1](prettier/eslint-plugin-prettier@ec6fbb1)) - chore: add tests for Node 16 ([#410](prettier/eslint-plugin-prettier#410)) ([76bd45e](prettier/eslint-plugin-prettier@76bd45e)) #### v3.4.0 (2021-04-15) - feat: support processor virtual filename ([#401](prettier/eslint-plugin-prettier#401)) ([ee0ccc6](prettier/eslint-plugin-prettier@ee0ccc6)) - Simplify report logic ([#380](prettier/eslint-plugin-prettier#380)) ([d993f24](prettier/eslint-plugin-prettier@d993f24)) - Update: README.md ([#375](prettier/eslint-plugin-prettier#375)) ([3ea4242](prettier/eslint-plugin-prettier@3ea4242)) #### v3.3.1 (2021-01-04) - fix: add eslint-config-prettier as an optional peer dependency ([#374](prettier/eslint-plugin-prettier#374)) ([d59df27](prettier/eslint-plugin-prettier@d59df27)) - build(deps-dev): bump eslint from 7.16.0 to 7.17.0 ([b87985d](prettier/eslint-plugin-prettier@b87985d)) - build(deps-dev): bump eslint from 7.15.0 to 7.16.0 ([11e427e](prettier/eslint-plugin-prettier@11e427e)) #### v3.3.0 (2020-12-13) - Minor: Perf improvement: Do not clear the config cache on each run ([#368](prettier/eslint-plugin-prettier#368)) ([1b90ea7](prettier/eslint-plugin-prettier@1b90ea7)) - Add peerDependenciesMeta block ([#367](prettier/eslint-plugin-prettier#367)) ([86608d5](prettier/eslint-plugin-prettier@86608d5)) - build(deps-dev): bump eslint from 7.14.0 to 7.15.0 ([885f484](prettier/eslint-plugin-prettier@885f484)) - build(deps-dev): bump eslint from 7.3.1 to 7.14.0 ([cebc80b](prettier/eslint-plugin-prettier@cebc80b)) #### v3.2.0 (2020-12-03) - Skip CI for eslint 6 + node 8 ([#364](prettier/eslint-plugin-prettier#364)) ([f8f08e4](prettier/eslint-plugin-prettier@f8f08e4)) - Turn off problematic rules in recommended config (prepare for next eslint-config-prettier version) ([#360](prettier/eslint-plugin-prettier#360)) ([a1e5591](prettier/eslint-plugin-prettier@a1e5591)) - Create dependabot.yml ([f58b6c7](prettier/eslint-plugin-prettier@f58b6c7)) - docs(README): fix prettier getFileInfo link ([#335](prettier/eslint-plugin-prettier#335)) ([5a690f1](prettier/eslint-plugin-prettier@5a690f1)) - build(deps-dev): bump eslint-plugin-eslint-plugin from 2.2.2 to 2.3.0 ([8614c45](prettier/eslint-plugin-prettier@8614c45)) - build(deps-dev): bump eslint from 7.3.0 to 7.3.1 ([12d9ed8](prettier/eslint-plugin-prettier@12d9ed8)) - build(deps-dev): bump eslint from 7.2.0 to 7.3.0 ([5a6f42e](prettier/eslint-plugin-prettier@5a6f42e)) - chore: update CI badge in readme ([5012b66](prettier/eslint-plugin-prettier@5012b66)) - Use Github Actions for CI ([#305](prettier/eslint-plugin-prettier#305)) ([41eb64f](prettier/eslint-plugin-prettier@41eb64f)) #### v3.1.4 (2020-06-14) - Avoid clearing Prettier cache when not using prettierrc ([#303](prettier/eslint-plugin-prettier#303)) ([3c8e2d9](prettier/eslint-plugin-prettier@3c8e2d9)) - build(deps-dev): bump eslint-plugin-eslint-plugin from 2.2.1 to 2.2.2 ([93f7c8b](prettier/eslint-plugin-prettier@93f7c8b)) - build(deps-dev): bump eslint from 7.1.0 to 7.2.0 ([650ac7a](prettier/eslint-plugin-prettier@650ac7a)) - build(deps-dev): bump eslint-plugin-self from 1.2.0 to 1.2.1 ([6449ec1](prettier/eslint-plugin-prettier@6449ec1)) - build(deps-dev): bump eslint from 7.0.0 to 7.1.0 ([fd30022](prettier/eslint-plugin-prettier@fd30022)) - Chore: Add CI tests for ESLint 7 ([#291](prettier/eslint-plugin-prettier#291)) ([cc2979b](prettier/eslint-plugin-prettier@cc2979b)) - build(deps-dev): bump eslint-config-prettier from 6.10.1 to 6.11.0 ([35a7ee6](prettier/eslint-plugin-prettier@35a7ee6)) #### v3.1.3 (2020-04-13) - Fix: Set `meta.type` to "layout" ([#283](prettier/eslint-plugin-prettier#283)) ([97152e2](prettier/eslint-plugin-prettier@97152e2)) - build(deps-dev): bump eslint-config-prettier from 6.10.0 to 6.10.1 ([185b106](prettier/eslint-plugin-prettier@185b106)) - build(deps): \[security] bump acorn from 6.1.0 to 6.4.1 ([bba5881](prettier/eslint-plugin-prettier@bba5881)) - build(deps-dev): bump eslint-config-prettier from 6.9.0 to 6.10.0 ([9a47a6f](prettier/eslint-plugin-prettier@9a47a6f)) - build(deps-dev): bump eslint-plugin-eslint-plugin from 2.2.0 to 2.2.1 ([aad671d](prettier/eslint-plugin-prettier@aad671d)) - build(deps-dev): bump eslint-plugin-eslint-plugin from 2.1.0 to 2.2.0 ([e2458c2](prettier/eslint-plugin-prettier@e2458c2)) - build(deps-dev): bump eslint-config-prettier from 6.8.0 to 6.9.0 ([05ef06f](prettier/eslint-plugin-prettier@05ef06f)) - build(deps-dev): bump eslint-config-prettier from 6.7.0 to 6.8.0 ([ab80b3c](prettier/eslint-plugin-prettier@ab80b3c)) - build(deps-dev): bump eslint from 6.7.2 to 6.8.0 ([dea1b30](prettier/eslint-plugin-prettier@dea1b30)) #### v3.1.2 (2019-12-15) - Resolve config when getting list of inferred parsers ([1ad45be](prettier/eslint-plugin-prettier@1ad45be)) - Fix tests now they to stop them inheriting from base prettierrc file ([14840fa](prettier/eslint-plugin-prettier@14840fa)) - Move prettier config into dedicated file, so vscode plugins pick it up ([c49334a](prettier/eslint-plugin-prettier@c49334a)) - build(deps-dev): bump eslint from 6.7.1 to 6.7.2 ([15e6cf9](prettier/eslint-plugin-prettier@15e6cf9)) - build(deps-dev): bump eslint from 6.6.0 to 6.7.1 ([e8ad019](prettier/eslint-plugin-prettier@e8ad019)) - build(deps-dev): bump eslint-config-prettier from 6.6.0 to 6.7.0 ([44f4bfe](prettier/eslint-plugin-prettier@44f4bfe)) - build(deps-dev): bump eslint-config-prettier from 6.5.0 to 6.6.0 ([46580c5](prettier/eslint-plugin-prettier@46580c5)) - build(deps-dev): bump prettier from 1.18.2 to 1.19.1 ([10b4676](prettier/eslint-plugin-prettier@10b4676)) - build(deps-dev): bump eslint from 6.5.1 to 6.6.0 ([53eaeae](prettier/eslint-plugin-prettier@53eaeae)) - build(deps-dev): bump eslint-config-prettier from 6.4.0 to 6.5.0 ([ad3321c](prettier/eslint-plugin-prettier@ad3321c)) - build(deps-dev): bump mocha from 6.2.1 to 6.2.2 ([b7280b6](prettier/eslint-plugin-prettier@b7280b6)) - build(deps-dev): bump eslint-config-prettier from 6.3.0 to 6.4.0 ([4c1d69a](prettier/eslint-plugin-prettier@4c1d69a)) - build(deps-dev): bump eslint from 6.5.0 to 6.5.1 ([c109a7a](prettier/eslint-plugin-prettier@c109a7a)) - build(deps-dev): bump mocha from 6.2.0 to 6.2.1 ([3134bea](prettier/eslint-plugin-prettier@3134bea)) - build(deps-dev): bump eslint from 6.4.0 to 6.5.0 ([7c290d7](prettier/eslint-plugin-prettier@7c290d7)) #### v3.1.1 (2019-09-18) - build(deps-dev): bump eslint from 6.3.0 to 6.4.0 ([8a793eb](prettier/eslint-plugin-prettier@8a793eb)) - build(deps-dev): bump eslint-config-prettier from 6.2.0 to 6.3.0 ([88c3f6c](prettier/eslint-plugin-prettier@88c3f6c)) - build(deps-dev): bump eslint-config-prettier from 6.0.0 to 6.2.0 ([5f9fbc1](prettier/eslint-plugin-prettier@5f9fbc1)) - build(deps-dev): bump eslint from 6.2.2 to 6.3.0 ([746b66d](prettier/eslint-plugin-prettier@746b66d)) - build(deps-dev): bump eslint from 6.1.0 to 6.2.2 ([97eedb4](prettier/eslint-plugin-prettier@97eedb4)) - build(deps-dev): bump eslint from 6.0.1 to 6.1.0 ([afef9d1](prettier/eslint-plugin-prettier@afef9d1)) - build(deps-dev): bump mocha from 6.1.4 to 6.2.0 ([0360a84](prettier/eslint-plugin-prettier@0360a84)) - build(deps): \[security] bump lodash from 4.17.11 to 4.17.14 ([9eceb68](prettier/eslint-plugin-prettier@9eceb68)) - Fix: When forcing the JS parser, use the modern name ([#212](prettier/eslint-plugin-prettier#212)) ([1385310](prettier/eslint-plugin-prettier@1385310)) - Add eslint 6 to test matrix ([#210](prettier/eslint-plugin-prettier#210)) ([bca77e6](prettier/eslint-plugin-prettier@bca77e6)) - build(deps-dev): bump eslint-config-prettier from 5.0.0 to 6.0.0 ([4c069bd](prettier/eslint-plugin-prettier@4c069bd)) - build(deps-dev): bump eslint-config-prettier from 4.3.0 to 5.0.0 ([60bb22f](prettier/eslint-plugin-prettier@60bb22f)) - build(deps-dev): bump prettier from 1.18.0 to 1.18.2 ([a183560](prettier/eslint-plugin-prettier@a183560)) - build(deps-dev): bump prettier from 1.17.1 to 1.18.0 ([0cad479](prettier/eslint-plugin-prettier@0cad479)) - build(deps-dev): bump eslint-config-prettier from 4.2.0 to 4.3.0 ([6f3c76f](prettier/eslint-plugin-prettier@6f3c76f)) - build(deps-dev): bump prettier from 1.17.0 to 1.17.1 ([03aecfd](prettier/eslint-plugin-prettier@03aecfd)) #### v3.1.0 (2019-05-11) - New: Allow options to be passed to prettier.getFileInfo ([#187](prettier/eslint-plugin-prettier#187)) ([21fa69a](prettier/eslint-plugin-prettier@21fa69a)) - build(deps-dev): bump eslint-plugin-eslint-plugin from 2.0.1 to 2.1.0 ([bb597e1](prettier/eslint-plugin-prettier@bb597e1)) - build(deps-dev): bump eslint-config-prettier from 4.1.0 to 4.2.0 ([0bb7c1d](prettier/eslint-plugin-prettier@0bb7c1d)) - build(deps-dev): bump vue-eslint-parser from 6.0.3 to 6.0.4 ([2f77df4](prettier/eslint-plugin-prettier@2f77df4)) - build(deps-dev): bump mocha from 6.1.3 to 6.1.4 ([222b87a](prettier/eslint-plugin-prettier@222b87a)) - build(deps-dev): bump prettier from 1.16.4 to 1.17.0 ([58d8ff8](prettier/eslint-plugin-prettier@58d8ff8)) - build(deps-dev): bump mocha from 6.1.2 to 6.1.3 ([e94e56c](prettier/eslint-plugin-prettier@e94e56c)) - build(deps-dev): bump mocha from 6.1.1 to 6.1.2 ([c02244b](prettier/eslint-plugin-prettier@c02244b)) - build(deps-dev): bump mocha from 6.0.2 to 6.1.1 ([a9a2e4e](prettier/eslint-plugin-prettier@a9a2e4e)) - build(deps-dev): bump eslint from 5.15.3 to 5.16.0 ([073c14c](prettier/eslint-plugin-prettier@073c14c)) - build(deps-dev): bump eslint from 5.15.2 to 5.15.3 ([bda931f](prettier/eslint-plugin-prettier@bda931f)) - build(deps-dev): bump eslint from 5.15.1 to 5.15.2 ([19f53d6](prettier/eslint-plugin-prettier@19f53d6)) - build(deps-dev): bump eslint from 5.15.0 to 5.15.1 ([34b39de](prettier/eslint-plugin-prettier@34b39de)) - build(deps-dev): bump eslint from 5.14.1 to 5.15.0 ([13bcc66](prettier/eslint-plugin-prettier@13bcc66)) - build(deps-dev): bump eslint-plugin-self from 1.1.0 to 1.2.0 ([5b4adb8](prettier/eslint-plugin-prettier@5b4adb8)) - build(deps-dev): bump vue-eslint-parser from 6.0.2 to 6.0.3 ([e676cd1](prettier/eslint-plugin-prettier@e676cd1)) - build(deps-dev): bump eslint-config-prettier from 4.0.0 to 4.1.0 ([b8a9215](prettier/eslint-plugin-prettier@b8a9215)) - build(deps-dev): bump mocha from 6.0.1 to 6.0.2 ([cde36e4](prettier/eslint-plugin-prettier@cde36e4)) - build(deps-dev): bump mocha from 6.0.0 to 6.0.1 ([eb39699](prettier/eslint-plugin-prettier@eb39699)) - build(deps-dev): bump mocha from 5.2.0 to 6.0.0 ([5d75421](prettier/eslint-plugin-prettier@5d75421)) - build(deps-dev): bump eslint from 5.14.0 to 5.14.1 ([829156e](prettier/eslint-plugin-prettier@829156e)) - build(deps-dev): bump eslint from 5.13.0 to 5.14.0 ([b76d0b4](prettier/eslint-plugin-prettier@b76d0b4)) - build(deps-dev): bump vue-eslint-parser from 6.0.0 to 6.0.2 ([15439e8](prettier/eslint-plugin-prettier@15439e8)) - build(deps-dev): bump vue-eslint-parser from 5.0.0 to 6.0.0 ([0ea70e5](prettier/eslint-plugin-prettier@0ea70e5)) - build(deps-dev): bump eslint from 5.12.1 to 5.13.0 ([5f18729](prettier/eslint-plugin-prettier@5f18729)) - build(deps-dev): bump prettier from 1.16.3 to 1.16.4 ([ef637fe](prettier/eslint-plugin-prettier@ef637fe)) - build(deps-dev): bump prettier from 1.16.1 to 1.16.3 ([58ab20c](prettier/eslint-plugin-prettier@58ab20c)) - build(deps-dev): bump eslint-config-prettier from 3.6.0 to 4.0.0 ([14393bd](prettier/eslint-plugin-prettier@14393bd)) - build(deps-dev): bump prettier from 1.16.0 to 1.16.1 ([00198b9](prettier/eslint-plugin-prettier@00198b9)) - build(deps-dev): bump prettier from 1.15.3 to 1.16.0 ([7890a87](prettier/eslint-plugin-prettier@7890a87)) - build(deps-dev): bump eslint from 5.12.0 to 5.12.1 ([92a8984](prettier/eslint-plugin-prettier@92a8984)) - build(deps-dev): bump eslint-config-prettier from 3.5.0 to 3.6.0 ([5292d12](prettier/eslint-plugin-prettier@5292d12)) - build(deps-dev): bump eslint-config-prettier from 3.4.0 to 3.5.0 ([44a2558](prettier/eslint-plugin-prettier@44a2558)) - build(deps-dev): bump eslint-config-prettier from 3.3.0 to 3.4.0 ([425cfce](prettier/eslint-plugin-prettier@425cfce)) - build(deps-dev): bump eslint from 5.11.1 to 5.12.0 ([3e9aa39](prettier/eslint-plugin-prettier@3e9aa39)) - build(deps-dev): bump eslint-plugin-node from 8.0.0 to 8.0.1 ([e913afd](prettier/eslint-plugin-prettier@e913afd)) - build(deps-dev): bump vue-eslint-parser from 4.0.3 to 5.0.0 ([ecfd5ba](prettier/eslint-plugin-prettier@ecfd5ba)) #### v3.0.1 (2018-12-28) - Catch and format SyntaxErrors as eslint violations ([#141](prettier/eslint-plugin-prettier#141)) ([4a0e57d](prettier/eslint-plugin-prettier@4a0e57d)) - build(deps-dev): bump eslint from 5.11.0 to 5.11.1 ([d34daed](prettier/eslint-plugin-prettier@d34daed)) - build(deps-dev): bump eslint from 5.10.0 to 5.11.0 ([7f4f45d](prettier/eslint-plugin-prettier@7f4f45d)) - build(deps-dev): bump eslint-plugin-eslint-plugin from 2.0.0 to 2.0.1 ([5be3bcf](prettier/eslint-plugin-prettier@5be3bcf)) - build(deps-dev): bump eslint from 5.9.0 to 5.10.0 ([11e7c44](prettier/eslint-plugin-prettier@11e7c44)) - build(deps-dev): bump eslint-plugin-eslint-plugin from 1.4.1 to 2.0.0 ([9e5bf14](prettier/eslint-plugin-prettier@9e5bf14)) - build(deps-dev): bump vue-eslint-parser from 4.0.2 to 4.0.3 ([234583a](prettier/eslint-plugin-prettier@234583a)) - build(deps-dev): bump vue-eslint-parser from 3.3.0 to 4.0.2 ([8675d57](prettier/eslint-plugin-prettier@8675d57)) - Upgrade: Bump vue-eslint-parser from 3.2.2 to 3.3.0 ([2379e93](prettier/eslint-plugin-prettier@2379e93)) - Upgrade: Bump eslint-config-prettier from 3.1.0 to 3.3.0 ([3ea0021](prettier/eslint-plugin-prettier@3ea0021)) - Upgrade: Bump eslint from 5.8.0 to 5.9.0 ([c774fb8](prettier/eslint-plugin-prettier@c774fb8)) - build(deps-dev): bump eslint-plugin-node from 7.0.1 to 8.0.0 ([#121](prettier/eslint-plugin-prettier#121)) ([2a4fba0](prettier/eslint-plugin-prettier@2a4fba0)) - build(deps-dev): bump eslint-plugin-eslint-plugin from 1.4.0 to 1.4.1 ([#120](prettier/eslint-plugin-prettier#120)) ([29caa29](prettier/eslint-plugin-prettier@29caa29)) - build(deps-dev): bump eslint from 5.6.0 to 5.8.0 ([#119](prettier/eslint-plugin-prettier#119)) ([2836350](prettier/eslint-plugin-prettier@2836350)) #### v3.0.0 (2018-10-01) - Chore: Add eslint peer-dependency ([d55d79c](prettier/eslint-plugin-prettier@d55d79c)) - Breaking: Extract showInvisibles and generateDifferences ([bf7c40c](prettier/eslint-plugin-prettier@bf7c40c)) - Breaking: Defining prettier options must use an object ([478c7e5](prettier/eslint-plugin-prettier@478c7e5)) - Breaking: Drop support for ESLint v3 and v4 ([2326231](prettier/eslint-plugin-prettier@2326231)) - Chore: Update dependencies ([1ec94c8](prettier/eslint-plugin-prettier@1ec94c8)) - Chore: remove two unused dependencies ([bfe459c](prettier/eslint-plugin-prettier@bfe459c)) - Chore: Rename test files to keep them sequential ([d38ea52](prettier/eslint-plugin-prettier@d38ea52)) - Breaking: Remove pragma support ([3af422c](prettier/eslint-plugin-prettier@3af422c)) - Breaking: Update minimum required pretter version to 1.13.0 ([29c0506](prettier/eslint-plugin-prettier@29c0506)) - Breaking: Drop support for node v4, v7 and v9 ([be460bd](prettier/eslint-plugin-prettier@be460bd)) - Chore: Add vscode config to autoformat on save ([9fac6b4](prettier/eslint-plugin-prettier@9fac6b4)) - Chore: Improve travis matrix ([46d2444](prettier/eslint-plugin-prettier@46d2444)) - Chore: Add format script to run prettier ([d46aa6d](prettier/eslint-plugin-prettier@d46aa6d)) #### v2.7.0 (2018-09-26) - Update: Support prettierignore and custom processors ([#111](prettier/eslint-plugin-prettier#111)) ([38537ba](prettier/eslint-plugin-prettier@38537ba)) - Build: switch to release script package ([047dc8f](prettier/eslint-plugin-prettier@047dc8f)) #### v2.6.2 (2018-07-06) - Fix: Add representation for \r to showInvisibles ([#100](prettier/eslint-plugin-prettier#100)) ([731bbb5](prettier/eslint-plugin-prettier@731bbb5)) - Docs: Add clarification about Flow/React support to readme ([#96](prettier/eslint-plugin-prettier#96)) ([977aa77](prettier/eslint-plugin-prettier@977aa77)) #### v2.6.1 (2018-06-23) - Fix: respect editorconfig ([#92](prettier/eslint-plugin-prettier#92)) ([0b04dd3](prettier/eslint-plugin-prettier@0b04dd3)) #### v2.6.0 (2018-02-02) - Update: Add option to skip loading prettierrc ([#83](prettier/eslint-plugin-prettier#83)) ([9e0fb48](prettier/eslint-plugin-prettier@9e0fb48)) - Build: add Node 8 and 9 to Travis ([e5b5fa7](prettier/eslint-plugin-prettier@e5b5fa7)) - Chore: add test for vue parsing ([1ab43fd](prettier/eslint-plugin-prettier@1ab43fd)) #### v2.5.0 (2018-01-16) - Fix: pass filepath to prettier ([#76](prettier/eslint-plugin-prettier#76)) ([0b6ab55](prettier/eslint-plugin-prettier@0b6ab55)) - Update: Add URL to rule documentation to the metadata ([#75](prettier/eslint-plugin-prettier#75)) ([804ead7](prettier/eslint-plugin-prettier@804ead7)) #### v2.4.0 (2017-12-17) - New: Add 'recommended' configuration ([#73](prettier/eslint-plugin-prettier#73)) ([e529b60](prettier/eslint-plugin-prettier@e529b60)) - Docs: Create ISSUE\_TEMPLATE.md ([4335b08](prettier/eslint-plugin-prettier@4335b08)) #### v2.3.1 (2017-09-18) - Fix: Guard against older prettier installation ([#56](prettier/eslint-plugin-prettier#56)) ([8a115f9](prettier/eslint-plugin-prettier@8a115f9)) #### v2.3.0 (2017-09-18) - Update: Support .prettierrc config files (fixes [#46](prettier/eslint-plugin-prettier#46)) ([#55](prettier/eslint-plugin-prettier#55)) ([bc89153](prettier/eslint-plugin-prettier@bc89153)) - Docs: .eslintrc.json > .eslintrc ([#52](prettier/eslint-plugin-prettier#52)) ([95f0808](prettier/eslint-plugin-prettier@95f0808)) - Upgrade: jest-docblock to ^21.0.0 ([#50](prettier/eslint-plugin-prettier#50)) ([c777111](prettier/eslint-plugin-prettier@c777111)) - Chore: upgrade prettier to ^1.6.1 ([#49](prettier/eslint-plugin-prettier#49)) ([56deffa](prettier/eslint-plugin-prettier@56deffa)) - Chore: use eslint-plugin-self for linting ([#47](prettier/eslint-plugin-prettier#47)) ([5ea0526](prettier/eslint-plugin-prettier@5ea0526)) #### v2.2.0 (2017-08-16) - New: expose reporter api (fixes [#39](prettier/eslint-plugin-prettier#39)) ([#41](prettier/eslint-plugin-prettier#41)) ([1666067](prettier/eslint-plugin-prettier@1666067)) #### v2.1.2 (2017-06-14) - Chore: Relax peerDependencies ([#30](prettier/eslint-plugin-prettier#30)) ([a19b8af](prettier/eslint-plugin-prettier@a19b8af)) - Chore: Add release script ([#25](prettier/eslint-plugin-prettier#25)) ([8fbfe73](prettier/eslint-plugin-prettier@8fbfe73)) #### v2.1.1 (2017-05-19) - Fix: Support ESLint <3.11.0 ([#24](prettier/eslint-plugin-prettier#24)) ([fde7fdf](prettier/eslint-plugin-prettier@fde7fdf)) - Chore: add yarn.lock ([#23](prettier/eslint-plugin-prettier#23)) ([8b55518](prettier/eslint-plugin-prettier@8b55518)) - Docs: fix links in changelog ([#22](prettier/eslint-plugin-prettier#22)) ([7e70e11](prettier/eslint-plugin-prettier@7e70e11)) #### v2.1.0 (2017-05-16) - Merge with eslint-plugin-prettify ([#21](prettier/eslint-plugin-prettier#21)) ([6de494f](prettier/eslint-plugin-prettier@6de494f)) - Docs: update repo links to new URL ([#18](prettier/eslint-plugin-prettier#18)) ([6b69492](prettier/eslint-plugin-prettier@6b69492)) - Chore: Upgrade development dependencies ([#16](prettier/eslint-plugin-prettier#16)) ([12984ea](prettier/eslint-plugin-prettier@12984ea)) - Docs: fix outdated info about prettier's semicolon support ([da6aad1](prettier/eslint-plugin-prettier@da6aad1)) - Docs: update prettier options in example ([#14](prettier/eslint-plugin-prettier#14)) ([0ae173f](prettier/eslint-plugin-prettier@0ae173f)) - Docs: Change the order of dependencies install ([#13](prettier/eslint-plugin-prettier#13)) ([cbf803c](prettier/eslint-plugin-prettier@cbf803c)) - Docs: Add CONTRIBUTING.md (fixes [#9](prettier/eslint-plugin-prettier#9)) ([40fe55b](prettier/eslint-plugin-prettier@40fe55b)) #### v2.0.1 (2017-02-26) - Docs: add travis badge to README.md ([1daa495](prettier/eslint-plugin-prettier@1daa495)) - Upgrade: prettier to 0.18.0 ([1700e41](prettier/eslint-plugin-prettier@1700e41)) - Chore: use eslint-config-prettier ([c979b84](prettier/eslint-plugin-prettier@c979b84)) - Fix: avoid relying on an internal eslint function ([5296930](prettier/eslint-plugin-prettier@5296930)) - Docs: mention eslint-config-prettier in README.md ([3fd855d](prettier/eslint-plugin-prettier@3fd855d)) - Chore: pin the version of prettier used to lint this module (refs [#1](prettier/eslint-plugin-prettier#1)) ([db85633](prettier/eslint-plugin-prettier@db85633)) #### v2.0.0 (2017-01-28) - Docs: create changelog ([d388095](prettier/eslint-plugin-prettier@d388095)) - Docs: add 2.0.0 migration guide ([db508d7](prettier/eslint-plugin-prettier@db508d7)) - Breaking: Make prettier a peerDependency ([#1](prettier/eslint-plugin-prettier#1)) ([d8a8992](prettier/eslint-plugin-prettier@d8a8992)) - Docs: add repo url to package.json ([2474bc9](prettier/eslint-plugin-prettier@2474bc9)) - Docs: suggest prettier-eslint if eslint rules disagree with prettier ([3414437](prettier/eslint-plugin-prettier@3414437)) ## [v5.5.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#551) ##### Patch Changes - [#748](prettier/eslint-plugin-prettier#748) [`bfd1e95`](prettier/eslint-plugin-prettier@bfd1e95) Thanks [@JounQin](https://github.com/JounQin)! - fix: use `prettierRcOptions` directly for prettier 3.6+ ## [v5.5.0](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#550) ##### Minor Changes - [#743](prettier/eslint-plugin-prettier#743) [`92f2c9c`](prettier/eslint-plugin-prettier@92f2c9c) Thanks [@dotcarmen](https://github.com/dotcarmen)! - feat: support non-js languages like `css` for `@eslint/css` and `json` for `@eslint/json` ## [v5.4.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#541) ##### Patch Changes - [#740](prettier/eslint-plugin-prettier#740) [`c21521f`](prettier/eslint-plugin-prettier@c21521f) Thanks [@JounQin](https://github.com/JounQin)! - fix(deps): bump `synckit` to v0.11.7 to fix potential `TypeError: Cannot read properties of undefined (reading 'message')` error
| datasource | package | from | to | | ---------- | ---------------------- | ----- | ----- | | npm | eslint-plugin-prettier | 5.4.0 | 5.5.4 | ## [v5.5.4](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#554) ##### Patch Changes - [#755](prettier/eslint-plugin-prettier#755) [`723f7a8`](prettier/eslint-plugin-prettier@723f7a8) Thanks [@kbrilla](https://github.com/kbrilla)! - fix: add 'oxc', 'oxc-ts' and 'hermes' parsers to `parserBlocklist` - [#751](prettier/eslint-plugin-prettier#751) [`cf52b30`](prettier/eslint-plugin-prettier@cf52b30) Thanks [@andreww2012](https://github.com/andreww2012)! - fix: disallow extra properties in rule options ## [v5.5.3](https://github.com/prettier/eslint-plugin-prettier/releases/tag/v5.5.3) republish the latest version **Full Changelog**: prettier/eslint-plugin-prettier@v5.5.2...v5.5.3 ## [v5.5.2](https://github.com/prettier/eslint-plugin-prettier/releases/tag/v5.5.2) ### Changelog #### 5.5.1 ##### Patch Changes - [#748](prettier/eslint-plugin-prettier#748) [`bfd1e95`](prettier/eslint-plugin-prettier@bfd1e95) Thanks [@JounQin](https://github.com/JounQin)! - fix: use `prettierRcOptions` directly for prettier 3.6+ #### 5.5.0 ##### Minor Changes - [#743](prettier/eslint-plugin-prettier#743) [`92f2c9c`](prettier/eslint-plugin-prettier@92f2c9c) Thanks [@dotcarmen](https://github.com/dotcarmen)! - feat: support non-js languages like `css` for `@eslint/css` and `json` for `@eslint/json` #### 5.4.1 ##### Patch Changes - [#740](prettier/eslint-plugin-prettier#740) [`c21521f`](prettier/eslint-plugin-prettier@c21521f) Thanks [@JounQin](https://github.com/JounQin)! - fix(deps): bump `synckit` to v0.11.7 to fix potential `TypeError: Cannot read properties of undefined (reading 'message')` error #### 5.4.0 ##### Minor Changes - [#736](prettier/eslint-plugin-prettier#736) [`59a0cae`](prettier/eslint-plugin-prettier@59a0cae) Thanks [@yashtech00](https://github.com/yashtech00)! - refactor: migrate `worker.js` to `worker.mjs` #### 5.3.1 ##### Patch Changes - [#734](prettier/eslint-plugin-prettier#734) [`dcf2c80`](prettier/eslint-plugin-prettier@dcf2c80) Thanks [@JounQin](https://github.com/JounQin)! - ci: enable `NPM_CONFIG_PROVENANCE` env #### 5.3.0 ##### Minor Changes - [#674](prettier/eslint-plugin-prettier#674) [`6fe0c90`](prettier/eslint-plugin-prettier@6fe0c90) Thanks [@irsooti](https://github.com/irsooti)! - feat(types): prefer `Config` over `FlatConfig` when they're equal #### 5.2.6 ##### Patch Changes - [#723](prettier/eslint-plugin-prettier#723) [`1451176`](prettier/eslint-plugin-prettier@1451176) Thanks [@renovate](https://github.com/apps/renovate)! - fix(deps): bump `synckit` to `v0.11.0` #### 5.2.5 ##### Patch Changes - [#721](prettier/eslint-plugin-prettier#721) [`4f5513d`](prettier/eslint-plugin-prettier@4f5513d) Thanks [@JounQin](https://github.com/JounQin)! - fix: clarify correct `eslint-config-prettier` peer range #### 5.2.4 ##### Patch Changes - [#715](prettier/eslint-plugin-prettier#715) [`b8cfe56`](prettier/eslint-plugin-prettier@b8cfe56) Thanks [@JounQin](https://github.com/JounQin)! - chore: hourcekeeping, bump all (dev) deps #### 5.2.3 ##### Patch Changes - [#703](prettier/eslint-plugin-prettier#703) [`9c6141f`](prettier/eslint-plugin-prettier@9c6141f) Thanks [@BPScott](https://github.com/BPScott)! - Add name field to recommended flat config #### 5.2.2 ##### Patch Changes - [#700](prettier/eslint-plugin-prettier#700) [`aa5b59f`](prettier/eslint-plugin-prettier@aa5b59f) Thanks [@ntnyq](https://github.com/ntnyq)! - fix: report node when loc not found #### 5.2.1 ##### Patch Changes - [#668](prettier/eslint-plugin-prettier#668) [`ac036cc`](prettier/eslint-plugin-prettier@ac036cc) Thanks [@OrlovAlexei](https://github.com/OrlovAlexei)! - build(deps): Bump synckit from 0.8.6 to 0.9.1 #### 5.2.0 ##### Minor Changes - [#652](prettier/eslint-plugin-prettier#652) [`f170011`](prettier/eslint-plugin-prettier@f170011) Thanks [@Logicer16](https://github.com/Logicer16)! - feat: support parsing `html` via `@html-eslint/parser` natively #### 5.1.3 ##### Patch Changes - [#629](prettier/eslint-plugin-prettier#629) [`985b33c`](prettier/eslint-plugin-prettier@985b33c) Thanks [@JounQin](https://github.com/JounQin)! - chore: add `package.json` into `exports` map #### 5.1.2 ##### Patch Changes - [#623](prettier/eslint-plugin-prettier#623) [`8210e44`](prettier/eslint-plugin-prettier@8210e44) Thanks [@BPScott](https://github.com/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](prettier/eslint-plugin-prettier#621) [`2b09e7f`](prettier/eslint-plugin-prettier@2b09e7f) Thanks [@JounQin](https://github.com/JounQin)! - feat: support parsing `markdown` via `eslint-mdx` natively What means the following is unnecessary anymore when using with `eslint-mdx`/`eslint-plugin-mdx`! ```json5 [ { files: ["**/*.md"], rules: { "prettier/prettier": ["error", { parser: "markdown" }] }, }, { files: ["**/*.mdx"], rules: { "prettier/prettier": ["error", { parser: "mdx" }] }, }, ] ``` #### 5.1.1 ##### Patch Changes - [#619](prettier/eslint-plugin-prettier#619) [`b5c0dc5`](prettier/eslint-plugin-prettier@b5c0dc5) Thanks [@JounQin](https://github.com/JounQin)! - chore: skip formatting inline scripts in pug files #### 5.1.0 ##### Minor Changes - [#616](prettier/eslint-plugin-prettier#616) [`3856413`](prettier/eslint-plugin-prettier@3856413) Thanks [@BPScott](https://github.com/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`. ```js // eslint.config.js const eslintPluginPrettierRecommended = require("eslint-plugin-prettier/recommended"); module.exports = [ // Any other config imports go at the top eslintPluginPrettierRecommended, ]; ``` ##### Patch Changes - [#614](prettier/eslint-plugin-prettier#614) [`5270877`](prettier/eslint-plugin-prettier@5270877) Thanks [@BPScott](https://github.com/BPScott)! - Add meta block to plugin. This improves debugging and cachebusting when using the new flat config - [#603](prettier/eslint-plugin-prettier#603) [`a63a570`](prettier/eslint-plugin-prettier@a63a570) Thanks [@filiptammergard](https://github.com/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 - [#588](prettier/eslint-plugin-prettier#588) [`21a7146`](prettier/eslint-plugin-prettier@21a7146) Thanks [@krist7599555](https://github.com/krist7599555)! - fix: `parserPath` type might be `undefined` on Eslint Falt Config #### 5.0.0 ##### Major Changes - [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat!: bump peer eslint to ">=8.0.0" and node to "^14.18.0 || >=16.0.0" - [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat!: upgrade to prettier v3 ##### Minor Changes - [#508](prettier/eslint-plugin-prettier#508) [`910aeb6`](prettier/eslint-plugin-prettier@910aeb6) Thanks [@JounQin](https://github.com/JounQin)! - feat: add typings support ##### Patch Changes - [#548](prettier/eslint-plugin-prettier#548) [`82a3db8`](prettier/eslint-plugin-prettier@82a3db8) Thanks [@fisker](https://github.com/fisker)! - fix: add missing dependency `synckit` - [#564](prettier/eslint-plugin-prettier#564) [`ae7a73c`](prettier/eslint-plugin-prettier@ae7a73c) Thanks [@auvred](https://github.com/auvred)! - fix: compatibility with prettier@3 without plugins #### 4.2.2 ##### Patch Changes - [`2373d0c`](prettier/eslint-plugin-prettier@2373d0c) Thanks [@JounQin](https://github.com/JounQin)! - docs: add Sponsors and Backers sections #### 4.2.1 ##### Patch Changes - [#485](prettier/eslint-plugin-prettier#485) [`5736ed5`](prettier/eslint-plugin-prettier@5736ed5) Thanks [@JounQin](https://github.com/JounQin)! - chore: reuse prettierRcOptions instead of resolveConfig again #### 4.2.0 ##### Minor Changes - [#483](prettier/eslint-plugin-prettier#483) [`7bd70b6`](prettier/eslint-plugin-prettier@7bd70b6) Thanks [@JounQin](https://github.com/JounQin)! - feat: support svelte out of box close [#472](prettier/eslint-plugin-prettier#472), close [#482](prettier/eslint-plugin-prettier#482) We recommend to use [`eslint-plugin-svelte`](https://github.com/ota-meshi/eslint-plugin-svelte) instead of [`eslint-plugin-svelte3`](https://github.com/sveltejs/eslint-plugin-svelte3). #### v4.1.0 (2022-06-27) - feat: skip processing code blocks on specific languages like `stylelint-prettier` ([#415](prettier/eslint-plugin-prettier#415)) ([52eec48](prettier/eslint-plugin-prettier@52eec48)) - build(deps): Bump minimist from 1.2.5 to 1.2.6 ([#464](prettier/eslint-plugin-prettier#464)) ([42bfe88](prettier/eslint-plugin-prettier@42bfe88)) - build(deps-dev): Bump graphql from 15.5.1 to 15.7.2 ([#442](prettier/eslint-plugin-prettier#442)) ([0158640](prettier/eslint-plugin-prettier@0158640)) - build(deps-dev): Bump [@graphql-eslint/eslint-plugin](https://github.com/graphql-eslint/eslint-plugin) from 2.3.0 to 2.4.0 ([#444](prettier/eslint-plugin-prettier#444)) ([4bcaca2](prettier/eslint-plugin-prettier@4bcaca2)) - chore(CI): add tests for ESLint 8 ([#428](prettier/eslint-plugin-prettier#428)) ([f3713be](prettier/eslint-plugin-prettier@f3713be)) - README.md: HTTP => HTTPS ([#443](prettier/eslint-plugin-prettier#443)) ([44e1478](prettier/eslint-plugin-prettier@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](prettier/eslint-plugin-prettier#429)) ([acb56f3](prettier/eslint-plugin-prettier@acb56f3)) #### v3.4.1 (2021-08-20) - build(deps): Bump glob-parent from 5.0.0 to 5.1.2 ([#420](prettier/eslint-plugin-prettier#420)) ([b6d075c](prettier/eslint-plugin-prettier@b6d075c)) - build(deps): Bump path-parse from 1.0.6 to 1.0.7 ([#425](prettier/eslint-plugin-prettier#425)) ([24f957e](prettier/eslint-plugin-prettier@24f957e)) - feat: support `@graphql-eslint/eslint-plugin` out of box ([#413](prettier/eslint-plugin-prettier#413)) ([ec6fbb1](prettier/eslint-plugin-prettier@ec6fbb1)) - chore: add tests for Node 16 ([#410](prettier/eslint-plugin-prettier#410)) ([76bd45e](prettier/eslint-plugin-prettier@76bd45e)) #### v3.4.0 (2021-04-15) - feat: support processor virtual filename ([#401](prettier/eslint-plugin-prettier#401)) ([ee0ccc6](prettier/eslint-plugin-prettier@ee0ccc6)) - Simplify report logic ([#380](prettier/eslint-plugin-prettier#380)) ([d993f24](prettier/eslint-plugin-prettier@d993f24)) - Update: README.md ([#375](prettier/eslint-plugin-prettier#375)) ([3ea4242](prettier/eslint-plugin-prettier@3ea4242)) #### v3.3.1 (2021-01-04) - fix: add eslint-config-prettier as an optional peer dependency ([#374](prettier/eslint-plugin-prettier#374)) ([d59df27](prettier/eslint-plugin-prettier@d59df27)) - build(deps-dev): bump eslint from 7.16.0 to 7.17.0 ([b87985d](prettier/eslint-plugin-prettier@b87985d)) - build(deps-dev): bump eslint from 7.15.0 to 7.16.0 ([11e427e](prettier/eslint-plugin-prettier@11e427e)) #### v3.3.0 (2020-12-13) - Minor: Perf improvement: Do not clear the config cache on each run ([#368](prettier/eslint-plugin-prettier#368)) ([1b90ea7](prettier/eslint-plugin-prettier@1b90ea7)) - Add peerDependenciesMeta block ([#367](prettier/eslint-plugin-prettier#367)) ([86608d5](prettier/eslint-plugin-prettier@86608d5)) - build(deps-dev): bump eslint from 7.14.0 to 7.15.0 ([885f484](prettier/eslint-plugin-prettier@885f484)) - build(deps-dev): bump eslint from 7.3.1 to 7.14.0 ([cebc80b](prettier/eslint-plugin-prettier@cebc80b)) #### v3.2.0 (2020-12-03) - Skip CI for eslint 6 + node 8 ([#364](prettier/eslint-plugin-prettier#364)) ([f8f08e4](prettier/eslint-plugin-prettier@f8f08e4)) - Turn off problematic rules in recommended config (prepare for next eslint-config-prettier version) ([#360](prettier/eslint-plugin-prettier#360)) ([a1e5591](prettier/eslint-plugin-prettier@a1e5591)) - Create dependabot.yml ([f58b6c7](prettier/eslint-plugin-prettier@f58b6c7)) - docs(README): fix prettier getFileInfo link ([#335](prettier/eslint-plugin-prettier#335)) ([5a690f1](prettier/eslint-plugin-prettier@5a690f1)) - build(deps-dev): bump eslint-plugin-eslint-plugin from 2.2.2 to 2.3.0 ([8614c45](prettier/eslint-plugin-prettier@8614c45)) - build(deps-dev): bump eslint from 7.3.0 to 7.3.1 ([12d9ed8](prettier/eslint-plugin-prettier@12d9ed8)) - build(deps-dev): bump eslint from 7.2.0 to 7.3.0 ([5a6f42e](prettier/eslint-plugin-prettier@5a6f42e)) - chore: update CI badge in readme ([5012b66](prettier/eslint-plugin-prettier@5012b66)) - Use Github Actions for CI ([#305](prettier/eslint-plugin-prettier#305)) ([41eb64f](prettier/eslint-plugin-prettier@41eb64f)) #### v3.1.4 (2020-06-14) - Avoid clearing Prettier cache when not using prettierrc ([#303](prettier/eslint-plugin-prettier#303)) ([3c8e2d9](prettier/eslint-plugin-prettier@3c8e2d9)) - build(deps-dev): bump eslint-plugin-eslint-plugin from 2.2.1 to 2.2.2 ([93f7c8b](prettier/eslint-plugin-prettier@93f7c8b)) - build(deps-dev): bump eslint from 7.1.0 to 7.2.0 ([650ac7a](prettier/eslint-plugin-prettier@650ac7a)) - build(deps-dev): bump eslint-plugin-self from 1.2.0 to 1.2.1 ([6449ec1](prettier/eslint-plugin-prettier@6449ec1)) - build(deps-dev): bump eslint from 7.0.0 to 7.1.0 ([fd30022](prettier/eslint-plugin-prettier@fd30022)) - Chore: Add CI tests for ESLint 7 ([#291](prettier/eslint-plugin-prettier#291)) ([cc2979b](prettier/eslint-plugin-prettier@cc2979b)) - build(deps-dev): bump eslint-config-prettier from 6.10.1 to 6.11.0 ([35a7ee6](prettier/eslint-plugin-prettier@35a7ee6)) #### v3.1.3 (2020-04-13) - Fix: Set `meta.type` to "layout" ([#283](prettier/eslint-plugin-prettier#283)) ([97152e2](prettier/eslint-plugin-prettier@97152e2)) - build(deps-dev): bump eslint-config-prettier from 6.10.0 to 6.10.1 ([185b106](prettier/eslint-plugin-prettier@185b106)) - build(deps): \[security] bump acorn from 6.1.0 to 6.4.1 ([bba5881](prettier/eslint-plugin-prettier@bba5881)) - build(deps-dev): bump eslint-config-prettier from 6.9.0 to 6.10.0 ([9a47a6f](prettier/eslint-plugin-prettier@9a47a6f)) - build(deps-dev): bump eslint-plugin-eslint-plugin from 2.2.0 to 2.2.1 ([aad671d](prettier/eslint-plugin-prettier@aad671d)) - build(deps-dev): bump eslint-plugin-eslint-plugin from 2.1.0 to 2.2.0 ([e2458c2](prettier/eslint-plugin-prettier@e2458c2)) - build(deps-dev): bump eslint-config-prettier from 6.8.0 to 6.9.0 ([05ef06f](prettier/eslint-plugin-prettier@05ef06f)) - build(deps-dev): bump eslint-config-prettier from 6.7.0 to 6.8.0 ([ab80b3c](prettier/eslint-plugin-prettier@ab80b3c)) - build(deps-dev): bump eslint from 6.7.2 to 6.8.0 ([dea1b30](prettier/eslint-plugin-prettier@dea1b30)) #### v3.1.2 (2019-12-15) - Resolve config when getting list of inferred parsers ([1ad45be](prettier/eslint-plugin-prettier@1ad45be)) - Fix tests now they to stop them inheriting from base prettierrc file ([14840fa](prettier/eslint-plugin-prettier@14840fa)) - Move prettier config into dedicated file, so vscode plugins pick it up ([c49334a](prettier/eslint-plugin-prettier@c49334a)) - build(deps-dev): bump eslint from 6.7.1 to 6.7.2 ([15e6cf9](prettier/eslint-plugin-prettier@15e6cf9)) - build(deps-dev): bump eslint from 6.6.0 to 6.7.1 ([e8ad019](prettier/eslint-plugin-prettier@e8ad019)) - build(deps-dev): bump eslint-config-prettier from 6.6.0 to 6.7.0 ([44f4bfe](prettier/eslint-plugin-prettier@44f4bfe)) - build(deps-dev): bump eslint-config-prettier from 6.5.0 to 6.6.0 ([46580c5](prettier/eslint-plugin-prettier@46580c5)) - build(deps-dev): bump prettier from 1.18.2 to 1.19.1 ([10b4676](prettier/eslint-plugin-prettier@10b4676)) - build(deps-dev): bump eslint from 6.5.1 to 6.6.0 ([53eaeae](prettier/eslint-plugin-prettier@53eaeae)) - build(deps-dev): bump eslint-config-prettier from 6.4.0 to 6.5.0 ([ad3321c](prettier/eslint-plugin-prettier@ad3321c)) - build(deps-dev): bump mocha from 6.2.1 to 6.2.2 ([b7280b6](prettier/eslint-plugin-prettier@b7280b6)) - build(deps-dev): bump eslint-config-prettier from 6.3.0 to 6.4.0 ([4c1d69a](prettier/eslint-plugin-prettier@4c1d69a)) - build(deps-dev): bump eslint from 6.5.0 to 6.5.1 ([c109a7a](prettier/eslint-plugin-prettier@c109a7a)) - build(deps-dev): bump mocha from 6.2.0 to 6.2.1 ([3134bea](prettier/eslint-plugin-prettier@3134bea)) - build(deps-dev): bump eslint from 6.4.0 to 6.5.0 ([7c290d7](prettier/eslint-plugin-prettier@7c290d7)) #### v3.1.1 (2019-09-18) - build(deps-dev): bump eslint from 6.3.0 to 6.4.0 ([8a793eb](prettier/eslint-plugin-prettier@8a793eb)) - build(deps-dev): bump eslint-config-prettier from 6.2.0 to 6.3.0 ([88c3f6c](prettier/eslint-plugin-prettier@88c3f6c)) - build(deps-dev): bump eslint-config-prettier from 6.0.0 to 6.2.0 ([5f9fbc1](prettier/eslint-plugin-prettier@5f9fbc1)) - build(deps-dev): bump eslint from 6.2.2 to 6.3.0 ([746b66d](prettier/eslint-plugin-prettier@746b66d)) - build(deps-dev): bump eslint from 6.1.0 to 6.2.2 ([97eedb4](prettier/eslint-plugin-prettier@97eedb4)) - build(deps-dev): bump eslint from 6.0.1 to 6.1.0 ([afef9d1](prettier/eslint-plugin-prettier@afef9d1)) - build(deps-dev): bump mocha from 6.1.4 to 6.2.0 ([0360a84](prettier/eslint-plugin-prettier@0360a84)) - build(deps): \[security] bump lodash from 4.17.11 to 4.17.14 ([9eceb68](prettier/eslint-plugin-prettier@9eceb68)) - Fix: When forcing the JS parser, use the modern name ([#212](prettier/eslint-plugin-prettier#212)) ([1385310](prettier/eslint-plugin-prettier@1385310)) - Add eslint 6 to test matrix ([#210](prettier/eslint-plugin-prettier#210)) ([bca77e6](prettier/eslint-plugin-prettier@bca77e6)) - build(deps-dev): bump eslint-config-prettier from 5.0.0 to 6.0.0 ([4c069bd](prettier/eslint-plugin-prettier@4c069bd)) - build(deps-dev): bump eslint-config-prettier from 4.3.0 to 5.0.0 ([60bb22f](prettier/eslint-plugin-prettier@60bb22f)) - build(deps-dev): bump prettier from 1.18.0 to 1.18.2 ([a183560](prettier/eslint-plugin-prettier@a183560)) - build(deps-dev): bump prettier from 1.17.1 to 1.18.0 ([0cad479](prettier/eslint-plugin-prettier@0cad479)) - build(deps-dev): bump eslint-config-prettier from 4.2.0 to 4.3.0 ([6f3c76f](prettier/eslint-plugin-prettier@6f3c76f)) - build(deps-dev): bump prettier from 1.17.0 to 1.17.1 ([03aecfd](prettier/eslint-plugin-prettier@03aecfd)) #### v3.1.0 (2019-05-11) - New: Allow options to be passed to prettier.getFileInfo ([#187](prettier/eslint-plugin-prettier#187)) ([21fa69a](prettier/eslint-plugin-prettier@21fa69a)) - build(deps-dev): bump eslint-plugin-eslint-plugin from 2.0.1 to 2.1.0 ([bb597e1](prettier/eslint-plugin-prettier@bb597e1)) - build(deps-dev): bump eslint-config-prettier from 4.1.0 to 4.2.0 ([0bb7c1d](prettier/eslint-plugin-prettier@0bb7c1d)) - build(deps-dev): bump vue-eslint-parser from 6.0.3 to 6.0.4 ([2f77df4](prettier/eslint-plugin-prettier@2f77df4)) - build(deps-dev): bump mocha from 6.1.3 to 6.1.4 ([222b87a](prettier/eslint-plugin-prettier@222b87a)) - build(deps-dev): bump prettier from 1.16.4 to 1.17.0 ([58d8ff8](prettier/eslint-plugin-prettier@58d8ff8)) - build(deps-dev): bump mocha from 6.1.2 to 6.1.3 ([e94e56c](prettier/eslint-plugin-prettier@e94e56c)) - build(deps-dev): bump mocha from 6.1.1 to 6.1.2 ([c02244b](prettier/eslint-plugin-prettier@c02244b)) - build(deps-dev): bump mocha from 6.0.2 to 6.1.1 ([a9a2e4e](prettier/eslint-plugin-prettier@a9a2e4e)) - build(deps-dev): bump eslint from 5.15.3 to 5.16.0 ([073c14c](prettier/eslint-plugin-prettier@073c14c)) - build(deps-dev): bump eslint from 5.15.2 to 5.15.3 ([bda931f](prettier/eslint-plugin-prettier@bda931f)) - build(deps-dev): bump eslint from 5.15.1 to 5.15.2 ([19f53d6](prettier/eslint-plugin-prettier@19f53d6)) - build(deps-dev): bump eslint from 5.15.0 to 5.15.1 ([34b39de](prettier/eslint-plugin-prettier@34b39de)) - build(deps-dev): bump eslint from 5.14.1 to 5.15.0 ([13bcc66](prettier/eslint-plugin-prettier@13bcc66)) - build(deps-dev): bump eslint-plugin-self from 1.1.0 to 1.2.0 ([5b4adb8](prettier/eslint-plugin-prettier@5b4adb8)) - build(deps-dev): bump vue-eslint-parser from 6.0.2 to 6.0.3 ([e676cd1](prettier/eslint-plugin-prettier@e676cd1)) - build(deps-dev): bump eslint-config-prettier from 4.0.0 to 4.1.0 ([b8a9215](prettier/eslint-plugin-prettier@b8a9215)) - build(deps-dev): bump mocha from 6.0.1 to 6.0.2 ([cde36e4](prettier/eslint-plugin-prettier@cde36e4)) - build(deps-dev): bump mocha from 6.0.0 to 6.0.1 ([eb39699](prettier/eslint-plugin-prettier@eb39699)) - build(deps-dev): bump mocha from 5.2.0 to 6.0.0 ([5d75421](prettier/eslint-plugin-prettier@5d75421)) - build(deps-dev): bump eslint from 5.14.0 to 5.14.1 ([829156e](prettier/eslint-plugin-prettier@829156e)) - build(deps-dev): bump eslint from 5.13.0 to 5.14.0 ([b76d0b4](prettier/eslint-plugin-prettier@b76d0b4)) - build(deps-dev): bump vue-eslint-parser from 6.0.0 to 6.0.2 ([15439e8](prettier/eslint-plugin-prettier@15439e8)) - build(deps-dev): bump vue-eslint-parser from 5.0.0 to 6.0.0 ([0ea70e5](prettier/eslint-plugin-prettier@0ea70e5)) - build(deps-dev): bump eslint from 5.12.1 to 5.13.0 ([5f18729](prettier/eslint-plugin-prettier@5f18729)) - build(deps-dev): bump prettier from 1.16.3 to 1.16.4 ([ef637fe](prettier/eslint-plugin-prettier@ef637fe)) - build(deps-dev): bump prettier from 1.16.1 to 1.16.3 ([58ab20c](prettier/eslint-plugin-prettier@58ab20c)) - build(deps-dev): bump eslint-config-prettier from 3.6.0 to 4.0.0 ([14393bd](prettier/eslint-plugin-prettier@14393bd)) - build(deps-dev): bump prettier from 1.16.0 to 1.16.1 ([00198b9](prettier/eslint-plugin-prettier@00198b9)) - build(deps-dev): bump prettier from 1.15.3 to 1.16.0 ([7890a87](prettier/eslint-plugin-prettier@7890a87)) - build(deps-dev): bump eslint from 5.12.0 to 5.12.1 ([92a8984](prettier/eslint-plugin-prettier@92a8984)) - build(deps-dev): bump eslint-config-prettier from 3.5.0 to 3.6.0 ([5292d12](prettier/eslint-plugin-prettier@5292d12)) - build(deps-dev): bump eslint-config-prettier from 3.4.0 to 3.5.0 ([44a2558](prettier/eslint-plugin-prettier@44a2558)) - build(deps-dev): bump eslint-config-prettier from 3.3.0 to 3.4.0 ([425cfce](prettier/eslint-plugin-prettier@425cfce)) - build(deps-dev): bump eslint from 5.11.1 to 5.12.0 ([3e9aa39](prettier/eslint-plugin-prettier@3e9aa39)) - build(deps-dev): bump eslint-plugin-node from 8.0.0 to 8.0.1 ([e913afd](prettier/eslint-plugin-prettier@e913afd)) - build(deps-dev): bump vue-eslint-parser from 4.0.3 to 5.0.0 ([ecfd5ba](prettier/eslint-plugin-prettier@ecfd5ba)) #### v3.0.1 (2018-12-28) - Catch and format SyntaxErrors as eslint violations ([#141](prettier/eslint-plugin-prettier#141)) ([4a0e57d](prettier/eslint-plugin-prettier@4a0e57d)) - build(deps-dev): bump eslint from 5.11.0 to 5.11.1 ([d34daed](prettier/eslint-plugin-prettier@d34daed)) - build(deps-dev): bump eslint from 5.10.0 to 5.11.0 ([7f4f45d](prettier/eslint-plugin-prettier@7f4f45d)) - build(deps-dev): bump eslint-plugin-eslint-plugin from 2.0.0 to 2.0.1 ([5be3bcf](prettier/eslint-plugin-prettier@5be3bcf)) - build(deps-dev): bump eslint from 5.9.0 to 5.10.0 ([11e7c44](prettier/eslint-plugin-prettier@11e7c44)) - build(deps-dev): bump eslint-plugin-eslint-plugin from 1.4.1 to 2.0.0 ([9e5bf14](prettier/eslint-plugin-prettier@9e5bf14)) - build(deps-dev): bump vue-eslint-parser from 4.0.2 to 4.0.3 ([234583a](prettier/eslint-plugin-prettier@234583a)) - build(deps-dev): bump vue-eslint-parser from 3.3.0 to 4.0.2 ([8675d57](prettier/eslint-plugin-prettier@8675d57)) - Upgrade: Bump vue-eslint-parser from 3.2.2 to 3.3.0 ([2379e93](prettier/eslint-plugin-prettier@2379e93)) - Upgrade: Bump eslint-config-prettier from 3.1.0 to 3.3.0 ([3ea0021](prettier/eslint-plugin-prettier@3ea0021)) - Upgrade: Bump eslint from 5.8.0 to 5.9.0 ([c774fb8](prettier/eslint-plugin-prettier@c774fb8)) - build(deps-dev): bump eslint-plugin-node from 7.0.1 to 8.0.0 ([#121](prettier/eslint-plugin-prettier#121)) ([2a4fba0](prettier/eslint-plugin-prettier@2a4fba0)) - build(deps-dev): bump eslint-plugin-eslint-plugin from 1.4.0 to 1.4.1 ([#120](prettier/eslint-plugin-prettier#120)) ([29caa29](prettier/eslint-plugin-prettier@29caa29)) - build(deps-dev): bump eslint from 5.6.0 to 5.8.0 ([#119](prettier/eslint-plugin-prettier#119)) ([2836350](prettier/eslint-plugin-prettier@2836350)) #### v3.0.0 (2018-10-01) - Chore: Add eslint peer-dependency ([d55d79c](prettier/eslint-plugin-prettier@d55d79c)) - Breaking: Extract showInvisibles and generateDifferences ([bf7c40c](prettier/eslint-plugin-prettier@bf7c40c)) - Breaking: Defining prettier options must use an object ([478c7e5](prettier/eslint-plugin-prettier@478c7e5)) - Breaking: Drop support for ESLint v3 and v4 ([2326231](prettier/eslint-plugin-prettier@2326231)) - Chore: Update dependencies ([1ec94c8](prettier/eslint-plugin-prettier@1ec94c8)) - Chore: remove two unused dependencies ([bfe459c](prettier/eslint-plugin-prettier@bfe459c)) - Chore: Rename test files to keep them sequential ([d38ea52](prettier/eslint-plugin-prettier@d38ea52)) - Breaking: Remove pragma support ([3af422c](prettier/eslint-plugin-prettier@3af422c)) - Breaking: Update minimum required pretter version to 1.13.0 ([29c0506](prettier/eslint-plugin-prettier@29c0506)) - Breaking: Drop support for node v4, v7 and v9 ([be460bd](prettier/eslint-plugin-prettier@be460bd)) - Chore: Add vscode config to autoformat on save ([9fac6b4](prettier/eslint-plugin-prettier@9fac6b4)) - Chore: Improve travis matrix ([46d2444](prettier/eslint-plugin-prettier@46d2444)) - Chore: Add format script to run prettier ([d46aa6d](prettier/eslint-plugin-prettier@d46aa6d)) #### v2.7.0 (2018-09-26) - Update: Support prettierignore and custom processors ([#111](prettier/eslint-plugin-prettier#111)) ([38537ba](prettier/eslint-plugin-prettier@38537ba)) - Build: switch to release script package ([047dc8f](prettier/eslint-plugin-prettier@047dc8f)) #### v2.6.2 (2018-07-06) - Fix: Add representation for \r to showInvisibles ([#100](prettier/eslint-plugin-prettier#100)) ([731bbb5](prettier/eslint-plugin-prettier@731bbb5)) - Docs: Add clarification about Flow/React support to readme ([#96](prettier/eslint-plugin-prettier#96)) ([977aa77](prettier/eslint-plugin-prettier@977aa77)) #### v2.6.1 (2018-06-23) - Fix: respect editorconfig ([#92](prettier/eslint-plugin-prettier#92)) ([0b04dd3](prettier/eslint-plugin-prettier@0b04dd3)) #### v2.6.0 (2018-02-02) - Update: Add option to skip loading prettierrc ([#83](prettier/eslint-plugin-prettier#83)) ([9e0fb48](prettier/eslint-plugin-prettier@9e0fb48)) - Build: add Node 8 and 9 to Travis ([e5b5fa7](prettier/eslint-plugin-prettier@e5b5fa7)) - Chore: add test for vue parsing ([1ab43fd](prettier/eslint-plugin-prettier@1ab43fd)) #### v2.5.0 (2018-01-16) - Fix: pass filepath to prettier ([#76](prettier/eslint-plugin-prettier#76)) ([0b6ab55](prettier/eslint-plugin-prettier@0b6ab55)) - Update: Add URL to rule documentation to the metadata ([#75](prettier/eslint-plugin-prettier#75)) ([804ead7](prettier/eslint-plugin-prettier@804ead7)) #### v2.4.0 (2017-12-17) - New: Add 'recommended' configuration ([#73](prettier/eslint-plugin-prettier#73)) ([e529b60](prettier/eslint-plugin-prettier@e529b60)) - Docs: Create ISSUE\_TEMPLATE.md ([4335b08](prettier/eslint-plugin-prettier@4335b08)) #### v2.3.1 (2017-09-18) - Fix: Guard against older prettier installation ([#56](prettier/eslint-plugin-prettier#56)) ([8a115f9](prettier/eslint-plugin-prettier@8a115f9)) #### v2.3.0 (2017-09-18) - Update: Support .prettierrc config files (fixes [#46](prettier/eslint-plugin-prettier#46)) ([#55](prettier/eslint-plugin-prettier#55)) ([bc89153](prettier/eslint-plugin-prettier@bc89153)) - Docs: .eslintrc.json > .eslintrc ([#52](prettier/eslint-plugin-prettier#52)) ([95f0808](prettier/eslint-plugin-prettier@95f0808)) - Upgrade: jest-docblock to ^21.0.0 ([#50](prettier/eslint-plugin-prettier#50)) ([c777111](prettier/eslint-plugin-prettier@c777111)) - Chore: upgrade prettier to ^1.6.1 ([#49](prettier/eslint-plugin-prettier#49)) ([56deffa](prettier/eslint-plugin-prettier@56deffa)) - Chore: use eslint-plugin-self for linting ([#47](prettier/eslint-plugin-prettier#47)) ([5ea0526](prettier/eslint-plugin-prettier@5ea0526)) #### v2.2.0 (2017-08-16) - New: expose reporter api (fixes [#39](prettier/eslint-plugin-prettier#39)) ([#41](prettier/eslint-plugin-prettier#41)) ([1666067](prettier/eslint-plugin-prettier@1666067)) #### v2.1.2 (2017-06-14) - Chore: Relax peerDependencies ([#30](prettier/eslint-plugin-prettier#30)) ([a19b8af](prettier/eslint-plugin-prettier@a19b8af)) - Chore: Add release script ([#25](prettier/eslint-plugin-prettier#25)) ([8fbfe73](prettier/eslint-plugin-prettier@8fbfe73)) #### v2.1.1 (2017-05-19) - Fix: Support ESLint <3.11.0 ([#24](prettier/eslint-plugin-prettier#24)) ([fde7fdf](prettier/eslint-plugin-prettier@fde7fdf)) - Chore: add yarn.lock ([#23](prettier/eslint-plugin-prettier#23)) ([8b55518](prettier/eslint-plugin-prettier@8b55518)) - Docs: fix links in changelog ([#22](prettier/eslint-plugin-prettier#22)) ([7e70e11](prettier/eslint-plugin-prettier@7e70e11)) #### v2.1.0 (2017-05-16) - Merge with eslint-plugin-prettify ([#21](prettier/eslint-plugin-prettier#21)) ([6de494f](prettier/eslint-plugin-prettier@6de494f)) - Docs: update repo links to new URL ([#18](prettier/eslint-plugin-prettier#18)) ([6b69492](prettier/eslint-plugin-prettier@6b69492)) - Chore: Upgrade development dependencies ([#16](prettier/eslint-plugin-prettier#16)) ([12984ea](prettier/eslint-plugin-prettier@12984ea)) - Docs: fix outdated info about prettier's semicolon support ([da6aad1](prettier/eslint-plugin-prettier@da6aad1)) - Docs: update prettier options in example ([#14](prettier/eslint-plugin-prettier#14)) ([0ae173f](prettier/eslint-plugin-prettier@0ae173f)) - Docs: Change the order of dependencies install ([#13](prettier/eslint-plugin-prettier#13)) ([cbf803c](prettier/eslint-plugin-prettier@cbf803c)) - Docs: Add CONTRIBUTING.md (fixes [#9](prettier/eslint-plugin-prettier#9)) ([40fe55b](prettier/eslint-plugin-prettier@40fe55b)) #### v2.0.1 (2017-02-26) - Docs: add travis badge to README.md ([1daa495](prettier/eslint-plugin-prettier@1daa495)) - Upgrade: prettier to 0.18.0 ([1700e41](prettier/eslint-plugin-prettier@1700e41)) - Chore: use eslint-config-prettier ([c979b84](prettier/eslint-plugin-prettier@c979b84)) - Fix: avoid relying on an internal eslint function ([5296930](prettier/eslint-plugin-prettier@5296930)) - Docs: mention eslint-config-prettier in README.md ([3fd855d](prettier/eslint-plugin-prettier@3fd855d)) - Chore: pin the version of prettier used to lint this module (refs [#1](prettier/eslint-plugin-prettier#1)) ([db85633](prettier/eslint-plugin-prettier@db85633)) #### v2.0.0 (2017-01-28) - Docs: create changelog ([d388095](prettier/eslint-plugin-prettier@d388095)) - Docs: add 2.0.0 migration guide ([db508d7](prettier/eslint-plugin-prettier@db508d7)) - Breaking: Make prettier a peerDependency ([#1](prettier/eslint-plugin-prettier#1)) ([d8a8992](prettier/eslint-plugin-prettier@d8a8992)) - Docs: add repo url to package.json ([2474bc9](prettier/eslint-plugin-prettier@2474bc9)) - Docs: suggest prettier-eslint if eslint rules disagree with prettier ([3414437](prettier/eslint-plugin-prettier@3414437)) ## [v5.5.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#551) ##### Patch Changes - [#748](prettier/eslint-plugin-prettier#748) [`bfd1e95`](prettier/eslint-plugin-prettier@bfd1e95) Thanks [@JounQin](https://github.com/JounQin)! - fix: use `prettierRcOptions` directly for prettier 3.6+ ## [v5.5.0](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#550) ##### Minor Changes - [#743](prettier/eslint-plugin-prettier#743) [`92f2c9c`](prettier/eslint-plugin-prettier@92f2c9c) Thanks [@dotcarmen](https://github.com/dotcarmen)! - feat: support non-js languages like `css` for `@eslint/css` and `json` for `@eslint/json` ## [v5.4.1](https://github.com/prettier/eslint-plugin-prettier/blob/HEAD/CHANGELOG.md#541) ##### Patch Changes - [#740](prettier/eslint-plugin-prettier#740) [`c21521f`](prettier/eslint-plugin-prettier@c21521f) Thanks [@JounQin](https://github.com/JounQin)! - fix(deps): bump `synckit` to v0.11.7 to fix potential `TypeError: Cannot read properties of undefined (reading 'message')` error
As discussed in #17, eslint-plugin-prettify will merge into eslint-plugin-prettier. eslint-plugin-prettify diffs the original code against the prettier output, and reports fine grained issues, instead of invalidating the entire file.
This PR ports the code at zertosh/eslint-plugin-prettify@2fb5dfb, and adjusts it to conform to @not-an-aardvark's pre-existing code style. A few notes:
"fb"
- which sets preferred "Facebook style" (see the README).@format
if you used the magic"fb"
config. In this port, that's no longer the case (as requested by @kittens).no-styles
, which added a preprocessor that stripped style rules from the final result. That's not included in this PR, it'll be added in a followup PR.