-
-
Notifications
You must be signed in to change notification settings - Fork 207
feat: support non-js languages #743
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
🦋 Changeset detectedLatest commit: d208100 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
WalkthroughThe changes introduce improved compatibility for ESLint API changes by adding a ponyfill for location calculation, update the visitor logic for AST traversal, and add support for linting and formatting JSON files using Prettier. Test infrastructure is enhanced to cover JSON cases, and new test fixtures are added for validation. Changes
Sequence Diagram(s)sequenceDiagram
participant ESLint
participant PrettierPlugin
participant SourceCode
participant getLocFromIndex
ESLint->>PrettierPlugin: Lint file (JS/JSON)
PrettierPlugin->>SourceCode: Access AST and text
PrettierPlugin->>getLocFromIndex: Compute position for diff (index)
getLocFromIndex-->>PrettierPlugin: Return line/column position
PrettierPlugin-->>ESLint: Report formatting differences
Assessment against linked issues
Assessment against linked issues: Out-of-scope changes
Poem
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
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.
Important
Looks good to me! 👍
Reviewed everything up to ee09d11 in 1 minute and 26 seconds. Click for details.
- Reviewed
100lines of code in1files - Skipped
0files when reviewing. - Skipped posting
3draft comments. View those below. - Modify your settings and rules to customize what types of comments Ellipsis leaves. And don't forget to react with 👍 or 👎 to teach Ellipsis.
1. eslint-plugin-prettier.js:75
- Draft comment:
Bug in getLocFromOffset: When no newline precedes the offset (e.g. offset before first '\n'), the fallback computes a negative column. Consider returning {line: 0, column: offset, offset} if no newline exists. - Reason this comment was not posted:
Comment looked like it was already resolved.
2. eslint-plugin-prettier.js:106
- Draft comment:
Performance note: In reportDifference, the lineIndexes are recalculated for each difference. Consider caching them if multiple differences occur in a file. - Reason this comment was not posted:
Confidence changes required:50%<= threshold50%None
3. eslint-plugin-prettier.js:204
- Draft comment:
Using sourceCode.ast.type for event registration meets the non-JS support goal but consider a fallback (e.g. to 'Program') if sourceCode.ast or its type is undefined. - Reason this comment was not posted:
Confidence changes required:50%<= threshold50%None
Workflow ID: wflow_I5pOsGYiTfHNgfKO
You can customize by changing your verbosity settings, reacting with 👍 or 👎, replying to comments, or adding code review rules.
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.
Actionable comments posted: 1
🧹 Nitpick comments (2)
eslint-plugin-prettier.js (2)
106-109: Avoid recomputinglineIndexesfor every difference
reportDifferencecan be invoked dozens of times for a single file.
[...sourceCode.text.matchAll(/\n/g)].map(m => m.index)re-scans the entire source each time, which is unnecessary work.Consider caching the array once per rule execution:
- const lineIndexes = [...sourceCode.text.matchAll(/\n/g)].map(match => match.index); + // cache on the first call – `WeakMap` avoids memory leaks between files + const lineIndexes = + getLocFromOffset._cache?.get(sourceCode) ?? + [...sourceCode.text.matchAll(/\n/g)].map(m => m.index); + + getLocFromOffset._cache = getLocFromOffset._cache ?? new WeakMap(); + getLocFromOffset._cache.set(sourceCode, lineIndexes);This turns the expensive regex scan into an O(1) lookup for subsequent fixes in the same file.
35-38: Type alias readabilityThe
RuleContextalias is hard to parse and triggers Prettier warnings. Extracting the helper type keeps the line length sane:- * @typedef {Parameters<Exclude<ESLint.Plugin['rules'], undefined>[string]['create']>[0]} RuleContext + * @typedef {Exclude<ESLint.Plugin['rules'], undefined>[string]['create']} _Create + * @typedef {Parameters<_Create>[0]} RuleContextPurely a readability / lint-noise win.
🧰 Tools
🪛 ESLint
[error] 35-35: Replace
Exclude<ESLint.Plugin['rules'],·undefined>[string]['create']with⏎·*···Exclude<ESLint.Plugin['rules'],·undefined>[string]['create']⏎·*·(prettier/prettier)
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
eslint-plugin-prettier.js(7 hunks)
🧰 Additional context used
🪛 ESLint
eslint-plugin-prettier.js
[error] 19-20: Delete ⏎·*
(prettier/prettier)
[error] 35-35: Replace Exclude<ESLint.Plugin['rules'],·undefined>[string]['create'] with ⏎·*···Exclude<ESLint.Plugin['rules'],·undefined>[string]['create']⏎·*·
(prettier/prettier)
[error] 74-74: Replace (acc,·lineStart,·lineNo)·=>·lineStart·<·offset·?·[lineStart,·lineNo]·:·acc,·[-1,·-1] with ⏎····(acc,·lineStart,·lineNo)·=>⏎······lineStart·<·offset·?·[lineStart,·lineNo]·:·acc,⏎····[-1,·-1],⏎··
(prettier/prettier)
[error] 78-78: Insert ;
(prettier/prettier)
[error] 104-104: Replace match·=>·match.index with ⏎····match·=>·match.index,⏎··
(prettier/prettier)
[error] 105-107: Replace ⏎····getLocFromOffset(lineIndexes,·index)⏎·· with ·getLocFromOffset(lineIndexes,·index)
(prettier/prettier)
🔇 Additional comments (1)
eslint-plugin-prettier.js (1)
203-205: Guard against missingast.typeon exotic parsersUsing
[sourceCode.ast.type]is elegant, but if a third-party parser returnsundefined(observed in some experimental plugins) the property name becomes the string"undefined", creating a visitor that never fires.- [sourceCode.ast.type](node) { + [sourceCode.ast?.type ?? 'Program'](node) {The fallback keeps existing behaviour while still supporting non-JS root nodes.
a3e1740 to
cec9313
Compare
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.
Actionable comments posted: 0
🧹 Nitpick comments (3)
eslint-plugin-prettier.js (3)
105-109: Minor: early failure message could be clearerThrowing plain
Error('prettier only supports textual source code')will surface in ESLint output without context. Consider prefixing with the rule name so users immediately know where it originates, e.g.-throw new Error('prettier only supports textual source code'); +throw new Error('prettier/prettier: non-textual SourceCode is not supported');
110-113: Micro-optimisation / readability
[...text.matchAll(/\n/g)].map(m => m.index)allocates an intermediate array ofRegExpMatchArrays just to pluckindex. A simple loop avoids the extra objects:-const lineIndexes = [...sourceCode.text.matchAll(/\n/g)].map(match => match.index); +const lineIndexes = []; +for (let i = sourceCode.text.indexOf('\n'); i !== -1; i = sourceCode.text.indexOf('\n', i + 1)) { + lineIndexes.push(i); +}Not critical, but it shaves allocations for large files.
🧰 Tools
🪛 ESLint
[error] 110-110: Replace
match·=>·match.indexwith⏎····match·=>·match.index,⏎··(prettier/prettier)
[error] 111-113: Replace
⏎····getLocFromOffset(lineIndexes,·index)⏎··with·getLocFromOffset(lineIndexes,·index)(prettier/prettier)
30-38: Typedef readability
@typedef {Parameters<Exclude<ESLint.Plugin['rules'], undefined>[string]['create']>[0]} RuleContextis correct but hard to parse. Consider a helper
typealias (e.g. in a// region typingsblock) or an inline explanatory comment to aid maintainability.🧰 Tools
🪛 ESLint
[error] 37-37: Replace
Exclude<ESLint.Plugin['rules'],·undefined>[string]['create']with⏎·*···Exclude<ESLint.Plugin['rules'],·undefined>[string]['create']⏎·*·(prettier/prettier)
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
eslint-plugin-prettier.js(7 hunks)
🧰 Additional context used
🧠 Learnings (2)
📓 Common learnings
Learnt from: dotcarmen
PR: prettier/eslint-plugin-prettier#743
File: eslint-plugin-prettier.js:70-85
Timestamp: 2025-06-14T15:02:13.203Z
Learning: In the getLocFromOffset function for eslint-plugin-prettier.js, the correct implementation uses `lineIndexes = [-1, 0, ...lineIndexes]` to create an array of line start positions, and calculates column as `offset - lineIndexes[line]` without additional offsets.
eslint-plugin-prettier.js (2)
Learnt from: dotcarmen
PR: prettier/eslint-plugin-prettier#743
File: eslint-plugin-prettier.js:70-85
Timestamp: 2025-06-14T15:02:13.203Z
Learning: In the getLocFromOffset function for eslint-plugin-prettier.js, the correct implementation uses `lineIndexes = [-1, 0, ...lineIndexes]` to create an array of line start positions, and calculates column as `offset - lineIndexes[line]` without additional offsets.
Learnt from: dotcarmen
PR: prettier/eslint-plugin-prettier#743
File: eslint-plugin-prettier.js:0-0
Timestamp: 2025-06-14T15:04:53.666Z
Learning: In the getLocFromOffset function for eslint-plugin-prettier.js, the correct implementation uses `const withSentinel = [-1, 0, ...lineIndexes]` to create an array of line start positions without variable shadowing, and calculates column as `offset - withSentinel[line]` without additional offsets.
🪛 ESLint
eslint-plugin-prettier.js
[error] 37-37: Replace Exclude<ESLint.Plugin['rules'],·undefined>[string]['create'] with ⏎·*···Exclude<ESLint.Plugin['rules'],·undefined>[string]['create']⏎·*·
(prettier/prettier)
[error] 110-110: Replace match·=>·match.index with ⏎····match·=>·match.index,⏎··
(prettier/prettier)
[error] 291-291: Insert ·
(prettier/prettier)
🔇 Additional comments (2)
eslint-plugin-prettier.js (2)
208-208: Dynamic visitor key may break on exotic root node namesUsing computed property
[sourceCode.ast.type]is elegant, but ESLint expects visitor keys to be valid object keys. If a plugin ever returns a root type containing characters like::(unlikely but possible), the visitor would silently fail. A defensive fallback keeps the classic"Program"visitor for unexpected names:- [sourceCode.ast.type](node) { + [sourceCode.ast.type || 'Program'](node) {
70-89:⚠️ Potential issueOff-by-one & line-number mis-calculation in
getLocFromOffset()The current sentinel logic
const withSentinel = [-1, 0, ...lineIndexes]; … const column = offset - withSentinel[line];shifts every line number by +1 and makes
columnreturn 1 instead of 0 for the very first character (offset === 0).
Example: for"abc\n"the offset0is reported as{ line: 1, column: 1 }, while ESLint expects{ line: 0, column: 0 }.A minimal patch that keeps the algorithm O(n) and fixes both issues:
-function getLocFromOffset(lineIndexes, offset) { - const withSentinel = [-1, 0, ...lineIndexes]; +function getLocFromOffset(lineIndexes, offset) { + // prepend sentinel so the first element describes “before char 0” + const withSentinel = [-1, ...lineIndexes]; let line = 0; while (line + 1 < withSentinel.length && withSentinel[line + 1] < offset) { line++; } - const column = offset - withSentinel[line]; + // subtract 1 because `withSentinel[0] === -1` + const column = offset - withSentinel[line] - 1; return { line, column, offset }; }This matches ESLint’s own
getLocFromIndexbehaviour for all edge-cases (start of file, empty file, offsets sitting on a\n, etc.).⛔ Skipped due to learnings
Learnt from: dotcarmen PR: prettier/eslint-plugin-prettier#743 File: eslint-plugin-prettier.js:0-0 Timestamp: 2025-06-14T15:04:53.666Z Learning: In the getLocFromOffset function for eslint-plugin-prettier.js, the correct implementation uses `const withSentinel = [-1, 0, ...lineIndexes]` to create an array of line start positions without variable shadowing, and calculates column as `offset - withSentinel[line]` without additional offsets.
cec9313 to
8fd708c
Compare
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 for working on this first, please add related test cases. Especially we need add some test cases for empty or invalid files.
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.
Actionable comments posted: 2
🧹 Nitpick comments (1)
eslint-plugin-prettier.js (1)
110-112: Avoiddeletefor perf-sensitive hot-path
delete this.lineIndexesde-opts the object each time. Assigningundefined(or replacing the getter with a value property once) keeps the object in fast mode:- // @ts-ignore - delete this.lineIndexes; + // @ts-ignore + this.lineIndexes = undefined;Not critical, but worth it given this runs for every fix.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (1)
pnpm-lock.yamlis excluded by!**/pnpm-lock.yaml
📒 Files selected for processing (4)
eslint-plugin-prettier.js(6 hunks)package.json(1 hunks)test/invalid/json.txt(1 hunks)test/prettier.mjs(2 hunks)
✅ Files skipped from review due to trivial changes (1)
- package.json
🧰 Additional context used
🧠 Learnings (1)
eslint-plugin-prettier.js (1)
Learnt from: dotcarmen
PR: prettier/eslint-plugin-prettier#743
File: eslint-plugin-prettier.js:0-0
Timestamp: 2025-06-14T15:04:53.678Z
Learning: In the getLocFromOffset function for eslint-plugin-prettier.js, the correct implementation uses `const withSentinel = [-1, 0, ...lineIndexes]` to create an array of line start positions without variable shadowing, and calculates column as `offset - withSentinel[line]` without additional offsets.
🪛 LanguageTool
test/invalid/json.txt
[typographical] ~20-~20: Nepárový symbol: zdá sa, že chýba '"'
Context: ...[] ERRORS: [ { message: 'Replace "a":·[⏎"b",⏎{"c":⏎"d"}⏎]· with `··"a":·["b",·{·"c...
(UNPAIRED_BRACKETS)
[typographical] ~20-~20: Nepárový symbol: zdá sa, že chýba '"'
Context: ...eplace "a":·[⏎"b",⏎{"c":⏎"d"}⏎]· with ··"a":·["b",·{·"c":·"d"·}]⏎', }, ]
(UNPAIRED_BRACKETS)
[typographical] ~21-~21: Nepárový symbol: zdá sa, že chýba '{'
Context: ... with ··"a":·["b",·{·"c":·"d"·}]⏎', }, ]
(UNPAIRED_BRACKETS)
[typographical] ~21-~21: Nepárový symbol: zdá sa, že chýba '['
Context: ...th ··"a":·["b",·{·"c":·"d"·}]⏎', }, ]
(UNPAIRED_BRACKETS)
🪛 Biome (1.9.4)
eslint-plugin-prettier.js
[error] 110-110: Avoid the delete operator which can impact performance.
Unsafe fix: Use an undefined assignment instead.
(lint/performance/noDelete)
🔇 Additional comments (2)
test/invalid/json.txt (1)
1-23: Fixture looks fine – no action requiredThe file is a plain text fixture for RuleTester; nothing strikes me as problematic.
test/prettier.mjs (1)
28-29: Double-checkRuleTesteroptions –languagemay be ignored
RuleTester(both Classic and Flat) acceptslanguageOptions, but a plainlanguageproperty is not yet in the public API. If the current ESLint version silently drops unknown keys, the JSON tests will never run with the intended parser, causing false positives/negatives.-const jsonRuleTester = new RuleTester({ - plugins: { - json: eslintPluginJson, - }, - language: 'json/json', -}); +const jsonRuleTester = new RuleTester({ + plugins: { json: eslintPluginJson }, + languageOptions: { parser: eslintPluginJson.parsers['json'] }, +});Please verify against the ESLint version in CI; adjust as needed.
Also applies to: 384-389
7b39b75 to
5944dd5
Compare
commit: |
3298e53 to
c4053cb
Compare
|
@coderabbitai full review |
✅ Actions performedFull review triggered. |
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.
Actionable comments posted: 1
🔭 Outside diff range comments (1)
test/fixtures/empty.json (1)
1-2:empty.jsonis not valid JSON – Prettier will throwAn empty file is not valid JSON, and Prettier’s JSON parser (
json/jsonc) will raise a parse error.
If the intention is to test a minimal JSON file, use{}(or[]) instead and adjust the expected fix/assert accordingly.-⏎ +{}
♻️ Duplicate comments (1)
eslint-plugin-prettier.js (1)
78-94: Off-by-one in column calculation for every line after the first
lineIndexescurrently stores the position of the newline character.
For an offset that points to the first character of the next line,
column = index - lineIndexes[line]yields1instead of0, so all reported
locations are shifted right by one column on lines > 1.Fix by caching the start offset of every line instead:
- if (!lineIndexes) { - lineIndexes = [...sourceCode.text.matchAll(/\r?\n/g)].map( - match => match.index, - ); - // first line in the file starts at byte offset 0 - lineIndexes.unshift(0); + if (!lineIndexes) { + lineIndexes = [0]; + for (const match of sourceCode.text.matchAll(/\r?\n/g)) { + // jump past '\n' or '\r\n' to the first char of the next line + lineIndexes.push(match.index + match[0].length); + } }With true line-start offsets,
columnis correct for every line, and no other
logic needs to change.
🧹 Nitpick comments (1)
test/prettier.mjs (1)
386-404: Minor: fixture assertion hard-codes single newline deletionIf you switch
empty.jsonto{}as suggested above, remember to update this expected message/range.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (1)
pnpm-lock.yamlis excluded by!**/pnpm-lock.yaml
📒 Files selected for processing (6)
.changeset/weak-lamps-refuse.md(1 hunks)eslint-plugin-prettier.js(4 hunks)package.json(1 hunks)test/fixtures/empty.json(1 hunks)test/invalid/json.txt(1 hunks)test/prettier.mjs(4 hunks)
🧰 Additional context used
🧠 Learnings (1)
eslint-plugin-prettier.js (1)
Learnt from: dotcarmen
PR: prettier/eslint-plugin-prettier#743
File: eslint-plugin-prettier.js:0-0
Timestamp: 2025-06-14T15:04:53.678Z
Learning: In the getLocFromOffset function for eslint-plugin-prettier.js, the correct implementation uses `const withSentinel = [-1, 0, ...lineIndexes]` to create an array of line start positions without variable shadowing, and calculates column as `offset - withSentinel[line]` without additional offsets.
🪛 Biome (1.9.4)
test/fixtures/empty.json
[error] 1-1: Expected an array, an object, or a literal but instead found the end of the file.
Expected an array, an object, or a literal here.
(parse)
test/prettier.mjs
[error] 33-33: This variable is used before its declaration.
The variable is declared here:
(lint/correctness/noInvalidUseBeforeDeclaration)
🪛 LanguageTool
test/invalid/json.txt
[typographical] ~20-~20: Nepárový symbol: zdá sa, že chýba '"'
Context: ...[] ERRORS: [ { message: 'Replace "a":·[⏎"b",⏎{"c":⏎"d"}⏎]· with `··"a":·["b",·{·"c...
(UNPAIRED_BRACKETS)
[typographical] ~20-~20: Nepárový symbol: zdá sa, že chýba '"'
Context: ...eplace "a":·[⏎"b",⏎{"c":⏎"d"}⏎]· with ··"a":·["b",·{·"c":·"d"·}]⏎', }, ]
(UNPAIRED_BRACKETS)
[typographical] ~21-~21: Nepárový symbol: zdá sa, že chýba '{'
Context: ... with ··"a":·["b",·{·"c":·"d"·}]⏎', }, ]
(UNPAIRED_BRACKETS)
[typographical] ~21-~21: Nepárový symbol: zdá sa, že chýba '['
Context: ...th ··"a":·["b",·{·"c":·"d"·}]⏎', }, ]
(UNPAIRED_BRACKETS)
🔇 Additional comments (7)
package.json (1)
76-79: Confirm@eslint/jsonversion compatibility
@eslint/jsonis added with the range^0.12.0. Please double-check that this version supports the newlanguage/pluginsconfiguration style you’re using intest/prettier.mjs; v0.13 introduced a few breaking tweaks.test/prettier.mjs (1)
556-563: ```shell
#!/bin/bashFind runFixture calls in test/prettier.mjs
echo "runFixture invocations in test/prettier.mjs:"
grep -R "runFixture" -n test/prettier.mjs || trueecho
List JSON fixtures under test/fixtures
echo "JSON fixture files under test/fixtures:"
fd test/fixtures -t f | grep -E ".json$" || echo "No .json fixtures found"</details> <details> <summary>test/invalid/json.txt (1)</summary> `20-22`: **Unpaired bracket warnings are safe to ignore** LanguageTool flags unmatched brackets in the message string, but the string is never parsed – only shown in test output – so no action required. </details> <details> <summary>.changeset/weak-lamps-refuse.md (1)</summary> `1-6`: **Changeset looks good** The changeset accurately summarises the feature addition and uses the correct semantic-release header. </details> <details> <summary>eslint-plugin-prettier.js (3)</summary> `61-63`: **Use of WeakMap for per-file caching looks great** Leveraging a `WeakMap<SourceCode, number[]>` avoids redundant scans while letting GC reclaim memory once ESLint drops the `SourceCode` object. Nice touch. --- `111-114`: **Unified location lookup path is clean** Passing both range indices through the new helper keeps the code DRY and shields call-sites from ESLint version differences. Looks good. --- `208-210`: **Dynamic visitor key: verify `:exit` parity** Using `[sourceCode.ast.type]` makes the rule fire for any root node, but the original implementation also listened on `'Program:exit'`. If any later logic implicitly relied on running after full traversal (e.g., respecting `/* eslint-disable */` ranges), consider registering both the root and its `:exit` counterpart: ```js return { [rootType]: visitor, [`${rootType}:exit`]: visitor, };Please double-check behaviour with JS and JSON fixtures.
c4053cb to
d208100
Compare
|
@coderabbitai full review |
✅ Actions performedFull review triggered. |
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.
Actionable comments posted: 0
♻️ Duplicate comments (1)
eslint-plugin-prettier.js (1)
78-94: Off-by-one column calculation & CRLF mis-handling ingetLocFromIndex
lineIndexescurrently stores the position of the newline character.
For an offset that points to the first character of the next line the
column is computed as1(or2for\r\n) instead of0, e.g.:txt = "abc\nx" offset 4 -> expected {line:2, column:0} // current code → column:1Storing newline indices forces every column computation to juggle
+1
adjustments and breaks on Windows endings.
A simpler, always-correct approach is to cache line-START indices and
let the math fall out naturally:@@ - let lineIndexes = lineIndexesCache.get(sourceCode); - if (!lineIndexes) { - lineIndexes = [...sourceCode.text.matchAll(/\r?\n/g)].map( - match => match.index, - ); - // first line in the file starts at byte offset 0 - lineIndexes.unshift(0); - lineIndexesCache.set(sourceCode, lineIndexes); - } + let lineIndexes = lineIndexesCache.get(sourceCode); + if (!lineIndexes) { + lineIndexes = [0]; // first line start + for (const m of sourceCode.text.matchAll(/\r?\n/g)) { + lineIndexes.push(m.index + m[0].length); // char _after_ newline + } + lineIndexesCache.set(sourceCode, lineIndexes); + } @@ - const column = index - lineIndexes[line]; + const column = index - lineIndexes[line];With starts cached, the rest of the algorithm stays O(n) and the column
is always zero-based, no special-cases needed.
Please add a quick unit test for offsets immediately after\nand
\r\nto lock this down.
🧹 Nitpick comments (3)
test/prettier.mjs (2)
28-29: Missing treeshake safeguard for optional dependency
@eslint/jsonis added un-conditionally. If this file is executed in an environment where the dev dependency is not installed (e.g. consumers running the plugin’s test suite), the import will throw. Consider lazy-requiring inside the ESLint-9 block instead, mirroring how other optional plugins are handled.-import eslintPluginJson from '@eslint/json'; +let eslintPluginJson; +try { + // eslint-disable-next-line n/no-extraneous-require + eslintPluginJson = await import('@eslint/json').then(m => m.default ?? m); +} catch {}
35-36:isESLint9heuristic may mis-detect future versions
!eslintUnsupportedApi.FlatRuleTestercorrectly identifies ESLint 9 today, but will also trigger for any later version that re-introducesFlatRuleTester. Pinning to a semver range viaeslintPackage.versionprovides a future-proof gate.eslint-plugin-prettier.js (1)
208-210: Minor: give the root-visitor a more explicit nameUsing a computed key is 👍, but an anonymous key makes stack traces and
debugging harder. Consider:- [sourceCode.ast.type](node) { + /** Root node visitor – dynamic key for non-JS languages */ + [sourceCode.ast.type](rootNode) { …Small rename, big readability win.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (1)
pnpm-lock.yamlis excluded by!**/pnpm-lock.yaml
📒 Files selected for processing (6)
.changeset/weak-lamps-refuse.md(1 hunks)eslint-plugin-prettier.js(4 hunks)package.json(1 hunks)test/fixtures/empty.json(1 hunks)test/invalid/json.txt(1 hunks)test/prettier.mjs(4 hunks)
🧰 Additional context used
🧠 Learnings (2)
test/prettier.mjs (1)
Learnt from: JounQin
PR: prettier/eslint-plugin-prettier#743
File: test/prettier.mjs:28-35
Timestamp: 2025-06-17T07:50:43.733Z
Learning: In the eslint-plugin-prettier test file, the pattern `const ESLint = eslintUnsupportedApi.FlatESLint ?? eslint.ESLint;` works correctly even though `eslint` is declared later with `var eslint;` because the hoisted declaration makes `eslint` available throughout the file, and `eslintUnsupportedApi.FlatESLint` is always truthy when this code executes, so the `eslint.ESLint` fallback is never evaluated.
eslint-plugin-prettier.js (1)
Learnt from: dotcarmen
PR: prettier/eslint-plugin-prettier#743
File: eslint-plugin-prettier.js:0-0
Timestamp: 2025-06-14T15:04:53.678Z
Learning: In the getLocFromOffset function for eslint-plugin-prettier.js, the correct implementation uses `const withSentinel = [-1, 0, ...lineIndexes]` to create an array of line start positions without variable shadowing, and calculates column as `offset - withSentinel[line]` without additional offsets.
🪛 Biome (1.9.4)
test/fixtures/empty.json
[error] 1-1: Expected an array, an object, or a literal but instead found the end of the file.
Expected an array, an object, or a literal here.
(parse)
🪛 LanguageTool
test/invalid/json.txt
[typographical] ~20-~20: Nepárový symbol: zdá sa, že chýba '"'
Context: ...[] ERRORS: [ { message: 'Replace "a":·[⏎"b",⏎{"c":⏎"d"}⏎]· with `··"a":·["b",·{·"c...
(UNPAIRED_BRACKETS)
[typographical] ~20-~20: Nepárový symbol: zdá sa, že chýba '"'
Context: ...eplace "a":·[⏎"b",⏎{"c":⏎"d"}⏎]· with ··"a":·["b",·{·"c":·"d"·}]⏎', }, ]
(UNPAIRED_BRACKETS)
[typographical] ~21-~21: Nepárový symbol: zdá sa, že chýba '{'
Context: ... with ··"a":·["b",·{·"c":·"d"·}]⏎', }, ]
(UNPAIRED_BRACKETS)
[typographical] ~21-~21: Nepárový symbol: zdá sa, že chýba '['
Context: ...th ··"a":·["b",·{·"c":·"d"·}]⏎', }, ]
(UNPAIRED_BRACKETS)
🔇 Additional comments (6)
test/fixtures/empty.json (1)
1-2: Empty fixture accepted — just confirm the newline is intentionalThe file only contains a single newline. That is fine for a negative-test fixture as long as:
- The lone newline is indeed required by the corresponding assertion in
test/prettier.mjs.- No other tests rely on this file being valid JSON (Biome’s parse error is therefore expected).
No change needed.
package.json (1)
76-78:@eslint/jsondev-dependency looks correctAdding
@eslint/json@^0.12.0aligns with the new JSON test coverage. Nothing else appears to depend on a newer API surface, so the chosen range is adequate.If you end up using any functionality introduced after 0.12.0, bump the version accordingly.
.changeset/weak-lamps-refuse.md (1)
1-6: Clear and concise ChangesetThe summary accurately reflects the functional change and follows the repo’s conventions.
test/invalid/json.txt (1)
1-23: Fixture content looks coherentThe CODE / OUTPUT / ERRORS sections are internally consistent; LanguageTool’s bracket warnings are inside string literals and can be ignored.
test/prettier.mjs (2)
406-413: RuleTester initialisation: uselanguageOptionsinstead oflanguage
RuleTester(classic) expects alanguageOptionsobject rather than a top-levellanguagekey. Relying on the non-standardlanguageproperty may break when ESLint tightens typings.- const jsonRuleTester = new RuleTester({ - plugins: { - json: eslintPluginJson, - }, - language: 'json/json', - }); + const jsonRuleTester = new RuleTester({ + plugins: { json: eslintPluginJson }, + languageOptions: { parser: null, language: 'json/json' }, + });
557-562: JSON override lacks explicit parser – may fail if plugin is absentThe override registers the
jsonplugin but omits a parser orlanguagedeclaration. If ESLint cannot infer the parser from the plugin, parsing will fallback to espree and the lint run will error.Add the parser/ language explicitly to be safe:
{ files: ['**/*.json'], plugins: { json: eslintPluginJson, }, + languageOptions: { language: 'json/json' }, },
|
@dotcarmen Thanks for your contribution! |
| datasource | package | from | to | | ---------- | ---------------------- | ----- | ----- | | npm | eslint-plugin-prettier | 5.4.0 | 5.5.0 | ## [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.0 | ## [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.1 | ## [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.1 | ## [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.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
close #312
This PR aims to support non-JS languages being linted with the
prettier/prettierruleCurrently, this plugin only runs on
Programnodes, which is typically the root node for languages that are processed into JS in ESLint. However, other eslint plugins may use a different root node type, such as@eslint/json'sDocumentnode typeThis PR expands support for other languages by making 2 changes:
Programnodes when instantiating the rule, the rule now matches the type of the root node that was parsed for the entire file.@eslint/js'sgetLocFromIndex, use a new local functiongetLocFromOffsetthat transforms a byte offset into an API-compatible location.The latter change was necessary because eg
@eslint/jsondoesn't include agetLocFromIndexmethod on itsSourceCodeclass.Important
This PR expands the
prettier/prettierESLint rule to support non-JS languages by matching the root node type and introducesgetLocFromOffsetto handle byte offsets.prettier/prettierrule to support non-JS languages by matching the root node type of the parsed file instead of onlyProgramnodes.getLocFromIndexwithgetLocFromOffsetto convert byte offsets to locations, supporting languages withoutgetLocFromIndex.getLocFromOffset()to calculate line and column from byte offset ineslint-plugin-prettier.js.reportDifference()to usegetLocFromOffset()instead ofgetLocFromIndex.[sourceCode.ast.type]instead ofProgramineslint-plugin-prettier.js.This description was created by
for ee09d11. You can customize this summary. It will automatically update as commits are pushed.
Summary by CodeRabbit