Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

docs: add v6 upgrade blog post#6515

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

JoshuaKGoldberg
Copy link
Member

@JoshuaKGoldbergJoshuaKGoldberg commentedFeb 22, 2023
edited
Loading

PR Checklist

Overview

Announces the v6 beta, including:

  • A brief intro on the project and the leadup to v6
  • Steps to set it up (mostly pointing togetting started & configuration docs)
  • Lists of user-facing changes, especially breaking changes
  • Lists of developer-facing changes, especially breaking changes
  • Acknowledgements

fisker, dimaMachina, and andriyor reacted with thumbs up emoji
@typescript-eslint
Copy link
Contributor

Thanks for the PR,@JoshuaKGoldberg!

typescript-eslint is a 100% community driven project, and we are incredibly grateful that you are contributing to that community.

The core maintainers work on this in their personal time, so please understand that it may not be possible for them to review your work immediately.

Thanks again!


🙏Please, if you or your company is finding typescript-eslint valuable, help us sustain the project by sponsoring it transparently onhttps://opencollective.com/typescript-eslint.

@nx-cloud
Copy link

nx-cloudbot commentedFeb 22, 2023
edited
Loading

☁️ Nx Cloud Report

CI is running/has finished running commands for commit183cc47. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this branch


✅ Successfully ran 46 targets

Sent with 💌 fromNxCloud.

@netlify
Copy link

netlifybot commentedFeb 22, 2023
edited
Loading

Deploy Preview fortypescript-eslint ready!

NameLink
🔨 Latest commitbf95384
🔍 Latest deploy loghttps://app.netlify.com/sites/typescript-eslint/deploys/640f75c93a32590008474c1b
😎 Deploy Previewhttps://deploy-preview-6515--typescript-eslint.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to yourNetlify site settings.

@JoshuaKGoldbergJoshuaKGoldberg marked this pull request as ready for reviewFebruary 24, 2023 02:37
@JoshuaKGoldbergJoshuaKGoldberg requested a review froma teamFebruary 24, 2023 02:37
@JamesHenry

This comment was marked as resolved.

@JoshuaKGoldberg

This comment was marked as resolved.

@JoshuaKGoldbergJoshuaKGoldberg added this to the6.0.0 milestoneFeb 25, 2023
JamesHenry
JamesHenry previously approved these changesMar 13, 2023
Copy link
Member

@JamesHenryJamesHenry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Beautiful 🎉

@nx-cloud
Copy link

nx-cloudbot commentedMar 13, 2023
edited
Loading

☁️ Nx Cloud Report

CI is running/has finished running commands for commitbf95384. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this branch


✅ Successfully ran 25 targets

Sent with 💌 fromNxCloud.

@codecov
Copy link

codecovbot commentedMar 13, 2023
edited
Loading

Codecov Report

Merging#6515 (bf95384) intomain (8581031) willdecrease coverage by5.51%.
The diff coverage isn/a.

Additional details and impacted files
@@            Coverage Diff             @@##             main    #6515      +/-   ##==========================================- Coverage   90.67%   85.16%   -5.51%==========================================  Files         376      383       +7       Lines       12849    13025     +176       Branches     3783     3839      +56     ==========================================- Hits        11651    11093     -558- Misses        854     1570     +716- Partials      344      362      +18
FlagCoverage Δ
unittest85.16% <ø> (-5.51%)⬇️

Flags with carried forward coverage won't be shown.Click here to find out more.

see 28 files with indirect coverage changes

@JoshuaKGoldbergJoshuaKGoldberg merged commitcea05c8 intotypescript-eslint:mainMar 13, 2023
@JoshuaKGoldbergJoshuaKGoldberg deleted the v6-upgrading-to-typescript-eslint-post branchMarch 13, 2023 19:19
- `@typescript-eslint/no-parameter-properties`
- `@typescript-eslint/sort-type-union-intersection-members`
- [feat(eslint-plugin): [prefer-nullish-coalescing]: add support for assignment expressions](https://github.com/typescript-eslint/typescript-eslint/pull/5234): Enhances the [`@typescript-eslint/prefer-nullish-coalescing`](https://typescript-eslint.io/prefer-nullish-coalescing) rule to also check `||=` expressions.
- [fix(eslint-plugin): [prefer-function-type] check for merges with type checking](https://github.com/typescript-eslint/typescript-eslint/pull/6104): Fixes edge case bugs in the [`@typescript-eslint/prefer-function-type`](https://typescript-eslint.io/prefer-function-type) rule around function type merges, at the cost of making it require type information.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

We didn't end up shipping this change!

Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Whoops!


- [feat: remove semantically invalid properties from TSEnumDeclaration, TSInterfaceDeclaration and TSModuleDeclaration](https://github.com/typescript-eslint/typescript-eslint/pull/4863): Removes some properties from those AST node types that should generally not have existed to begin with.
- [fix(utils): removed TRuleListener generic from the createRule](https://github.com/typescript-eslint/typescript-eslint/pull/5036): Makes `createRule`-created rules more portable in the type system.
- [feat(utils): remove (ts-)eslint-scope types](https://github.com/typescript-eslint/typescript-eslint/pull/5256): Removes no-longer-useful `TSESLintScope` types from the `@typescript-eslint/utils` package.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Might be good to mention that the alternative is to use@typescript-eslint/scope-manager

JoshuaKGoldberg reacted with thumbs up emoji
- ⏳ [Enhancement: Add test-only console warnings to deprecated AST properties](https://github.com/typescript-eslint/typescript-eslint/issues/6469): The properties will include a `console.log` that triggers only in test environments, to encourage developers to move off of them.
- [feat(scope-manager): ignore ECMA version](https://github.com/typescript-eslint/typescript-eslint/pull/5889): `@typescript-eslint/scope-manager` no longer includes properties referring to `ecmaVersion`, `isES6`, or other ECMA versioning options. It instead now always assumes ESNext.
- [feat: remove partial type-information program](https://github.com/typescript-eslint/typescript-eslint/pull/6066): When user configurations don't provide a `parserOptions.project`, parser services will no longer include a `program` with incomplete type information. `program` will be `null` instead.
- [feat(experimental-utils): console.warn on import of experimental-utils](https://github.com/typescript-eslint/typescript-eslint/pull/6179): The `@typescript-eslint/experimental-utils` package has since been renamed to `@typescript-eslint/utils`. The old package name now includes a `console.warn` message to indicate you should switch to the new package name.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

We unshipped this by deleting the package entirely!

JoshuaKGoldberg reacted with thumbs up emoji

For example, a typical project that enables typed linting might have an ESLint configuration file like:

```js title=".eslintrc.cjs"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

It might be good to use the "remove this line", "add this line" syntax to highlight the necessary changes - WDYT?

Copy link
MemberAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

I dig it!

@github-actionsgithub-actionsbot locked asresolvedand limited conversation to collaboratorsMar 22, 2023
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@bradzacherbradzacherbradzacher left review comments

@JamesHenryJamesHenryJamesHenry left review comments

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
6.0.0
Development

Successfully merging this pull request may close these issues.

Docs: Blog post describing changes & migration strategy for v5->v6
3 participants
@JoshuaKGoldberg@JamesHenry@bradzacher

[8]ページ先頭

©2009-2025 Movatter.jp