-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
add eslint@9 support and flat config #3942
Conversation
🦋 Changeset detectedLatest commit: 0d03c33 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 |
I'm sorry, I accidentally clicked the button and removed the Draft mode |
@iChenLei moved to draft to add changeset; already done upd: no, still a draft, I'll try to fix the tests in CI. |
I think that's all 🙌 |
There is a preview directory, that provides "live" (you need to reload window in between changes) IDE preview . This is super useful when developing a rule (if you know of better way, let me know). Since you removed |
Wow! I didn't realize this was used during rules developing. This looks nice!
In fact, I see a flaw in this way. It is essentially a manual way of testing. It can be really convenient during development, but at the end of development, all preview examples (in a good way) should be copied to test cases. However, this can be forgotten, and all this is code duplication (what is bad). Usually I've seen a simpler way - development through test cases in observation mode. I can add something like "test:watch" to the scripts. It's not as convenient, but it just works and doesn't require a "preview" dir at all.
Yes, that's true, at least for JetBrains IDE. I didn't take that into account either. Option 1: remove "preview" folder for development and switch to tests and Option 2: configure Option 3: configure Your opinion? |
Let me aswer with some rhetorical questions:
I am fine with both 2/3 as long as it works in vscode :D Your call. |
yes, these are good questions. I rollback eslint@7 as dev deps, now it should work as before. |
Thank you for looking into it. Much appreciated. |
Code change checklist
/docs
. For new functionality, at leastAPI.md
should be updatedyarn mobx test:performance
)Closed #3856