-
Notifications
You must be signed in to change notification settings - Fork 10
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
Breaking change between 2.2.6 and 2.2.8 #196
Comments
Well that wasn't supposed to happen. :( Can you try to submit a reproduction? Either as an eslint test or reproduction smoke test? |
I'm trying, but I can't reproduce it as an ESLint test or reproduction smoke test. I'm trying to debug it, I can see that
Perhaps it has something to do with that? |
Oh! That could certainly be it! I refactored that stuff |
I was able to reproduce the issue by removing this line from the smoke test: eslint-plugin-decorator-position/smoke-tests/integration/external-config-prettier/.prettierrc.js Line 3 in 74f5b36
|
Excellent find! I can get a fix pr up today, if you don't want to |
In my ESLint config I use
I'm struggling to figure out your development flow, can't really figure out how to use the smoke tests and whatnot. So, I would appreciate it if you fixed it :) |
awesome! and thanks for the feedback. I'll try to make the CONTRIBUTING.md useful |
issue introduced in #195. was causing inline decorators to move to the line above because `Number(undefined)` is 0, and having a printWidth of 0 breaks all sorts of formatting.
issue introduced in #195. was causing inline decorators to move to the line above because `Number(undefined)` is 0, and having a printWidth of 0 breaks all sorts of formatting.
🎉 This issue has been resolved in version 2.2.9 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Now eslint-plugin-decorator-position with default settings suddenly wants property decorators to be on the line above: https://github.com/EvgenyOrekhov/eslint-config-hardcore/blob/cf5c68bf2e2a0e9e5d853266461cde3d3d160b71/sort-class-members-test.js#L33
See EvgenyOrekhov/eslint-config-hardcore#172.
The text was updated successfully, but these errors were encountered: