Skip to content
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

V5 Planned Changes #230

Closed
bmish opened this issue Nov 29, 2021 · 10 comments
Closed

V5 Planned Changes #230

bmish opened this issue Nov 29, 2021 · 10 comments
Labels
BREAKING CHANGE This change will require a major version bump

Comments

@bmish
Copy link
Member

bmish commented Nov 29, 2021

Starting a list of my desired breaking changes, feedback welcome. Likely this release won't happen until 2022-05 or 2022-06 when we can drop Node 12/17 support, unless we come up with additional breaking changes we want to release sooner.

Breaking changes for v5:

Future major version (v6 or later):

  • Convert package to ESM or TypeScript?

For reference, V4 was release 2021-10 (CHANGELOG, discussion in #120).

@dimaMachina
Copy link

Convert to Typescript is better 🙂

@aladdin-add
Copy link
Contributor

the plugin has supported ts. is there something stopping linting ts code?

@dimaMachina
Copy link

I wanted to say convert package to ts

@aladdin-add
Copy link
Contributor

I did not see why devs will import the plugin, so converting to ts seems not compelling to me.

@bmish
Copy link
Member Author

bmish commented Dec 14, 2021

I'm supportive of converting this package to both ESM and TypeScript. Both would improve the internal developer experience (TypeScript especially is great for safely traversing the AST).

Neither of these would really affect consumers since I don't think developers import any utils from this plugin (and they will be prevented from doing so once we add "exports": "./lib/index.js" unless we decide to specifically expose something).

@G-Rath
Copy link
Contributor

G-Rath commented May 1, 2022

@bmish I'm happy to help out with that if you like (I've converted a few plugins to TypeScript now, including eslint-plugin-jest).

@bmish
Copy link
Member Author

bmish commented Jul 7, 2022

@aladdin-add status update:

  • I've opened up PRs for all the breaking changes for v5
  • I think we should consider any conversion to ESM/TypeScript in the future and not in this major release since we already have enough changes
  • I believe this is ready to ship

@aladdin-add
Copy link
Contributor

should we wait for the eslint v9 to be released, to see if need some more breaking changes?

@bmish
Copy link
Member Author

bmish commented Jul 8, 2022

@aladdin-add unless we have a specific need to wait, I recommend releasing now, and here's why:

  • ESLint v8 wasn't released until October, so ESLint v9 could be several months away still. If we do end up wanting to make any more changes for ESLint v9, those might just be bug fixes and not necessarily breaking changes. And any such changes would require additional implementation time, further delaying the release.
  • Based on the current planned changes for ESLint v9, I don't immediately see anything necessitating a change.
  • Releasing would provide users with a version that is fully optimized for ESLint v8.
  • Releasing allows us to begin taking advantage of Node 14 features in our PRs.
  • The sooner we release, the sooner we begin to receive feedback on the new recommended rules.
  • We already have a sizable set of breaking changes lined up, and these releases become unwieldy when the change list grows too big.
  • We can perform another release in Q4 if we've gathered worthwhile changes by then.

@aladdin-add
Copy link
Contributor

closing, as v5 has been released: https://github.com/not-an-aardvark/eslint-plugin-eslint-plugin/releases/tag/v5.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BREAKING CHANGE This change will require a major version bump
Projects
None yet
Development

No branches or pull requests

4 participants