-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Setup custom eslint plugin #5553
Conversation
If you're adding this and it's supposed to be a part of our public API you should also acknowledge it in the docs. |
@tjzel Yes, but we probably should publish it before adding documentation and we also shouldn't make this PR too big. |
Why though? If it's tested sufficiently then I see no reason to add the docs immediately. Also change in the docs is independent of the code you already made, that's not really bloating this PR. |
@tjzel |
Ah, then nvm my rant 😅 🤯 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add the tests and correct some minor things and we should be good to go!
Co-authored-by: Tomasz Żelawski <40713406+tjzel@users.noreply.github.com>
__tests__/eslintPlugin/noAnimatedStyleToNonAnimatedComponent.test.tsx
Outdated
Show resolved
Hide resolved
@tjzel |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Finally! 😻
e3b15f7
to
689d160
Compare
## Summary With #5553 were merged unnecessary changes in `app/yarn.lock`. Cause: `esbuild` from `eslintPlugin/package.json` was moved from `dependency` to `devDependency` without regeneration of `app/package.json`
Summary
Setup custom eslint plugi with one rule - no animated style in non animated component. This rule is turned on in example app.
Test plan