-
Notifications
You must be signed in to change notification settings - Fork 0
build(deps): update typescript-xo (major) #555
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
Open
renovate
wants to merge
1
commit into
master
Choose a base branch
from
renovate/major-typescript-xo
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
09e5fca to
60cc790
Compare
60cc790 to
7a52ace
Compare
7a52ace to
efd941f
Compare
c1e857a to
8d4a80a
Compare
8d4a80a to
7f5672b
Compare
7f5672b to
0f464ae
Compare
0f464ae to
a12395a
Compare
a12395a to
9a3e5bd
Compare
fbec3b0 to
98af7d5
Compare
98af7d5 to
05b7b4e
Compare
05b7b4e to
b596627
Compare
b596627 to
e780f52
Compare
a17164a to
8f80e37
Compare
a72c8b2 to
bb9970e
Compare
cd918c8 to
431a104
Compare
431a104 to
09aab13
Compare
09aab13 to
ec90c65
Compare
ec90c65 to
e07b378
Compare
e07b378 to
82e14a7
Compare
21d89e2 to
38280ea
Compare
7ba5f2d to
1b299e0
Compare
92c2768 to
3754336
Compare
3754336 to
444e4b7
Compare
444e4b7 to
1806aa2
Compare
c560a07 to
55c61cd
Compare
55c61cd to
a43785e
Compare
a43785e to
cc282aa
Compare
cc282aa to
3697850
Compare
3697850 to
b6adeb9
Compare
587d025 to
46f048b
Compare
46f048b to
07d2a92
Compare
5d3629d to
2034e85
Compare
7d5ac18 to
0580be8
Compare
0580be8 to
b444ff4
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
5.1.0→6.0.04.0.0→5.5.52.6.2→3.8.14.7.3→5.9.30.49.0→1.2.3Release Notes
jonahsnider/xo-config (@jonahsnider/xo-config)
v6.0.0Compare Source
⚠ BREAKING CHANGES
Features
v5.3.0Compare Source
Features
default-caserule (663ded9)v5.2.0Compare Source
Features
@typescript-eslint/consistent-generic-constructorsrule (76a2c10)prettier/eslint-plugin-prettier (eslint-plugin-prettier)
v5.5.5Compare Source
Patch Changes
#772
7264ed0Thanks @BPScott! - Bump prettier-linter-helpers dependency to v1.0.1#776
77651a3Thanks @aswils! - fix: bump synckit for yarn PnP ESM issuev5.5.4Compare Source
Patch Changes
#755
723f7a8Thanks @kbrilla! - fix: add 'oxc', 'oxc-ts' and 'hermes' parsers toparserBlocklist#751
cf52b30Thanks @andreww2012! - fix: disallow extra properties in rule optionsv5.5.3Compare Source
republish the latest version
Full Changelog: prettier/eslint-plugin-prettier@v5.5.2...v5.5.3
v5.5.2Compare Source
republish the latest version
Full Changelog: prettier/eslint-plugin-prettier@v5.5.1...v5.5.2
v5.5.1Compare Source
Patch Changes
bfd1e95Thanks @JounQin! - fix: useprettierRcOptionsdirectly for prettier 3.6+v5.5.0Compare Source
Minor Changes
92f2c9cThanks @dotcarmen! - feat: support non-js languages likecssfor@eslint/cssandjsonfor@eslint/jsonv5.4.1Compare Source
Patch Changes
c21521fThanks @JounQin! - fix(deps): bumpsynckitto v0.11.7 to fix potentialTypeError: Cannot read properties of undefined (reading 'message')errorv5.4.0Compare Source
Minor Changes
59a0caeThanks @yashtech00! - refactor: migrateworker.jstoworker.mjsv5.3.1Compare Source
Patch Changes
dcf2c80Thanks @JounQin! - ci: enableNPM_CONFIG_PROVENANCEenvv5.3.0Compare Source
Minor Changes
6fe0c90Thanks @irsooti! - feat(types): preferConfigoverFlatConfigwhen they're equalv5.2.6Compare Source
Patch Changes
1451176Thanks @renovate! - fix(deps): bumpsynckittov0.11.0v5.2.5Compare Source
Patch Changes
4f5513dThanks @JounQin! - fix: clarify correcteslint-config-prettierpeer rangev5.2.4Compare Source
Patch Changes
b8cfe56Thanks @JounQin! - chore: hourcekeeping, bump all (dev) depsv5.2.3Compare Source
Patch Changes
9c6141fThanks @BPScott! - Add name field to recommended flat configv5.2.2Compare Source
Patch Changes
aa5b59fThanks @ntnyq! - fix: report node when loc not foundv5.2.1Compare Source
Patch Changes
ac036ccThanks @OrlovAlexei! - build(deps): Bump synckit from 0.8.6 to 0.9.1v5.1.3Compare Source
Patch Changes
985b33cThanks @JounQin! - chore: addpackage.jsonintoexportsmapv5.1.2Compare Source
Patch Changes
#623
8210e44Thanks @BPScott! - Add exports mapping to package.json, to allowimport 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
2b09e7fThanks @JounQin! - feat: support parsingmarkdownviaeslint-mdxnativelyWhat means the following is unnecessary anymore when using with
eslint-mdx/eslint-plugin-mdx!v5.1.1Compare Source
Patch Changes
b5c0dc5Thanks @JounQin! - chore: skip formatting inline scripts in pug filesv5.1.0Compare Source
Minor Changes
#616
3856413Thanks @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 ofeslint-config-prettier.Patch Changes
#614
5270877Thanks @BPScott! - Add meta block to plugin. This improves debugging and cachebusting when using the new flat config#603
a63a570Thanks @filiptammergard! - fix: specifyeslint-config-prettieras peer dependencyIt's already added to
peerDependenciesMetaas optional, which means it should also be specified inpeerDependencies.v5.0.1Compare Source
Patch Changes
21a7146Thanks @krist7599555! - fix:parserPathtype might beundefinedon Eslint Falt Configv5.0.0Compare Source
Major Changes
#508
910aeb6Thanks @JounQin! - feat!: bump peer eslint to ">=8.0.0" and node to "^14.18.0 || >=16.0.0"#508
910aeb6Thanks @JounQin! - feat!: upgrade to prettier v3Minor Changes
910aeb6Thanks @JounQin! - feat: add typings supportPatch Changes
#548
82a3db8Thanks @fisker! - fix: add missing dependencysynckit#564
ae7a73cThanks @auvred! - fix: compatibility with prettier@3 without pluginsv4.2.5Compare Source
republish the v4 version
Full Changelog: prettier/eslint-plugin-prettier@v4.2.4...v4.2.5
v4.2.4Compare Source
republish the v4 version
Full Changelog: prettier/eslint-plugin-prettier@v4.2.1...v4.2.4
v4.2.1Compare Source
Patch Changes
5736ed5Thanks @JounQin! - chore: reuse prettierRcOptions instead of resolveConfig againv4.2.0Compare Source
Minor Changes
#483
7bd70b6Thanks @JounQin! - feat: support svelte out of boxclose #472, close #482
We recommend to use
eslint-plugin-svelteinstead ofeslint-plugin-svelte3.v4.1.0Compare Source
stylelint-prettier(#415) (52eec48)prettier/prettier (prettier)
v3.8.1Compare Source
v3.8.0Compare Source
diff
🔗 Release note
v3.7.4Compare Source
diff
LWC: Avoid quote around interpolations (#18383 by @kovsu)
TypeScript: Fix comment inside union type gets duplicated (#18393 by @fisker)
TypeScript: Fix unstable comment print in union type comments (#18395 by @fisker)
v3.7.3Compare Source
diff
API: Fix
prettier.getFileInfo()change that breaks VSCode extension (#18375 by @fisker)An internal refactor accidentally broke the VSCode extension plugin loading.
v3.7.2Compare Source
diff
JavaScript: Fix string print when switching quotes (#18351 by @fisker)
JavaScript: Preserve quote for embedded HTML attribute values (#18352 by @kovsu)
TypeScript: Fix comment in empty type literal (#18364 by @fisker)
v3.7.1Compare Source
diff
API: Fix performance regression in doc printer (#18342 by @fisker)
Prettier 3.7.1 can be very slow when formatting big files, the regression has been fixed.
v3.7.0Compare Source
diff
🔗 Release Notes
v3.6.2Compare Source
diff
Markdown: Add missing blank line around code block (#17675 by @fisker)
v3.6.1Compare Source
diff
TypeScript: Allow const without initializer (#17650, #17654 by @fisker)
Miscellaneous: Avoid closing files multiple times (#17665 by @43081j)
When reading a file to infer the interpreter from a shebang, we use the
n-readlineslibrary to read the first line in order to get the shebang.This library closes files when it reaches EOF, and we later try close the same
files again. We now close files only if
n-readlinesdid not already closethem.
v3.6.0Compare Source
diff
🔗 Release Notes
v3.5.3Compare Source
diff
Flow: Fix missing parentheses in
ConditionalTypeAnnotation(#17196 by @fisker)v3.5.2Compare Source
diff
Remove
module-synccondition (#17156 by @fisker)In Prettier 3.5.0, we added
module-synccondition topackage.json, so thatrequire("prettier")can use ESM version, but turns out it doesn't work if CommonJS and ESM plugins both imports builtin plugins. To solve this problem, we decide simply remove themodule-synccondition, sorequire("prettier")will still use the CommonJS version, we'll revisit untilrequire(ESM)feature is more stable.v3.5.1Compare Source
diff
Fix CLI crash when cache for old version exists (#17100 by @sosukesuzuki)
Prettier 3.5 uses a different cache format than previous versions, Prettier 3.5.0 crashes when reading existing cache file, Prettier 3.5.1 fixed the problem.
Support dockercompose and github-actions-workflow in VSCode (#17101 by @remcohaszing)
Prettier now supports the
dockercomposeandgithub-actions-workflowlanguages in Visual Studio Code.v3.5.0Compare Source
diff
🔗 Release Notes
v3.4.2Compare Source
diff
Treat U+30A0 & U+30FB in Katakana Block as CJK (#16796 by @tats-u)
Prettier doesn't treat U+30A0 & U+30FB as Japanese. U+30FB is commonly used in Japanese to represent the delimitation of first and last names of non-Japanese people or “and”. The following “C言語・C++・Go・Rust” means “C language & C++ & Go & Rust” in Japanese.
U+30A0 can be used as the replacement of the
-in non-Japanese names (e.g. “Saint-Saëns” (Charles Camille Saint-Saëns) can be represented as “サン゠サーンス” in Japanese), but substituted by ASCII hyphen (U+002D) or U+FF1D (full width hyphen) in many cases (e.g. “サン=サーンス” or “サン=サーンス”).Fix comments print on class methods with decorators (#16891 by @fisker)
Fix non-idempotent formatting (#16899 by @seiyab)
This bug fix is not language-specific. You may see similar change in any languages. This fixes regression in 3.4.0 so change caused by it should yield same formatting as 3.3.3.
v3.4.1Compare Source
diff
Remove unnecessary parentheses around assignment in
v-on(#16887 by @fisker)v3.4.0Compare Source
diff
🔗 Release Notes
v3.3.3Compare Source
diff
Add parentheses for nullish coalescing in ternary (#16391 by @cdignam-segment)
This change adds clarity to operator precedence.
Add parentheses for decorator expressions (#16458 by @y-schneider)
Prevent parentheses around member expressions or tagged template literals from being removed to follow the stricter parsing rules of TypeScript 5.5.
Support
@letdeclaration syntax (#16474 by @sosukesuzuki)Adds support for Angular v18
@letdeclaration syntax.Please see the following code example. The
@letdeclaration allows you to define local variables within the template:For more details, please refer to the excellent blog post by the Angular Team: Introducing @let in Angular.
We also appreciate the Angular Team for kindly answering our questions to implement this feature.
v3.3.2Compare Source
diff
Fix handlebars path expressions starts with
@(#16358 by @Princeyadav05)v3.3.1Compare Source
diff
Preserve empty lines in front matter (#16347 by @fisker)
Preserve explicit language in front matter (#16348 by @fisker)
Avoid line breaks in import attributes (#16349 by @fisker)
v3.3.0Compare Source
diff
🔗 Release Notes
v3.2.5Compare Source
diff
Support Angular inline styles as single template literal (#15968 by @sosukesuzuki)
Angular v17 supports single string inline styles.
Unexpected embedded formatting for Angular template (#15969 by @JounQin)
Computed template should not be considered as Angular component template
Use
"json"parser fortsconfig.jsonby default (#16012 by @sosukesuzuki)In v3.2.0, we introduced
"jsonc"parser which adds trailing comma by default.When adding a new parser we also define how it will be used based on the
linguist-languagesdata.tsconfig.jsonis a special file used by TypeScript, it uses.jsonfile extension, but it actually uses the JSON with Comments syntax. However, we found that there are many third-party tools not recognize it correctly because of the confusing.jsonfile extension.We decide to treat it as a JSON file for now to avoid the extra configuration step.
To keep using the
"jsonc"parser for yourtsconfig.jsonfiles, add the following to your.prettierrcfile{ "overrides": [ { "files": ["tsconfig.json", "jsconfig.json"], "options": { "parser": "jsonc" } } ] }v3.2.4Compare Source
prettier --file-info tsconfig.json
{ "ignored": false, "inferredParser": "jsonc" }
v3.2.3Compare Source
diff
Throw errors for invalid code (#15881 by @fisker, @Josh-Cena, @auvred)
Fix parser inference (#15927 by @fisker)
v3.2.2Compare Source
diff
Fix crash when parsing template literal CSS in a JSX style tag using a spread attribute (#15896 by @eelco)
For example this code would crash before:
Fix formatting error on optional call expression and member chain (#15920 by @sosukesuzuki)
v3.2.1Compare Source
diff
Fix formatting error on member chain (#15915 by @sosukesuzuki)
v3.2.0Compare Source
diff
🔗 Release Notes
v3.1.1Compare Source
diff
Fix config file search (#15363 by @fisker)
Previously, we start search for config files from the filePath as a directory, if it happened to be a directory and contains config file, it will be used by mistake.
Skip explicitly passed symbolic links with
--no-error-on-unmatched-pattern(#15533 by @sanmai-NL)Since Prettier v3, we stopped following symbolic links, however in some use cases, the symbolic link patterns can't be filtered out, and there is no way to prevent Prettier from throwing errors.
In Prettier 3.1.1, you can use
--no-error-on-unmatched-patternto simply skip symbolic links.Consistently use tabs in ternaries when
useTabsistrue(#15662 by @auvred)Improve config file search (#15663 by @fisker)
The Prettier config file search performance has been improved by more effective cache strategy.
Fix unstable and ugly formatting for comments in destructuring patterns (#15708 by @sosukesuzuki)
Support "Import Attributes" (#15718 by @fisker)
TypeScript 5.3 supports the latest updates to the import attributes proposal.
Fix false claim in docs that cursorOffset is incompatible with rangeStart/rangeEnd (#15750 by @ExplodingCabbage)
The cursorOffset option has in fact been compatible with rangeStart/rangeEnd for over 5 years, thanks to work by @ds300. However, Prettier's documentation (including the CLI
--helptext) continued to claim otherwise, falsely. The documentation is now fixed.Keep curly braces and
fromkeyword in emptyimportstatements (#15756 by @fisker)Keep empty import attributes and assertions (#15757 by @fisker)
v3.1.0Compare Source
diff
🔗 Release Notes
v3.0.3Compare Source
diff
Add
preferUnplugged: truetopackage.json(#15169 by @fisker and @so1ve)Prettier v3 uses dynamic imports, user will need to unplug Prettier when Yarn's PnP mode is enabled, add
preferUnplugged: truetopackage.json, so Yarn will install Prettier as unplug by default.Support shared config that forbids
require()(#15233 by @fisker)If an external shared config package is used, and the package
exportsdon't haverequireordefaultexport.In Prettier 3.0.2 Prettier fails when attempt to
require()the package, and throws an error.Allow argument of
require()to break (#15256 by @fisker)Do not print trailing commas in arrow function type parameter lists in
tscode blocks ([#15286Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.