Closed OlivierZal closed 2 months ago
Hi. Thank you for your issue. Do you have the ability to create a small repository or example on Stackblitz to reproduce the problem?
Isn't the dedicated branch I've created sufficient? https://github.com/OlivierZal/melcloud-api/tree/perfectionist
Thanks, I'll try to fix the problem
Thank you for your issue!
Looks like this bug was fixed in 8c35a7dfbe9b841f86f303c4e9fd4170b47c9c0b and released in v3.0.0.
If you'd like, you can support the release with a retweet: https://x.com/azat_io_en/status/1815367279191761054
Hi @azat-io, thanks a lot, I confirm that now it works.
I don't have X but I'll try to promote your project in other ways 😀
Describe the bug
Hi @azat-io,
Autofix leads to unexpected code replacements, which does not seem directly related to configured rules.
3 video examples:
https://github.com/azat-io/eslint-plugin-perfectionist/assets/88216225/bbf85a6c-3b5b-4efd-9a7e-ccac39ee418c
https://github.com/azat-io/eslint-plugin-perfectionist/assets/88216225/9e190438-e6a8-4a0b-91b2-94b252863db4
https://github.com/azat-io/eslint-plugin-perfectionist/assets/88216225/df205387-b445-4acf-a391-5bcac83edc04
Code example
See attached videos + the branch I've created for debug: https://github.com/OlivierZal/melcloud-api/tree/perfectionist
Eslint config: I use the recommended-natural config with the custom following:
Here's the full config:
ESLint version
v9.5.0
ESLint Plugin Perfectionist version
v2.11.0
Additional comments
No response
Validations